cbax_dev/templates/blog_list.html
2024-10-28 23:38:04 -04:00

12 lines
323 B
HTML

{% extends "base.html" %}
{% block content %}
<article class="box box-pop">
{% for (slug, post) in posts %}
<a class="fancy" href="/blog/{{ slug }}"><h2>{{ post.title }}</h2></a>
{% if loop.first %}
<span class="badge">NEW</span>
{% endif %}
<p>{{ post.description }}</p>
{% endfor %}
</article>
{% endblock %}