Skip to content

Commit 932d532

Browse files
sorin-davidoibep
authored andcommitted
fix(layouts/single): Use <time>
1 parent 36d41b0 commit 932d532

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

layouts/_default/single.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{{ define "main" -}}
22
<div class="post">
33
<h1>{{ .Title }}</h1>
4-
<span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
4+
<time datetime={{ .Date.Format "2006-01-02T15:04:05Z0700" }} class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</time>
55
{{ .Content }}
66
</div>
77

88
{{ if .Site.DisqusShortname -}}
99
<h2>Comments</h2>
1010
{{ template "_internal/disqus.html" . }}
1111
{{- end }}
12-
{{- end }}
12+
{{- end }}

0 commit comments

Comments
 (0)