mirror of
https://github.com/yihui/hugo-xmin.git
synced 2024-11-22 00:19:19 +02:00
fix https://github.com/gohugoio/hugoThemes/issues/682 for the XMin theme
This commit is contained in:
parent
da0192c7a7
commit
6123be24bf
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue