android.moparisthebest.org/source/_includes/post/date.html

11 lines
593 B
HTML
Raw Normal View History

2011-07-19 22:28:48 -04:00
{% 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' %}
2011-09-04 09:56:34 -04:00
<time datetime="{{ date | datetime | date_to_xmlschema }}" pubdate {% if updated %} data-updated="true" {% endif %}>{{ date | ordinalize }}</time>
2011-07-19 22:28:48 -04:00
{% endif %}
{% if was_updated != '0' %}
2011-09-04 09:56:34 -04:00
<time class="updated" datetime="{{ updated | datetime | date_to_xmlschema }}">{{ updated | ordinalize }}</time>
2011-07-19 22:28:48 -04:00
{% endif %}