mirror of
https://github.com/kremalicious/blog.git
synced 2025-02-14 21:10:25 +01:00
fix time-element
This commit is contained in:
parent
f62e81f96a
commit
d2761a0556
@ -11,9 +11,9 @@
|
||||
</p>
|
||||
|
||||
<p class="time">
|
||||
<time is="time-ago" class="pubdate" datetime="{{ page.date | date_to_xmlschema }}" pubdate{% if page.updated %} data-updated="true"{% endif %}>{{ page.date | date_to_string }}</time>
|
||||
<time-ago class="pubdate" datetime="{{ page.date | date_to_xmlschema }}" pubdate{% if page.updated %} data-updated="true"{% endif %}>{{ page.date | date_to_string }}</time-ago>
|
||||
{% if page.updated %}
|
||||
<br>updated <time is="time-ago" class="updated" datetime="{{ page.updated | date_to_xmlschema }}">{{ page.updated | date_to_string }}</time>
|
||||
<br>updated <time-ago class="updated" datetime="{{ page.updated | date_to_xmlschema }}">{{ page.updated | date_to_string }}</time-ago>
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user