2011-07-19 22:28:48 -04:00
|
|
|
{% capture date %}{{ page.date }}{{ post.date }}{% endcapture %}
|
2011-12-10 11:40:10 -05:00
|
|
|
{% capture date_formatted %}{{ page.date_formatted }}{{ post.date_formatted }}{% endcapture %}
|
2011-07-19 22:28:48 -04:00
|
|
|
{% capture has_date %}{{ date | size }}{% endcapture %}
|
2011-12-10 11:40:10 -05:00
|
|
|
|
2011-07-19 22:28:48 -04:00
|
|
|
{% capture updated %}{{ page.updated }}{{ post.updated }}{% endcapture %}
|
2011-12-10 11:40:10 -05:00
|
|
|
{% capture updated_formatted %}{{ page.updated_formatted }}{{ post.updated_formatted }}{% endcapture %}
|
2011-07-19 22:28:48 -04:00
|
|
|
{% capture was_updated %}{{ updated | size }}{% endcapture %}
|
2011-09-04 15:19:10 -04:00
|
|
|
|
2011-07-19 22:28:48 -04:00
|
|
|
{% if has_date != '0' %}
|
2011-12-10 11:40:10 -05:00
|
|
|
{% capture time %}<time datetime="{{ date | datetime | date_to_xmlschema }}" pubdate{% if updated %} data-updated="true"{% endif %}>{{ date_formatted }}</time>{% endcapture %}
|
2011-07-19 22:28:48 -04:00
|
|
|
{% endif %}
|
2011-09-04 15:19:10 -04:00
|
|
|
|
2011-07-19 22:28:48 -04:00
|
|
|
{% if was_updated != '0' %}
|
2011-12-10 11:40:10 -05:00
|
|
|
{% capture updated %}<time datetime="{{ updated | datetime | date_to_xmlschema }}" class="updated">Updated {{ updated_formatted }}</time>{% endcapture %}
|
|
|
|
{% else %}{% assign updated = false %}{% endif %}
|