12 lines
323 B
HTML
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 %}
|