cbax_dev/templates/blog_list.html

13 lines
323 B
HTML
Raw Permalink Normal View History

2024-10-23 03:46:54 +00:00
{% extends "base.html" %}
{% block content %}
2024-10-24 06:00:01 +00:00
<article class="box box-pop">
2024-10-23 03:46:54 +00:00
{% for (slug, post) in posts %}
2024-10-24 06:00:01 +00:00
<a class="fancy" href="/blog/{{ slug }}"><h2>{{ post.title }}</h2></a>
2024-10-29 03:38:04 +00:00
{% if loop.first %}
<span class="badge">NEW</span>
{% endif %}
2024-10-23 03:46:54 +00:00
<p>{{ post.description }}</p>
{% endfor %}
2024-10-24 06:00:01 +00:00
</article>
2024-10-23 03:46:54 +00:00
{% endblock %}