353ccfd4 |
{% capture date %}{{ page.date }}{{ post.date }}{% endcapture %} |
c2a68cc2 |
{% capture date_formatted %}{{ page.date_formatted }}{{ post.date_formatted }}{% endcapture %} |
353ccfd4 |
{% capture has_date %}{{ date | size }}{% endcapture %}
{% capture updated %}{{ page.updated }}{{ post.updated }}{% endcapture %}
{% capture was_updated %}{{ updated | size }}{% endcapture %} |
4c21e690 |
|
353ccfd4 |
{% if has_date != '0' %} |
c2a68cc2 |
{% capture time %}<time datetime="{{ date | datetime | date_to_xmlschema }}" pubdate {% if updated %} data-updated="true" {% endif %}>{{ date_formatted }}</time>{% endcapture %} |
ef3ff431 |
{% endif %} |
4c21e690 |
|
353ccfd4 |
{% if was_updated != '0' %} |
4c21e690 |
{% capture updated %}<time class="updated" datetime="{{ updated | datetime | date_to_xmlschema }}">Updated {{ updated | ordinalize }}</time>{% endcapture %}
{% else %}{% assign updated = false %}{% endif %} |