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 image: /img/space.jpg
imageOverlayColor: "#000" imageOverlayColor: "#000"
imageOverlayOpacity: 0.6 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 image: /img/pen-journal.jpg
imageOverlayColor: "#000" imageOverlayColor: "#000"
imageOverlayOpacity: 0.7 imageOverlayOpacity: 0.7

View file

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