This commit is contained in:
jaseg 2025-06-30 14:48:34 +02:00
parent bce789de7b
commit a324ba7b64
11 changed files with 63 additions and 6 deletions

View file

@ -9,17 +9,17 @@
</div>
{{- end }}
{{- range $config := site.Params.homepage_categories }}
{{ range $config := site.Params.homepage_categories }}
<h2>{{ .title }}</h2>
{{- range $entry := first $config.count (where site.RegularPages "Section" "==" $config.key) }}
{{ range $entry := first $config.count (where site.RegularPages "Section" "==" $config.key) }}
{{ partial "card.html" $entry }}
{{- end }}
{{ end }}
<div class="pagination-links">
{{- with site.GetPage (printf "/%s" .key) }}
{{ with site.GetPage (printf "/%s" .key) }}
<a href="{{ .RelPermalink }}">See more<span class="arrow-right"></span></a>
{{- end }}
{{ end }}
</div>
{{- end }}
{{ end }}
</main>
{{- end }}