Just some indentation changes to the templates because I'm picky about such things :)
[mediagoblin.git] / mediagoblin / templates / mediagoblin / listings / tag.html
index db3381d204a7c319e3697d98f9a5fd6dac54a991..a013797ff606b9bcaf359afd7b55d323f2f20d02 100644 (file)
 #}
 {% 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 }}
+    {% trans %}Media tagged with:{% endtrans %} {{ tag_name }}
   </h1>
 
   <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) }}">
+      {%- trans %}atom feed{% endtrans -%}
+    </a>
+  </div>
 {% endblock %}