Browse Source

Fix date stuff

master
Daniel Flanagan 1 year ago
parent
commit
8cdf1cd9bd
Signed by: lytedev GPG Key ID: 5B2020A0F9921EF4
  1. 2
      content/about.md
  2. 2
      content/contact.md
  3. 10
      themes/lyte/layouts/_default/single.html

2
content/about.md

@ -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

2
content/contact.md

@ -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

10
themes/lyte/layouts/_default/single.html

@ -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…
Cancel
Save