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

@@ -9,7 +9,7 @@
<h2 class="card-title">{{ .Title }}</h2>
<p class="card-text">{{ .Description }}</p>
<div class="card-subtext muted-text">
<p>Posted <time datetime="{{ .PublishDate.Format "2006-01-02 12:00" }}">{{ .PublishDate.Format "Jan 2, 2006" }}</time></p>
<p>Posted <time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "Jan 2, 2006" }}</time></p>
<p>{{ range .Params.categories }}#{{ . }} {{ end }}</p>
</div>
</article>