jakubb-hugo/layouts/index.html

13 lines
271 B
HTML
Raw Permalink Normal View History

2024-01-29 04:53:34 +00:00
{{ partial "header.html" . }}
{{ .Content }}
<h2>Recent Posts</h2>
<ul>
{{ range first 5 (where site.RegularPages "Type" "in" site.Params.mainSections).ByTitle }}
<li><a href="{{ .RelPermalink }}">{{ .Title}}</a></li>
{{ end }}
</ul>
{{ partial "footer.html" . }}