fix(layouts/single): Use <time>

This commit is contained in:
Sorin Davidoi 2018-08-29 19:18:14 +02:00 committed by Bjørn Erik Pedersen
parent 36d41b09cf
commit 932d5322bf
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{{ define "main" -}}
<div class="post">
<h1>{{ .Title }}</h1>
<span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
<time datetime={{ .Date.Format "2006-01-02T15:04:05Z0700" }} class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</time>
{{ .Content }}
</div>
@ -9,4 +9,4 @@
<h2>Comments</h2>
{{ template "_internal/disqus.html" . }}
{{- end }}
{{- end }}
{{- end }}