vanilla-hugo/layouts/index.html
Danila Fedorin 8b8d3c7fd0 Implement collapsing consecutive posts in a series
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2024-11-25 19:15:07 -08:00

13 lines
290 B
HTML

{{ define "main" }}
{{ .Content }}
{{ i18n "recentPosts" }}:
{{ partial "uniquebyseries.html" (dict "scratch" .Scratch) }}
<ul class="post-list">
{{ range first 10 (.Scratch.Get "pages") }}
{{ partial "post.html" (dict "page" . "linkSeries" true) }}
{{ end }}
</ul>
{{ end }}