WIP
This commit is contained in:
parent
bce789de7b
commit
a324ba7b64
11 changed files with 63 additions and 6 deletions
|
|
@ -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 }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue