blag/theme-fred/templates/index.html

18 lines
551 B
HTML

{% extends "base.html" %}
{% block content %}
{% if articles %}
{% for article in articles_page.object_list %}
{% include 'article_infos.html' %}
<article>
{{ article.summary }}
<a class="readmore" href="{{ SITEURL }}/{{ article.url }}">read more</a>
</article>
{% endfor %}
{% if articles_page.has_other_pages() %}
{% include 'pagination.html' %}
{% endif %}
{% else %}
No articles.
{% endif %}
{% endblock content %}