mirror of
https://github.com/yihui/hugo-xmin.git
synced 2024-12-25 06:43:31 +02:00
fix https://github.com/gohugoio/hugoThemes/issues/682 for the XMin theme
This commit is contained in:
parent
da0192c7a7
commit
6123be24bf
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue