25 lines
858 B
HTML
25 lines
858 B
HTML
{% macro postlisting(posts) %}
|
|
<table style="width: 100%;">
|
|
{% for post in posts %}
|
|
{% if not post.draft %}
|
|
<tr>
|
|
<td>
|
|
<span style="font-size: 1.2em;">
|
|
<a href="{{ post.permalink }}" class="brand-colorlink">{{ post.title }}</a>
|
|
</span>
|
|
<br />
|
|
<small>
|
|
{{ post.reading_time }} min read - Posted {% if post.extra.author %}by {{ post.extra.author }}{% endif %}
|
|
on {{ post.date }}
|
|
</small>
|
|
</td>
|
|
{% if post.tags %}
|
|
<td style="text-align: right;" class="hidden-sm">
|
|
<small>{{ post.tags | join(sep=", ") }}</small>
|
|
</td>
|
|
{% endif %}
|
|
</tr>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</table>
|
|
{% endmacro postlisting %}
|