add article dates

This commit is contained in:
Joshua Goins 2022-11-16 10:50:25 -05:00
parent c81a44f8a4
commit b2daa35586

View file

@ -1,5 +1,15 @@
{{ define "main" }}
<h2>{{ .Title }}</h2>
<p>
Posted on
<time datetime="{{ .Page.Lastmod.Format "Mon Jan 10 17:13:38 2020 -0700" }}" 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">
{{ $.Page.Lastmod.Format "January 02, 2006" }}
</time>)
</p>
<div>
{{ .Content }}