blag/theme-fred/templates/index.html

20 lines
465 B
HTML
Raw Normal View History

2016-08-03 02:36:43 -04:00
{% 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 %}