summaryrefslogtreecommitdiff
path: root/_layouts
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
parent73bd29472664f3b9628913c623ce15030081a470 (diff)
Make posts page show only an excerpt, correct datetime
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/master.html2
-rw-r--r--_layouts/post.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/_layouts/master.html b/_layouts/master.html
index e5d0397..73b1b8d 100644
--- a/_layouts/master.html
+++ b/_layouts/master.html
@@ -86,7 +86,7 @@
{{ content }}
</main>
<footer class="print-hide">
- <div class="light-gray"><a href="/license/">&copy; 2015</a> &#149; <a href="/privacy/">Privacy</a></div>
+ <div class="light-gray"><a href="/license/">&copy; 2015</a> &bull; <a href="/privacy/">Privacy</a></div>
</footer>
</body>
</html>
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">