1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-22 18:00:06 +01:00

fix time-element

This commit is contained in:
Matthias Kretschmann 2016-04-28 21:58:52 +02:00
parent f62e81f96a
commit d2761a0556
Signed by: m
GPG Key ID: BD3C1F3EDD7831FC

View File

@ -1,5 +1,5 @@
<footer class="entry-meta">
<p class="byline author vcard source-org">
<span class="by">by</span> <a class="fn" rel="author" href="/about/">
{% if page.author %}
@ -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>