diff options
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/list.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index f8a1e05..06b290a 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -7,7 +7,9 @@ {{ .Content }} <ul> - {{ range (where .Data.Pages "Section" "!=" "") }} + {{ $pages := .Pages }} + {{ if .IsHome }}{{ $pages = .Site.RegularPages }}{{ end }} + {{ range (where $pages "Section" "!=" "") }} <li> <span class="date">{{ .Date.Format "2006/01/02" }}</span> <a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a> |