{% extends 'base.html' %} {% block content %}
{% include 'sidebar.html' %}

{% block pagetitle %} {% if not articles_page.has_previous() %} Latest posts {% else %} Posts {% endif %} {% endblock pagetitle %} {% if articles_page.has_previous() %} – Page {{ articles_page.number }} {% endif %}

{% for article in articles_page.object_list %} {% include 'post.html' %} {% if MATH is defined and not MATH['auto_insert'] %} {% if page and page.mathjax or article and article.mathjax %} {% set mathjax = True %} {% endif %} {% endif %} {% if loop.last and mathjax is defined %} {{ MATHJAXSCRIPT }} {% endif %} {% endfor %} {% include 'pagination.html' %} {% include 'footer.html' %}
{% endblock content %}