Casual_blog/themes/anubis2/layouts/index.html_bak
2024-05-07 13:04:15 +03:00

16 lines
414 B
Plaintext

{{ define "main" }}
<div class="homepage-content">
{{ .Content }}
</div>
<div class="articles h-feed">
{{ $pages := where (where site.RegularPages "Type" "in" site.Params.mainSections) "Params.hidden" "!=" true }}
{{ range .Site.RegularPages }}
{{ partial "post-summary.html" . }}
{{ end }}
{{ partial "pagination.html" . }}
</div>
{{ end }}