summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authorSorin Davidoi <sorin.davidoi@protonmail.com>2018-08-29 19:18:14 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-08-29 19:37:49 +0200
commit932d5322bfabd0639c5b3f77594d5e0a9a4f05a3 (patch)
treefa00baab6fd9e779b014e4e3465f623cce5c602e /layouts/_default/single.html
parent36d41b09cff48eaedda4f497fec5d49ea230ac32 (diff)
fix(layouts/single): Use <time>
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index a9f5d33..735bbf7 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -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 }} \ No newline at end of file
+{{- end }}