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