summaryrefslogtreecommitdiffstats
path: root/themes/aoidh/layouts
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2026-01-21 13:08:20 -0500
committerSam Anthony <sam@samanthony.xyz>2026-01-21 13:08:20 -0500
commit97d154d31a018290c35a8c42ae5ed7cad7bb6381 (patch)
treed15b7790a97785f007593386aa50829e1c4121de /themes/aoidh/layouts
parente19da24b0484af874b838b21c8a8c644a609f635 (diff)
downloadsamanthony.xyz-97d154d31a018290c35a8c42ae5ed7cad7bb6381.zip
move automotive spreadsheets to articles section
Diffstat (limited to 'themes/aoidh/layouts')
-rw-r--r--themes/aoidh/layouts/_partials/date.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/themes/aoidh/layouts/_partials/date.html b/themes/aoidh/layouts/_partials/date.html
new file mode 100644
index 0000000..39e108c
--- /dev/null
+++ b/themes/aoidh/layouts/_partials/date.html
@@ -0,0 +1,3 @@
+{{- $machine := . | time.Format "2006-01-02T15:04:05-07:00" -}}
+{{- $human := . | time.Format "2006-01-02" -}}
+<time datetime="{{ $machine }}">{{ $human }}</time>