diff options
Diffstat (limited to 'themes/xmin/layouts/_default/list.html')
-rw-r--r-- | themes/xmin/layouts/_default/list.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/xmin/layouts/_default/list.html b/themes/xmin/layouts/_default/list.html index 06b290a..bf0af50 100644 --- a/themes/xmin/layouts/_default/list.html +++ b/themes/xmin/layouts/_default/list.html @@ -1,4 +1,4 @@ -{{ partial "header.html" . }} +{{ define "main" }} {{if not .IsHome }} <h1>{{ .Title | markdownify }}</h1> @@ -11,10 +11,10 @@ {{ if .IsHome }}{{ $pages = .Site.RegularPages }}{{ end }} {{ range (where $pages "Section" "!=" "") }} <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> </li> {{ end }} </ul> -{{ partial "footer.html" . }} +{{- end }} |