Fix date stuff
This commit is contained in:
parent
489463475a
commit
8cdf1cd9bd
3 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue