move to a consistent post listing format
This commit is contained in:
parent
414a5c83bf
commit
5d5bc3f7fc
4
_includes/article_list.html
Normal file
4
_includes/article_list.html
Normal 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>
|
@ -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> —
|
||||
<a href="/{{ post.url }}">{{post.title}}</a>
|
||||
</div>
|
||||
{% include article_list.html %}
|
||||
{% endfor %}
|
||||
<p><a href="/tag/{{ page.tag }}/atom.xml">subscribe</a></p>
|
||||
|
@ -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> —
|
||||
<a href="/{{ post.url }}">{{post.title}}</a>
|
||||
</div>
|
||||
{% include article_list.html %}
|
||||
{% endfor %}
|
||||
|
@ -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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user