summaryrefslogtreecommitdiff
path: root/posts
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 /posts
parent73bd29472664f3b9628913c623ce15030081a470 (diff)
Make posts page show only an excerpt, correct datetime
Diffstat (limited to 'posts')
-rw-r--r--posts/index.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/posts/index.html b/posts/index.html
index 97b6bc7..2158ac9 100644
--- a/posts/index.html
+++ b/posts/index.html
@@ -8,7 +8,8 @@ redirect_from: /writing/
<section>
{% for post in site.posts %}
<h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
- <p><time>{{ post.date | date: "%A, %-d %B %Y" }}</time></p>
- {{ post.content }}
+ <p><time datetime="{{ post.date | date: '%Y-%m-%d' }}">{{ post.date | date: "%A, %-d %B %Y" }}</time></p>
+ {{ post.excerpt }}
+ <p><a href="{{ post.url }}">Continue reading <i class="fa fa-chevron-right"></i></a></p>
{% endfor %}
</section>