summaryrefslogtreecommitdiff
path: root/_layouts/post.html
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2015-05-12 13:06:51 -0400
committerBen Burwell <ben@benburwell.com>2015-05-12 13:06:51 -0400
commit16252256a59ff3c318a384202e2a00a9601ec45e (patch)
tree5910b37e1132484ae8f8a9ffde0940740a285d22 /_layouts/post.html
parent73bd29472664f3b9628913c623ce15030081a470 (diff)
Make posts page show only an excerpt, correct datetime
Diffstat (limited to '_layouts/post.html')
-rw-r--r--_layouts/post.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_layouts/post.html b/_layouts/post.html
index 9cf26f0..ea8eb30 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -5,7 +5,7 @@ layout: master
<article itemscope itemtype="http://schema.org/BlogPosting" class="article">
<header>
<h1 itemprop="headline">{{ page.title }}</h1>
- <p><time itemprop="datePublished">{{ page.date | date: "%A, %-d %B %Y" }}</time></p>
+ <p><time datetime="{{ post.date | date: '%Y-%m-%d' }}" itemprop="datePublished">{{ page.date | date: "%A, %-d %B %Y" }}</time></p>
</header>
<div itemprop="articleBody">