Files
leecat.art/_includes/postlist.njk

18 lines
432 B
Plaintext
Raw Normal View History

2026-02-18 16:29:21 -08:00
<ol id="postlist">
2026-02-17 21:11:03 -08:00
{% for post in postlist %}
2026-02-18 16:29:21 -08:00
<li class="post">
<a class="postlink" href="{{ post.url }}">
2026-02-17 21:11:03 -08:00
{% if post.data.image %}
<img src="/img/{{ post.data.image.src }}" alt="{{ post.data.image.alt }}">
{% endif %}
<h2>{{ post.data.title }}</h2>
<ul class="postlist-tags">
{% for tag in post.data.tags | removeBasicTags %}
2026-02-17 21:11:03 -08:00
<li>{{ tag }}</li>
{% endfor %}
</ul>
</a>
</li>
{% endfor %}
<ol>