diff options
author | Sorin Davidoi | 2018-08-29 19:18:14 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen | 2018-08-29 19:37:49 +0200 |
commit | 932d5322bfabd0639c5b3f77594d5e0a9a4f05a3 (patch) | |
tree | fa00baab6fd9e779b014e4e3465f623cce5c602e | |
parent | 36d41b09cff48eaedda4f497fec5d49ea230ac32 (diff) | |
download | hyde-932d5322bfabd0639c5b3f77594d5e0a9a4f05a3.tar.lz hyde-932d5322bfabd0639c5b3f77594d5e0a9a4f05a3.tar.zst hyde-932d5322bfabd0639c5b3f77594d5e0a9a4f05a3.zip |
fix(layouts/single): Use <time>
-rw-r--r-- | layouts/_default/single.html | 4 |
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 }} |