diff options
author | Chip Senkbeil <chip.senkbeil@gmail.com> | 2015-09-28 01:31:29 +0300 |
---|---|---|
committer | Chip Senkbeil <chip.senkbeil@gmail.com> | 2015-09-28 01:31:29 +0300 |
commit | 5b66f1f16337f2c898eb5e12dae5a7b47d4d2213 (patch) | |
tree | acb304640c460ac02d304df537119b1a021ec1d8 | |
parent | 235cfebed241007d443656b6ac3f0fe9cac85db8 (diff) |
Updated gallery date format to be consistent with other date format code
-rw-r--r-- | layouts/partials/gallery/item.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/gallery/item.html b/layouts/partials/gallery/item.html index e5c6f31..6dc2198 100644 --- a/layouts/partials/gallery/item.html +++ b/layouts/partials/gallery/item.html @@ -1,7 +1,7 @@ {{ $url := $.Site.BaseURL }} {{ $image := .Params.image | urlize }} -{{ $date := dateFormat "Mon Jan 06, 2006" .Date }} +{{ $date := .Date.Format "Mon Jan 06, 2006" }} {{ $title := .Title }} <!-- TODO: Figure out why line height causes issues here --> <div class="flex-item flex-item-spacing no-line-height"> |