Fix date stuff

This commit is contained in:
Daniel Flanagan 2020-07-29 15:27:42 -05:00
parent 489463475a
commit 8cdf1cd9bd
Signed by: lytedev
GPG Key ID: 5B2020A0F9921EF4
3 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
---
date: 2017-02-22T14:43:02-06:00
# date: 2017-02-22T14:43:02-06:00
image: /img/space.jpg
imageOverlayColor: "#000"
imageOverlayOpacity: 0.6

View File

@ -1,5 +1,5 @@
---
date: 2017-02-22T14:43:02-06:00
# date: 2017-02-22T14:43:02-06:00
image: /img/pen-journal.jpg
imageOverlayColor: "#000"
imageOverlayOpacity: 0.7

View File

@ -3,11 +3,11 @@
{{ end }}
{{ define "main" }}
<p>
{{ with .Lastmod }}
Posted on {{ dateFormat "Jan 2 2006" . }}
{{ end }}
</p>
<h2>{{ .Title }}</h2>
{{ with .Lastmod }}
<p>
Posted on {{ dateFormat "Jan 2 2006" . }}
</p>
{{ end }}
{{ .Content }}
{{ end }}