{% extends 'scipost/base.html' %} {% block pagetitle %}: News{% endblock pagetitle %} {% load request_filters %} {% load staticfiles %} {% block content %}

SciPost News

{% if is_paginated %}

{% if page_obj.has_previous %} Previous {% endif %} Page {{ page_obj.number }} of {{ page_obj.paginator.num_pages }}. {% if page_obj.has_next %} Next {% endif %} Go back to the homepage.

{% endif %} {% for item in object_list %}
{% include 'news/news_card_content.html' with news=item %}
{% empty %}
No news found.
{% endfor %} {% if is_paginated %}

{% if page_obj.has_previous %} Previous {% endif %} Page {{ page_obj.number }} of {{ page_obj.paginator.num_pages }}. {% if page_obj.has_next %} Next {% endif %} Go back to the homepage.

{% endif %}
{% endblock content %}