aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/templates
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-07-31 21:24:33 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-07-31 21:24:33 -0500
commit1a897068725233b607d377b713b733c6d5084477 (patch)
treed73303caf0501d2786b63c3688d254708fe2d1df /mediagoblin/templates
parenta5303e4791236d83189c81b50fee782e294b231e (diff)
downloadmediagoblin-1a897068725233b607d377b713b733c6d5084477.tar.lz
mediagoblin-1a897068725233b607d377b713b733c6d5084477.tar.xz
mediagoblin-1a897068725233b607d377b713b733c6d5084477.zip
Added tags atom feed and linked it in the appropriate places
Diffstat (limited to 'mediagoblin/templates')
-rw-r--r--mediagoblin/templates/mediagoblin/listings/tag.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/mediagoblin/templates/mediagoblin/listings/tag.html b/mediagoblin/templates/mediagoblin/listings/tag.html
index db3381d2..6f10ec8d 100644
--- a/mediagoblin/templates/mediagoblin/listings/tag.html
+++ b/mediagoblin/templates/mediagoblin/listings/tag.html
@@ -17,6 +17,13 @@
#}
{% extends "mediagoblin/base.html" %}
+{% block mediagoblin_head %}
+ <link rel="alternate" type="application/atom+xml"
+ href="{{ request.urlgen(
+ 'mediagoblin.listings.tag_atom_feed',
+ tag=tag_slug) }}">
+{% endblock mediagoblin_head %}
+
{% block mediagoblin_content -%}
<h1>
Media tagged with: {{ tag_name }}
@@ -25,4 +32,10 @@
<div class="container_16 media_gallery">
{% include "mediagoblin/utils/object_gallery.html" %}
</div>
+
+ <div class="grid_16">
+ <a href="{{ request.urlgen(
+ 'mediagoblin.listings.tag_atom_feed',
+ tag=tag_slug) }}">atom feed</a>
+ </div>
{% endblock %}