mirror of
https://github.com/yihui/hugo-xmin.git
synced 2024-11-22 08:29: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 }}
|
{{ .Content }}
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
{{ range (where .Data.Pages "Section" "!=" "") }}
|
{{ $pages := .Pages }}
|
||||||
|
{{ if .IsHome }}{{ $pages = .Site.RegularPages }}{{ end }}
|
||||||
|
{{ range (where $pages "Section" "!=" "") }}
|
||||||
<li>
|
<li>
|
||||||
<span class="date">{{ .Date.Format "2006/01/02" }}</span>
|
<span class="date">{{ .Date.Format "2006/01/02" }}</span>
|
||||||
<a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
|
<a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
|
||||||
|
|
Loading…
Reference in New Issue