diff options
author | Kellen <root@goodroot.ca> | 2020-07-30 07:29:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-30 07:29:34 +0300 |
commit | 927fce272ef6449c29760495fab34855fe0bc4cb (patch) | |
tree | 045bd9421b0cb719b4d7f3d91b9fecd04694bb4b | |
parent | a7352c4e715e9ea148893c2d6e5a77bc86007012 (diff) | |
parent | 64de234b78e60e3faf92d6cc9c9c368a2245c184 (diff) |
Merge pull request #15 from joseph-lozano/fix-tags-and-categories
Fix tags and categories
-rw-r--r-- | layouts/_default/list.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 0f14ca7..0ee6442 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -8,8 +8,8 @@ {{ .Content }} <ul> - {{ $pages := .Site.RegularPages }} - {{ if .IsHome }}{{ $pages := .Site.RegularPages }}{{ end }} + {{ $pages := .Pages }} + {{ if .IsHome }}{{ $pages = .Site.RegularPages }}{{ end }} {{ range (where $pages "Section" "!=" "") }} <li> <span class="date">{{ .Date.Format "2006/01/02" }}</span> |