www.moparscape.org/.themes/classic/source/_includes/post/date.html
Frederic Hemberger 81e814a354 Remove unsupported 'updated' flag from _includes/post/date.html
Jekyll does not support this value for Page or Post classes. The
capture returned an empty Sting, which was always evaluated to true
in '{% if updated %}'.
2011-10-18 17:39:19 +02:00

8 lines
385 B
HTML

{% capture date %}{{ page.date }}{{ post.date }}{% endcapture %}
{% capture date_formatted %}{{ page.date_formatted }}{{ post.date_formatted }}{% endcapture %}
{% capture has_date %}{{ date | size }}{% endcapture %}
{% if has_date != '0' %}
{% capture time %}<time datetime="{{ date | datetime | date_to_xmlschema }}" pubdate>{{ date_formatted }}</time>{% endcapture %}
{% endif %}