cbax_dev/templates/blog_list.html

9 lines
265 B
HTML
Raw Normal View History

2024-10-23 03:46:54 +00:00
{% extends "base.html" %}
{% block content %}
{% for (slug, post) in posts %}
{% if loop.first %}<div class="new_callout">NEW!</div>{% endif %}
<a href="/blog/{{ slug }}"><h2>{{ post.title }}</h2></a>
<p>{{ post.description }}</p>
{% endfor %}
{% endblock %}