diff options
Diffstat (limited to 'themes')
4 files changed, 4 insertions, 4 deletions
diff --git a/themes/default/layouts/_default/section.following.html b/themes/default/layouts/_default/section.following.html index 7c9d990..c53ab09 100644 --- a/themes/default/layouts/_default/section.following.html +++ b/themes/default/layouts/_default/section.following.html @@ -47,7 +47,7 @@ <time title="{{ $distinct.FeedDateTitle }}" datetime="{{ $distinct.FeedDateTime }}"> - {{ $distinct.FeedDateTime | time.Format "3:04 PM Jan 2 2006" -}} + {{ $distinct.FeedDateTime | time.Format "15:04 Jan 2 2006" -}} </time> </micro-header> <a diff --git a/themes/default/layouts/partials/author-card.html b/themes/default/layouts/partials/author-card.html index 7a8395a..873363a 100644 --- a/themes/default/layouts/partials/author-card.html +++ b/themes/default/layouts/partials/author-card.html @@ -1,5 +1,5 @@ {{- $metadata := print "public/" .Data.user "/author.json" -}} -{{- $date := .Date.Local.Format "3:04 PM Jan 2 2006" -}} +{{- $date := .Date.Local.Format "15:04 Jan 2 2006" -}} {{- $host := (urls.Parse ("" | absURL)).Host -}} diff --git a/themes/default/layouts/partials/meta-context-menu.html b/themes/default/layouts/partials/meta-context-menu.html index b24ab5d..977f938 100644 --- a/themes/default/layouts/partials/meta-context-menu.html +++ b/themes/default/layouts/partials/meta-context-menu.html @@ -19,7 +19,7 @@ </micro-metadata-plain> {{- partial "meta-permalink.html" . -}} <micro-metadata-datetime> - <a title="{{ .Date.Local | time.Format "3:04 PM Jan 2 2006" -}}" href="{{ $href }}"> + <a title="{{ .Date.Local | time.Format "15:04 Jan 2 2006" -}}" href="{{ $href }}"> {{- safeHTML (readFile (print (partial "function-paths.html").static "/icons/feather/calendar.svg")) -}} <span>{{ .Date.Local | time.Format "Jan 2 2006" | lower -}}</span> </a> diff --git a/themes/default/layouts/partials/meta-date-time.html b/themes/default/layouts/partials/meta-date-time.html index bd42fcc..5b26c68 100644 --- a/themes/default/layouts/partials/meta-date-time.html +++ b/themes/default/layouts/partials/meta-date-time.html @@ -3,7 +3,7 @@ title="{{ .Date | time.Format "Posted: Monday, January 2, 2006 at 15:04:05 MST" {{ if .Lastmod.After .Date }}{{ .Lastmod | time.Format "Edited: Monday, January 2, 2006 at 15:04:05 MST" }}{{ end }}"> {{- safeHTML (readFile (print (partial "function-paths.html").static "/icons/feather/calendar.svg")) -}} <time datetime="{{ .Date | time.Format "2006-01-02T15:04:05Z" }}"> - {{ (.Date.Local | time.Format "3:04 PM Jan 2 2006") -}} + {{ (.Date.Local | time.Format "15:04 Jan 2 2006") -}} </time> {{- /* This comment removes trailing newlines and white spaces. */ -}} {{ if .Lastmod.After .Date }} |