Output datetime as dt-published microformat for indieweb
well this won't actually work until https://github.com/swentel/indieweb/issues/361 is done... but in anticipation of swentel's awesomeness.
This commit is contained in:
parent
026c850504
commit
a0710da71a
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@
|
||||||
</div>
|
</div>
|
||||||
{% if content.field_authors is not empty %}
|
{% if content.field_authors is not empty %}
|
||||||
<p class="byline is-mono">Written by {{ content.field_authors }}</p>
|
<p class="byline is-mono">Written by {{ content.field_authors }}</p>
|
||||||
<p class="byline is-mono">Posted on {{ date }}</p>
|
<p class="byline is-mono">Posted on <time class="dt-published" datetime="{{ iso_datetime }}">{{ date }}</time></p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue