Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 1 | {% extends "index.html" %} |
Giulio Fidente | 663537a | 2013-04-17 16:48:53 +0200 | [diff] [blame] | 2 | {% block title %}Category: {{ category }}{% endblock %} |
Giulio Fidente | da4d95b | 2013-04-29 15:59:35 +0200 | [diff] [blame] | 3 | |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 4 | {% block head %} |
| 5 | {% if CATEGORY_FEED_ATOM %} |
| 6 | <link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_ATOM|format(category) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} {{ category }} Category Atom Feed" /> |
| 7 | {% endif %} |
| 8 | {% if CATEGORY_FEED_RSS %} |
| 9 | <link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_RSS|format(category) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} {{ category }} Category RSS Feed" /> |
| 10 | {% endif %} |
| 11 | {% endblock %} |
Giulio Fidente | da4d95b | 2013-04-29 15:59:35 +0200 | [diff] [blame] | 12 | |
Giulio Fidente | 62d1ae8 | 2013-03-27 01:18:57 +0100 | [diff] [blame] | 13 | {% block header %} |
Giulio Fidente | da4d95b | 2013-04-29 15:59:35 +0200 | [diff] [blame] | 14 | <p>Category: {{ category }} |
Giulio Fidente | 824c595 | 2013-04-09 02:33:10 +0200 | [diff] [blame] | 15 | {% if CATEGORY_FEED_ATOM %} |
| 16 | | <a href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_ATOM|format(category) }}">Atom Feed</a> |
| 17 | {% endif %} |
| 18 | {% if CATEGORY_FEED_RSS %} |
| 19 | | <a href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_RSS|format(category) }}">RSS Feed</a> |
Giulio Fidente | da4d95b | 2013-04-29 15:59:35 +0200 | [diff] [blame] | 20 | {% endif %}</p> |
Giulio Fidente | 6e18a6a | 2013-03-22 23:29:41 +0100 | [diff] [blame] | 21 | {% endblock %} |