Add dysfunctional post hider
This commit is contained in:
parent
040284abf2
commit
ce25ef91c6
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ $pagination := .Paginator }}
|
{{ $pagination := .Paginate (where .Site.RegularPages "Params.hidden" "!=" true) }}
|
||||||
{{ partial "pagination.html" $pagination }}
|
{{ partial "pagination.html" $pagination }}
|
||||||
{{ if eq $pagination.PageNumber 1 }}
|
{{ if eq $pagination.PageNumber 1 }}
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
|
|
Reference in a new issue