fix(layouts/list): Add datetime attribute to <time>
This commit is contained in:
parent
9bb31d6aed
commit
482d8e6016
|
@ -2,7 +2,7 @@
|
||||||
<ul class="posts">
|
<ul class="posts">
|
||||||
{{ range .Data.Pages -}}
|
{{ range .Data.Pages -}}
|
||||||
<li>
|
<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>
|
</li>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in New Issue