summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorSorin Davidoi <sorin.davidoi@protonmail.com>2018-08-29 19:25:01 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-08-29 19:37:17 +0200
commit482d8e601619cb4f7f9be25976a1a940160d503e (patch)
tree6f5681fa5220a89dc0b37be0acff67bf7a74c7d3 /layouts/_default
parent9bb31d6aedb7061c87e95d82c0148d3578d0f202 (diff)
fix(layouts/list): Add datetime attribute to <time>
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/list.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index c6d3b69..47a6453 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -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 }}