mirror of
https://git.adityakumar.xyz/hugo-theme-even.git
synced 2024-11-08 14:39:44 +00:00
parent
fd1b8d7bc8
commit
5a3e5599d2
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
{{- define "content" -}}
|
||||
<section id="posts" class="posts">
|
||||
{{/* (index .Site.Paginate) */}}
|
||||
{{- $paginator := .Paginate (where (where .Data.Pages "Type" "post") ".Params.hiddenfromhomepage" "!=" true) }}
|
||||
{{- $paginator := .Paginate (where (where .Site.RegularPages "Type" "post") ".Params.hiddenfromhomepage" "!=" true) }}
|
||||
{{- range $paginator.Pages -}}
|
||||
{{ .Render "summary" }}
|
||||
{{ end -}}
|
||||
|
|
Loading…
Reference in a new issue