Calcifer/theme/templates/index.html

19 lines
426 B
HTML

{% extends "base.html" %}
{% block content %}
<section class="posts">
{% if articles %}
{% for article in articles_page.object_list %}
<article class="summary">
<a href="{{ SITEURL }}/{{ article.url }}"><h1>{{article.title}}</h1></a>
{% include "article_info.html" %}
<p>
{{article.summary}}
</p>
<div class="separator"></div>
</article>
{% endfor %}
{% endif %}
</section>
{% endblock content %}