Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/surajmandalcell/potato-dark.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuraj Mandal <surajmandalcell@gmail.com>2019-09-27 22:41:27 +0300
committerGitHub <noreply@github.com>2019-09-27 22:41:27 +0300
commitc7ad32cbb838e475a8d3ea169345d46dd5d42f01 (patch)
treedb39f8a1d27798ae0e23e2ea9d45fee13cfbdfa8
parent8aa2a68ac853b40e905a0f848a413e84c2fbbc25 (diff)
parent241dea801d992328753eda8c6e40505c26fb43ea (diff)
Merge pull request #7 from mzch/master
Update index.html
-rw-r--r--layouts/index.html2
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" }}