aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/meta-context-menu.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/partials/meta-context-menu.html')
-rw-r--r--themes/default/layouts/partials/meta-context-menu.html14
1 files changed, 12 insertions, 2 deletions
diff --git a/themes/default/layouts/partials/meta-context-menu.html b/themes/default/layouts/partials/meta-context-menu.html
index 064d0d8..9429355 100644
--- a/themes/default/layouts/partials/meta-context-menu.html
+++ b/themes/default/layouts/partials/meta-context-menu.html
@@ -27,11 +27,21 @@
<micro-metadata-datetime>
<a href="{{ $href }}">
{{- safeHTML (readFile (print (partial "function-paths.html").static "/icons/feather/calendar.svg")) -}}
- <span>{{ .Date | time.Format "Jan 2 2006" -}}</span>
+ <time
+ data-type="localDate"
+ datetime="{{ .Date | time.Format "2006-01-02T15:04:05Z" }}"
+ >
+ {{ .Date | time.Format "Jan 2 2006" -}}
+ </time>
</a>
<a href="{{ $href }}">
{{- safeHTML (readFile (print (partial "function-paths.html").static "/icons/feather/clock.svg")) -}}
- <span>{{ .Date | time.Format "15:04 MST" -}}</span>
+ <time
+ data-type="localTime"
+ datetime="{{ .Date | time.Format "2006-01-02T15:04:05Z" }}"
+ >
+ {{ .Date | time.Format "15:04 MST" -}}
+ </time>
</a>
</micro-metadata-datetime>
</context-menu>