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:
benjamin melançon 2018-12-25 11:50:33 -05:00
parent 026c850504
commit a0710da71a

View file

@ -108,7 +108,7 @@
</div>
{% if content.field_authors is not empty %}
<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 %}
</div>
</div>