diff options
author | Zachary Betz <zwbetz@gmail.com> | 2018-12-30 02:31:59 +0300 |
---|---|---|
committer | Zachary Betz <zwbetz@gmail.com> | 2018-12-30 02:31:59 +0300 |
commit | ea50676e72d2986199b06bee016b468e6a6a8969 (patch) | |
tree | 9d3b6e813d9402872c5f25d15fa6f90739f706a0 | |
parent | b67f98c1f59dd5565743799a558d7d7dfb429b9d (diff) |
Use PublishDate
-rw-r--r-- | layouts/partials/date-and-tags.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/date-and-tags.html b/layouts/partials/date-and-tags.html index a021eb8..753667f 100644 --- a/layouts/partials/date-and-tags.html +++ b/layouts/partials/date-and-tags.html @@ -1,5 +1,5 @@ {{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }} -<i data-feather="calendar"></i> {{ .Date.Format $dateFormat }} +<i data-feather="calendar"></i> <time datetime="{{ .PublishDate }}">{{ .PublishDate.Format $dateFormat }}</time> {{ with .Params.tags }} <br> <i data-feather="tag"></i> |