]> njoseph.me Git - hyde.git/blobdiff - layouts/_default/list.html
fix(layouts/list): Add datetime attribute to <time>
[hyde.git] / layouts / _default / list.html
index c6d3b691c55f312261bb8c31f076a0286d4a485e..47a6453ade6f8a19338e81685f9f6a7bd45c2d33 100644 (file)
@@ -2,8 +2,8 @@
 <ul class="posts">
 {{ range .Data.Pages -}}
   <li>
-    <span><a href="{{ .Permalink }}">{{ .Title }}</a> <time class="pull-right post-list">{{ .Date.Format "Mon, Jan 2, 2006" }}</time></span>
+    <span><a href="{{ .Permalink }}">{{ .Title }}</a> <time class="pull-right post-list" datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}">{{ .Date.Format "Mon, Jan 2, 2006" }}</time></span>
   </li>
 {{- end }}
 </ul>
-{{- end }}
\ No newline at end of file
+{{- end }}