Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/chipsenkbeil/grid-side.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChip Senkbeil <chip.senkbeil@gmail.com>2015-09-28 01:31:29 +0300
committerChip Senkbeil <chip.senkbeil@gmail.com>2015-09-28 01:31:29 +0300
commit5b66f1f16337f2c898eb5e12dae5a7b47d4d2213 (patch)
treeacb304640c460ac02d304df537119b1a021ec1d8
parent235cfebed241007d443656b6ac3f0fe9cac85db8 (diff)
Updated gallery date format to be consistent with other date format code
-rw-r--r--layouts/partials/gallery/item.html2
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">