add blog index/link; paginate index page

This commit is contained in:
Danny Berger
2013-03-07 08:13:21 -07:00
parent beed86e9da
commit 3d83ea0010
4 changed files with 33 additions and 4 deletions

18
blog/index.html Normal file
View File

@@ -0,0 +1,18 @@
---
title: Blog Summary
layout: default
---
{% for post in site.posts %}
<section>
<header>
<div class="timeline">
<time datetime="{{ post.date|date_to_xmlschema }}"><strong>{{ post.date|date:"%b %d"|upcase }}</strong><br />{{ post.date|date:"%Y" }}</time>
</div>
<h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
{% if post.description %}
<div class="meta" style="margin-bottom:0;margin-top:0;">{{ post.description }}</div>
{% endif %}
</header>
</section>
{% endfor %}