lightspeed/templates/macros.html

12 lines
390 B
HTML
Raw Normal View History

2020-04-13 19:19:58 +00:00
{% macro post_in_list(post) %}
<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>
{% endmacro post_in_list %}