Files
@ 541f423a3d1c
Branch filter:
Location: website/conservancy/templates/blog/entry_list.html - annotation
541f423a3d1c
1.8 KiB
text/html
Add transparent background to T-shirt image
79140d46a5c8 d8a702c8c922 d8a702c8c922 79140d46a5c8 79140d46a5c8 79140d46a5c8 eeba7a3154bb 1bf387724447 eeba7a3154bb 79140d46a5c8 d8a702c8c922 79140d46a5c8 79140d46a5c8 79140d46a5c8 0b9ab6970cbf 0b9ab6970cbf 79140d46a5c8 79140d46a5c8 79140d46a5c8 8f4c8a69d6f8 e7c1171b6e3d 79140d46a5c8 79140d46a5c8 79140d46a5c8 8f4c8a69d6f8 c564bb6ac5bd 8f4c8a69d6f8 16b2165de7eb 79140d46a5c8 79140d46a5c8 79140d46a5c8 | {% extends "base_blog.html" %}
{% load static %}
{% block subtitle %}Conservancy Blog - {% endblock %}
{% block content %}
<div class="breadcrumbs">
<p><a href="/">Home</a> / <a href="/news/">News</a></p>
</div>
<h2><a href="/feeds/blog/" class="feedlink"><img src="{% static 'img/feed-icon-14x14.png' %}" alt="[RSS]"/></a> Conservancy Blog{% if author %} — {{ author.formal_name }}{% endif %}</h2>
{% if authors or tags %}
<p>Displaying posts
{% if authors %}by {% for author in authors %}{% if not forloop.last %}{% if not forloop.first %}, {% endif %}{% endif %}<a href="{{ author.biography_url }}">{{ author.formal_name }}</a>{% if forloop.revcounter == 2 %} and {% endif %}{% endfor %}{% endif %}
{% if tags %}tagged {% for tag in tags %}{% if not forloop.last %}{% if not forloop.first %}, {% endif %}{% endif %}<a href="{{ tag.get_absolute_url }}">{{ tag.label }}</a>{% if forloop.revcounter == 2 %} or {% endif %}{% endfor %}{% endif %}
</p>
{% endif %}
{% for entry in blog_entries %}
{% include "blog/entry_partial.html" with entry=entry only %}
{% endfor %}
<p>
{% if blog_entries.has_next %}<a class="next_page_button" href="?page={{ blog_entries.next_page_number }}{% if query_string %}&{{ query_string|escape }}{% endif %}">Next page (older) »</a>{% endif %}
{% if blog_entries.has_previous %}<a href="?page={{ blog_entries.previous_page_number }}{% if query_string %}&{{ query_string|escape }}{% endif %}">« Previous page (newer)</a>{% endif %}
</p>
{% if blog_entries.paginator.num_pages > 1 %}<p class="pagination_list"> {% for pagenum in blog_entries.paginator.page_range %}{% if pagenum == blog_entries.number %}[{{ pagenum }}]{% else %}<a href="?page={{ pagenum }}{% if query_string %}&{{ query_string|escape }}{% endif %}">{{ pagenum }}</a>{% endif %} {% endfor %}</p>{% endif %}
<div class="clear"></div>
{% endblock %}
|