aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfhemberger <mail@frederic-hemberger.de>2011-09-04 12:12:27 +0200
committerfhemberger <mail@frederic-hemberger.de>2011-09-04 12:12:27 +0200
commit2efe11e0eb133059f5e6cfe85dbe7bc2e36bf389 (patch)
treee9ba0b230960caf37e3eceb742e40a166088e9e7
parentb6f1451b774c735d0bc34bf565cbc63de3db9679 (diff)
downloadmy_new_personal_website-2efe11e0eb133059f5e6cfe85dbe7bc2e36bf389.tar.xz
my_new_personal_website-2efe11e0eb133059f5e6cfe85dbe7bc2e36bf389.zip
'updated' is not a valid attribute for <time>, moved to data attribute
Diffstat (limited to '')
-rw-r--r--.themes/classic/source/_includes/post/date.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/.themes/classic/source/_includes/post/date.html b/.themes/classic/source/_includes/post/date.html
index 7e328786..bc493138 100644
--- a/.themes/classic/source/_includes/post/date.html
+++ b/.themes/classic/source/_includes/post/date.html
@@ -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>