Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
Fixed: never rendering index.html correctly
  • Loading branch information
Koichi MATSUMOTO committed Sep 27, 2019
1 parent fa40ec7 commit 241dea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/index.html
Original file line number Diff line number Diff line change
@@ -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" }}
Expand Down

0 comments on commit 241dea8

Please # to comment.