Moved some post partials into source/_includes/post/ and updated include

links
This commit is contained in:
Brandon Mathis
2011-07-13 22:47:59 -04:00
parent 87f300b2bc
commit 8d3e0b4a0e
8 changed files with 10 additions and 12 deletions

View File

@ -0,0 +1,10 @@
{% capture date %}{{ page.date }}{{ post.date }}{% endcapture %}
{% capture has_date %}{{ date | size }}{% endcapture %}
{% capture updated %}{{ page.updated }}{{ post.updated }}{% endcapture %}
{% capture was_updated %}{{ updated | size }}{% endcapture %}
{% if has_date != '0' %}
<time datetime="{{ date | datetime }}" pubdate {% if updated %} updated {% endif %}>{{ date | ordinalize }}</time>
{% endif %}
{% if was_updated != '0' %}
<time class="updated" datetime="{{ updated | datetime }}"></time>
{% endif %}