diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/blog/single.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/layouts/blog/single.html b/layouts/blog/single.html index 035db0a..f6e3980 100644 --- a/layouts/blog/single.html +++ b/layouts/blog/single.html @@ -4,12 +4,12 @@ <h1>{{ .Title }}</h1> <div id="blog-post-details"> - <span id="date"> + <time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}"> Published on {{ .Date.Format "2" }}{{ if in (slice 1 21 31) .Date.Day}}st{{ else if in (slice 2 22) .Date.Day}}nd{{ else if in (slice 3 23) .Date.Day}}rd{{ else }}th{{ end }} {{ .Date.Format "January" }} {{ .Date.Format "2006" }} - </span> + </time> <span id="reading-time"> Approx @@ -23,5 +23,6 @@ </header> {{ .Content }} + </article> {{ end }} |