summary refs log tree commit diff stats
path: root/themes/xmin/layouts/_default/list.html
diff options
context:
space:
mode:
authorAlan Pearce2020-01-10 19:57:53 +0100
committerAlan Pearce2020-01-10 19:57:53 +0100
commitcdd34e9bfbfa6a23b93cedcffaa8d8f9e862fc84 (patch)
tree22c02e0642ca4055a768cc8f1ebff95741c273dc /themes/xmin/layouts/_default/list.html
parenteea42a5b1b05fbbdc9f33df41576de0232fcbd4d (diff)
parentd5857f9dbecd498e341c8cb5d0866749c5c554c7 (diff)
downloadwebsite-cdd34e9bfbfa6a23b93cedcffaa8d8f9e862fc84.tar.lz
website-cdd34e9bfbfa6a23b93cedcffaa8d8f9e862fc84.tar.zst
website-cdd34e9bfbfa6a23b93cedcffaa8d8f9e862fc84.zip
Merge commit 'd5857f9dbecd498e341c8cb5d0866749c5c554c7'
Diffstat (limited to 'themes/xmin/layouts/_default/list.html')
-rw-r--r--themes/xmin/layouts/_default/list.html6
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 }}