all repos — archive/hugo-xmin @ 6123be24bf4a7517ae9cbf05882b62f52684d16d

Customised minimal hugo theme

fix https://github.com/gohugoio/hugoThemes/issues/682 for the XMin theme

Yihui Xie
commit

6123be24bf4a7517ae9cbf05882b62f52684d16d

parent

da0192c7a78b57dfdbb73c0633de131c3253cc4f

1 file changed, 3 insertions(+), 1 deletion(-)

jump to
M layouts/_default/list.htmllayouts/_default/list.html
@@ -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>