Fix datetimes for post

This commit is contained in:
Joshua Goins 2023-04-17 15:18:56 -04:00
parent 57345fab57
commit b9c1a03e5f

View file

@ -4,11 +4,11 @@
{{ if in .File.Dir "blog" }}
<i style="margin: 0">
Posted on
<time datetime="{{ .Page.Lastmod.Format "Mon Jan 10 17:13:38 2020 -0700" }}" class="text-muted">
<time datetime="{{ .Page.Lastmod.Format "2006-01-02" }}" class="text-muted">
{{ $.Date.Format "January 02, 2006" }}
</time>
(Updated on
<time datetime="{{ .Page.Lastmod.Format "Mon Jan 10 17:13:38 2020 -0700" }}" class="text-muted">
<time datetime="{{ .Page.Lastmod.Format "2006-01-02" }}" class="text-muted">
{{ $.Page.Lastmod.Format "January 02, 2006" }}
</time>)
</i>