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 %} {% assign year = this_year %}
<h3>{{ year }}</h3> <h3>{{ year }}</h3>
{% endunless %} {% endunless %}
<div> {% include article_list.html %}
<time datetime="{{ post.date | datetime | date_to_xmlschema }}" pubdate>{{ post.date | date: "%B %d" }}</time> &mdash;
<a href="/{{ post.url }}">{{post.title}}</a>
</div>
{% endfor %} {% endfor %}
<p><a href="/tag/{{ page.tag }}/atom.xml">subscribe</a></p> <p><a href="/tag/{{ page.tag }}/atom.xml">subscribe</a></p>

View File

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

View File

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