Navigation Menu

Skip to content

Commit

Permalink
'updated' is not a valid attribute for <time>, moved to data attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
fhemberger committed Sep 4, 2011
1 parent b6f1451 commit 2efe11e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .themes/classic/source/_includes/post/date.html
Expand Up @@ -3,7 +3,7 @@
{% capture updated %}{{ page.updated }}{{ post.updated }}{% endcapture %}
{% capture was_updated %}{{ updated | size }}{% endcapture %}
{% if has_date != '0' %}
<time datetime="{{ date | datetime | date_to_xmlschema }}" pubdate {% if updated %} updated {% endif %}>{{ date | ordinalize }}</time>
<time datetime="{{ date | datetime | date_to_xmlschema }}" pubdate {% if updated %} data-updated="true" {% endif %}>{{ date | ordinalize }}</time>
{% endif %}
{% if was_updated != '0' %}
<time class="updated" datetime="{{ updated | datetime | date_to_xmlschema }}">{{ updated | ordinalize }}</time>
Expand Down

0 comments on commit 2efe11e

Please sign in to comment.