diff --git a/layouts/partials/preview_micropost.html b/layouts/partials/preview_micropost.html index b0c42f5..c70db94 100644 --- a/layouts/partials/preview_micropost.html +++ b/layouts/partials/preview_micropost.html @@ -6,7 +6,7 @@ <h2><a rel="remote-article" href="{{ .Params.externalurl }}">→ {{ .Title }}</a> <a href="{{ .Permalink }}">∞</a></h2> {{ end }} - <div class="postmeta">Posted on <time datetime="{{ .Date }}" pubdate="">{{ .Date.Format "January 2, 2006" }}</time> + <div class="postmeta">Posted on <time datetime='{{ .Date.Format "2006-01-02" }}' pubdate="">{{ .Date.Format "January 2, 2006" }}</time> {{ if (isset .Params "categories") }} in <span class="categories"> diff --git a/layouts/partials/preview_post.html b/layouts/partials/preview_post.html index 35401e3..a480b6b 100644 --- a/layouts/partials/preview_post.html +++ b/layouts/partials/preview_post.html @@ -5,7 +5,7 @@ <h2><a rel="remote-article" href="{{ .Params.externalurl }}">→ {{ .Title }}</a> <a href="{{ .Permalink }}">∞</a></h2> {{ end }} - <div class="postmeta">Posted on <time datetime="{{ .Date }}" pubdate="">{{ .Date.Format "January 2, 2006" }}</time> + <div class="postmeta">Posted on <time datetime='{{ .Date.Format "2006-01-02" }}' pubdate="">{{ .Date.Format "January 2, 2006" }}</time> {{ if (isset .Params "categories") }} in <span class="categories"> diff --git a/layouts/partials/yearly_grouping.html b/layouts/partials/yearly_grouping.html index a1b91f9..be964b9 100644 --- a/layouts/partials/yearly_grouping.html +++ b/layouts/partials/yearly_grouping.html @@ -9,11 +9,11 @@ <li> {{ if (not (isset .Params "externalurl")) }} <a rel="full-article" href="{{ .Permalink }}">{{ .Title }}</a> - on <time datetime="{{ .Date }}" pubdate="">{{ .Date.Format "January 2" }}</time> + on <time datetime='{{ .Date.Format "2006-01-02" }}' pubdate="">{{ .Date.Format "January 2" }}</time> {{ else }} <a rel="remote-article" href="{{ .Params.externalurl }}">{{ .Title }} →</a> on - <a href="{{ .Permalink }}"> <time datetime="{{ .Date }}" pubdate="">{{ .Date.Format "January 2" }}</time> </a> + <a href="{{ .Permalink }}"> <time datetime='{{ .Date.Format "2006-01-02" }}' pubdate="">{{ .Date.Format "January 2" }}</time> </a> {{ end }} </li> {{ end }} diff --git a/layouts/photos/single.html b/layouts/photos/single.html index b4905f9..9ca8a90 100644 --- a/layouts/photos/single.html +++ b/layouts/photos/single.html @@ -7,7 +7,7 @@ <div class="postmeta"> {{ with .Params.location }}Photos taken in {{ . }} on {{ end }} - <time datetime="{{ .Date }}" pubdate="">{{ .Date.Format "January 2, 2006" }}</time> + <time datetime='{{ .Date.Format "2006-01-02" }}' pubdate="">{{ .Date.Format "January 2, 2006" }}</time> {{ with .Params.camera }} with {{ . }}{{ end }} </div> diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 5ea94c6..b4b3102 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -10,7 +10,7 @@ <h2><a rel="remote-article" href="{{ .Params.externalurl }}">→ {{ .Title }}</a> <a href="{{ .Permalink }}">∞</a></h2> {{ end }} - <div class="postmeta">Posted on <time datetime="{{ .Date }}" pubdate="">{{ .Date.Format "January 2, 2006" }}</time> in + <div class="postmeta">Posted on <time datetime='{{ .Date.Format "2006-01-02" }}' pubdate="">{{ .Date.Format "January 2, 2006" }}</time> in <span class="categories"> {{ range $i, $v := .Params.categories }} <a class="category" href="/categories/{{ $v | urlize }}">{{ $v }}</a>{{ if ne (len $.Params.categories) (add $i 1) }}, {{ end }}