lightspeed/templates/macros.html

8 lines
365 B
HTML
Raw Normal View History

2020-04-13 19:19:58 +00:00
{% macro post_in_list(post) %}
2020-04-14 18:42:35 +00:00
<li style="align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;margin-bottom:10px;">
<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>
2020-04-13 19:19:58 +00:00
{% endmacro post_in_list %}