Skip to content

Commit 3780da9

Browse files
authored
Merge pull request Phlow#134 from jhabdas/patch-1
Use datetime for time element
2 parents d1653a2 + 7ca572d commit 3780da9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_includes/_meta_information.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{% endif %}
1010

1111
{% if page.date %}
12-
<time class="icon-calendar pr20" datetime="{{ page.date | date: "%Y-%m-%d" }}" itemprop="datePublished"> {{ page.date | date: "%Y-%m-%d" }}</time>
12+
<time class="icon-calendar pr20" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished"> {{ page.date | date: "%Y-%m-%d" }}</time>
1313
{% endif %}
1414

1515
{% if page.categories %}<span class="icon-archive pr20"> {{ page.categories | join: ' · ' | upcase }}{% endif %}</span>

0 commit comments

Comments
 (0)