diff options
author | Suraj Mandal <surajmandalcell@gmail.com> | 2019-09-27 22:41:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-27 22:41:27 +0300 |
commit | c7ad32cbb838e475a8d3ea169345d46dd5d42f01 (patch) | |
tree | db39f8a1d27798ae0e23e2ea9d45fee13cfbdfa8 | |
parent | 8aa2a68ac853b40e905a0f848a413e84c2fbbc25 (diff) | |
parent | 241dea801d992328753eda8c6e40505c26fb43ea (diff) |
Merge pull request #7 from mzch/master
Update index.html
-rw-r--r-- | layouts/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html index 2b01420..649bf62 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,5 +1,5 @@ {{ partial "header.html" . }} -{{ range $index, $page := (.Paginate (where (where .Data.Pages "Type" "posts") ".Params.hidden" "!=" "true" )).Pages }} +{{ range $index, $page := (.Paginate (where (where site.RegularPages "Type" "posts") ".Params.hidden" "ne" "true" )).Pages }} {{ if ne $index 0 }} {{ end }} {{ .Render "li" }} |