Browse code

'updated' is not a valid attribute for <time>, moved to data attribute

fhemberger authored on 04/09/2011 at 10:12:27
Showing 1 changed files
... ...
@@ -3,7 +3,7 @@
3 3
 {% capture updated %}{{ page.updated }}{{ post.updated }}{% endcapture %}
4 4
 {% capture was_updated %}{{ updated | size }}{% endcapture %}
5 5
 {% if has_date != '0' %}
6
-<time datetime="{{ date | datetime | date_to_xmlschema }}" pubdate {% if updated %} updated {% endif %}>{{ date | ordinalize }}</time>
6
+<time datetime="{{ date | datetime | date_to_xmlschema }}" pubdate {% if updated %} data-updated="true" {% endif %}>{{ date | ordinalize }}</time>
7 7
 {% endif %}
8 8
 {% if was_updated != '0' %}
9 9
 <time class="updated" datetime="{{ updated | datetime | date_to_xmlschema }}">{{ updated | ordinalize }}</time>