Hey there, Ive got a problem.
I need to output some of my Summary html from the entries to the page list.html.
The code that generates summary:
{{ $paginator := .Paginate (.Pages.ByDate.Reverse) }}
{{ range $paginator.Pages}}
{{ .Render “summary”}}
{{ end }}
In order to specify what exactly I want in the summary Iv found the following:
https://gohugo.io/content-management/formats/Lets suggest that iv created an article and im writing the following code:
---
<p>
teg1
</p>
<p>
teg2
</p>
<!--more-->
{{< gist IzyI 2ff9806e09904641859a277071d8eb02 >}}
<p>
teg3
</p>
<p>
teg4
</p>
But if I write the code in my articles, the shotcodes in archetypes templates stop working and delete the first pert of the article.
At the same time summary in list.html template is still correct