Add authors and date

Ref: https://gitlab.com/agaric/sites/agaric-coop/-/issues/239
This commit is contained in:
Louis Elkner-Alfaro 2023-07-03 14:20:21 -07:00
parent d82b9e5615
commit 6852975828

View file

@ -46,4 +46,9 @@
})
%}
<h1{{ item.attributes }}>{{ item.content}} </h1>
{% if authors is not empty %}
<p class="byline is-mono">Written by {{ authors }}</p>
<p class="byline is-mono">Posted on <time class="dt-published" datetime="{{ iso_datetime }}">{{ date }}</time></p>
{% endif %}
{% endfor %}