This commit is contained in:
Yihui Xie 2019-08-16 13:08:49 -05:00
parent da0192c7a7
commit 6123be24bf

View file

@ -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>