{% extends "base.html" %} {% load i18n %} {% load humanize %} {% load voting_tags %} {% load comments %} {% block extra_head %} {% comment %} /* If your site contains an 'extra_head' block, and jQuery, this will allow your 'like' clicks to be AJAXed instead of the old fashioned way. Completely not needed. */ {% endcomment %} {% endblock %} {% block content %}

News

{% csrf_token %}
{% for article in articles %}

{{ article.title|title }}

{% vote_by_user user on article as vote %} {% if vote.vote == 1 %} {% else %} {% endif %}

{{ article.site_name }} - {{ article.description }}

Submitted by {{ article.user.username }}, {{ article.created|naturaltime }}
{% if COMMENTS_ENABLED %} {% get_comment_count for djig.article article.id as comment_count %} {{ comment_count }} comments {% endif %} {% if user.is_superuser %} | Delete · Edit {% endif %}
{% endfor %}
{% if paginator %}
{% endif %} {% endblock %}