Fixed date not displaying properly and the datetime field

This commit is contained in:
Joseph Hutchinson
2018-05-17 11:49:34 -04:00
parent 7742ea0cfe
commit d99502225f
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@
<article class="post">
<header class="post-header">
<h1 class="post-title">{{ .Title }}</h1>
<p class="post-date">Posted <time datetime="{{ .PublishDate.Format "2006-01-02 12:00" }}">{{ .PublishDate.Format "Jan 2, 2006" }}</time></p>
<p class="post-date">Posted <time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "Jan 2, 2006" }}</time></p>
</header>
{{ if isset .Params "featuredimage" }}
<figure class="post-figure">