{% extends "base_blog.html" %} {% load static %} {% block subtitle %}Conservancy Blog - {% endblock %} {% block content %}
Displaying posts {% if authors %}by {% for author in authors %}{% if not forloop.last %}{% if not forloop.first %}, {% endif %}{% endif %}{{ author.formal_name }}{% ifequal forloop.revcounter 2 %} and {% endifequal %}{% endfor %}{% endif %} {% if tags %}tagged {% for tag in tags %}{% if not forloop.last %}{% if not forloop.first %}, {% endif %}{% endif %}{{ tag.label }}{% ifequal forloop.revcounter 2 %} or {% endifequal %}{% endfor %}{% endif %}
{% endif %} {% for entry in blog_entries %} {% include "blog/entry_partial.html" with entry=entry only %} {% endfor %}{% if blog_entries.has_next %}Next page (older) »{% endif %} {% if blog_entries.has_previous %}« Previous page (newer){% endif %}
{% if blog_entries.paginator.num_pages > 1 %}{% for pagenum in blog_entries.paginator.page_range %}{% ifequal pagenum blog_entries.number %}[{{ pagenum }}]{% else %}{{ pagenum }}{% endifequal %} {% endfor %}
{% endif %} {% endblock %}