diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2026-03-06 09:35:05 -0500 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2026-03-06 09:35:05 -0500 |
| commit | a005163de7e9036bba681575c9c1164e23b96b06 (patch) | |
| tree | fb3ba8964cd11b3c1e0ce91f52d2d10c61a9bcd4 /layouts/_partials/date.html | |
| download | aoidh-a005163de7e9036bba681575c9c1164e23b96b06.zip | |
copy theme from samanthony.xyz
Diffstat (limited to 'layouts/_partials/date.html')
| -rw-r--r-- | layouts/_partials/date.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/_partials/date.html b/layouts/_partials/date.html new file mode 100644 index 0000000..39e108c --- /dev/null +++ b/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> |