diff options
author | Sorin Davidoi | 2018-08-29 19:25:01 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen | 2018-08-29 19:37:17 +0200 |
commit | 482d8e601619cb4f7f9be25976a1a940160d503e (patch) | |
tree | 6f5681fa5220a89dc0b37be0acff67bf7a74c7d3 /layouts | |
parent | 9bb31d6aedb7061c87e95d82c0148d3578d0f202 (diff) | |
download | hyde-482d8e601619cb4f7f9be25976a1a940160d503e.tar.lz hyde-482d8e601619cb4f7f9be25976a1a940160d503e.tar.zst hyde-482d8e601619cb4f7f9be25976a1a940160d503e.zip |
fix(layouts/list): Add datetime attribute to <time>
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/list.html | 4 |
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 }} |