Files
leecat.art/_includes/postlist.njk
2026-03-27 12:23:26 -07:00

19 lines
515 B
Plaintext

<ol id="postlist">
{% for post in postlist %}
<li class="post">
<a class="postlink" href="{{ post.url }}">
{% if post.data.image %}
<img src="/img/{{ post.data.image.src }}" alt="{{ post.data.image.alt }}"
{% if "blur" in post.data.tags %}class="blur"{% endif %}>
{% endif %}
<h2 data-ha-exclude>{{ post.data.title }}</h2>
<ul class="postlist-tags">
{% for tag in post.data.tags | removeBasicTags %}
<li>{{ tag }}</li>
{% endfor %}
</ul>
</a>
</li>
{% endfor %}
</ol>