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 %}
|
{% 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> —
|
|
||||||
<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>
|
||||||
|
@ -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> —
|
|
||||||
<a href="/{{ post.url }}">{{post.title}}</a>
|
|
||||||
</div>
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -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 %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user