blag/theme-fred/templates/index.html

18 lines
551 B
HTML
Raw Normal View History

2016-08-03 02:36:43 -04:00
{% extends "base.html" %}
{% block content %}
2023-03-24 12:41:18 -04:00
{% 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 %}
2016-08-03 02:36:43 -04:00
{% endblock content %}