website/themes/lightspeed/templates/macros.html
2021-11-15 20:46:47 +01:00

8 lines
260 B
HTML

{% macro post_in_list(post) %}
<li>
<a href="{{ post.permalink | safe }}">{{ post.title }}</a>
<time style="font-size:90%;" datetime="{{ post.date | date(format="%+") }}">{{ post.date | date(format="%B %d, %Y") }}</time>
</li>
{% endmacro post_in_list %}