blog/theme/templates/index.html

16 lines
355 B
HTML

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