move to a consistent post listing format

This commit is contained in:
James Walker 2012-01-04 23:20:59 -05:00
parent 414a5c83bf
commit 5d5bc3f7fc
4 changed files with 9 additions and 11 deletions

View File

@ -0,0 +1,4 @@
<article class="list">
<time datetime="{{ post.date | datetime | date_to_xmlschema }}" pubdate>{{ post.date | date: "%B %d" }}</time>
<a href="/{{ post.url }}">{{post.title}}</a>
</article>

View File

@ -8,9 +8,6 @@ title: Posts tagged "{{ page.tag }}"
{% assign year = this_year %}
<h3>{{ year }}</h3>
{% endunless %}
<div>
<time datetime="{{ post.date | datetime | date_to_xmlschema }}" pubdate>{{ post.date | date: "%B %d" }}</time> &mdash;
<a href="/{{ post.url }}">{{post.title}}</a>
</div>
{% include article_list.html %}
{% endfor %}
<p><a href="/tag/{{ page.tag }}/atom.xml">subscribe</a></p>

View File

@ -8,8 +8,5 @@ title: Blog Archive
{% assign year = this_year %}
<h3>{{ year }}</h3>
{% endunless %}
<div>
<time datetime="{{ post.date | datetime | date_to_xmlschema }}" pubdate>{{ post.date | date: "%B %d" }}</time> &mdash;
<a href="/{{ post.url }}">{{post.title}}</a>
</div>
{% include article_list.html %}
{% endfor %}

View File

@ -2,9 +2,9 @@
layout: default
title: striving towards mediocrity
---
{% for post in site.posts limit: 1 %}
{% assign content = post.content %}
{% include post.html %}
<h3>recent posts</h3>
{% for post in site.posts limit: 5 %}
{% include article_list.html %}
{% endfor %}
{% include vcard.html %}