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 16:03:00 +0300
committerChip Senkbeil <chip.senkbeil@gmail.com>2015-09-28 16:03:00 +0300
commitdf32b157a23e4d6550eeef8b489547cc6b6d501b (patch)
tree10eeb85a665e44063f1906c4ff4c6bce48f1e314
parent92293addb2f3e7a11f896466dd2b87be35db2711 (diff)
Fixed date formatting
-rw-r--r--layouts/partials/gallery/item.html2
-rw-r--r--layouts/partials/post/page-item.html2
-rw-r--r--layouts/partials/post/single.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/gallery/item.html b/layouts/partials/gallery/item.html
index 6dc2198..48f77b0 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 := .Date.Format "Mon Jan 06, 2006" }}
+{{ $date := .Date.Format "Mon Jan 02, 2006" }}
{{ $title := .Title }}
<!-- TODO: Figure out why line height causes issues here -->
<div class="flex-item flex-item-spacing no-line-height">
diff --git a/layouts/partials/post/page-item.html b/layouts/partials/post/page-item.html
index 123e8c2..3aac325 100644
--- a/layouts/partials/post/page-item.html
+++ b/layouts/partials/post/page-item.html
@@ -5,7 +5,7 @@
<div class="page-item-content">
<header>
{{ if not .Date.IsZero }}
- <time class="page-item-date">{{ .Date.Format "Mon Jan 06, 2006" }}</time>
+ <time class="page-item-date">{{ .Date.Format "Mon Jan 02, 2006" }}</time>
{{ end }}
<h2 class="page-item-title">{{ .Title }}</h2>
</header>
diff --git a/layouts/partials/post/single.html b/layouts/partials/post/single.html
index ae94287..9df8a90 100644
--- a/layouts/partials/post/single.html
+++ b/layouts/partials/post/single.html
@@ -14,7 +14,7 @@
<article>
<header>
<h1 class="article-title">{{ .Title }}</h1>
- <time class="date-color">{{ .Date.Format "Mon Jan 2, 2006" }}</time>
+ <time class="date-color">{{ .Date.Format "Mon Jan 02, 2006" }}</time>
<span class="separator">|</span>
{{ partial "extra/categories.html" . }}
<span class="separator">|</span>