{% extends 'base/base.html' %} {% block stylesheet %}{% endblock %} {% block content %}
    {% if news %} {% for n in news %}
  1. {{ n.title }}
    Posted on {{ n.publication }} by {{ n.submitter }} | upvoted {{ n.upvotes }} time(s). {% if user.is_authenticated %}
    {% csrf_token %}
  2. {% endif %} {% endfor %} {% else %}

    Sorry no news posted today

    {% endif %}
{% endblock %}