mirror of
https://github.com/moparisthebest/www.moparscape.org
synced 2024-11-14 05:15:22 -05:00
13 lines
716 B
HTML
13 lines
716 B
HTML
{% 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' %}
|
|
{% capture time %}<time datetime="{{ date | datetime | date_to_xmlschema }}" pubdate {% if updated %} data-updated="true" {% endif %}>{{ date | ordinalize }}</time>{% endcapture %}
|
|
{% endif %}
|
|
|
|
{% if was_updated != '0' %}
|
|
{% capture updated %}<time class="updated" datetime="{{ updated | datetime | date_to_xmlschema }}">Updated {{ updated | ordinalize }}</time>{% endcapture %}
|
|
{% else %}{% assign updated = false %}{% endif %}
|