Files
leecat.art/_includes/postlist.njk

21 lines
583 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 }}
{% if "blur" in post.data.tags %}(mature){% endif %}
</h2>
<ul class="postlist-tags">
{% for tag in post.data.tags | removeBasicTags %}
<li>{{ tag }}</li>
{% endfor %}
</ul>
</a>
</li>
{% endfor %}
</ol>