add article dates
This commit is contained in:
parent
c81a44f8a4
commit
b2daa35586
1 changed files with 10 additions and 0 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Reference in a new issue