diff options
author | Joseph Lozano <joseph@joseph-lozano.com> | 2020-07-30 03:39:55 +0300 |
---|---|---|
committer | Joseph Lozano <joseph@joseph-lozano.com> | 2020-07-30 03:39:55 +0300 |
commit | d5924ca25bcf05ba91651adcebcba10a7c430971 (patch) | |
tree | e76f3fa7449e7075fe9f219791b083fd2fa0a79b | |
parent | a7352c4e715e9ea148893c2d6e5a77bc86007012 (diff) |
use .Pages in list layout
-rw-r--r-- | layouts/_default/list.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 0f14ca7..0fed9e9 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -8,7 +8,7 @@ {{ .Content }} <ul> - {{ $pages := .Site.RegularPages }} + {{ $pages := .Pages }} {{ if .IsHome }}{{ $pages := .Site.RegularPages }}{{ end }} {{ range (where $pages "Section" "!=" "") }} <li> |