summaryrefslogtreecommitdiff
path: root/src/templates/apps/room/list.html
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-05-12 09:34:18 +0200
committerLeif Johansson <leifj@sunet.se>2011-05-12 09:34:18 +0200
commit13783dd92342bb175dea483d7e869ef701f01de6 (patch)
tree4ba38536d53915ed41c10c18d9fe5dfc29119c47 /src/templates/apps/room/list.html
parent323a8afc95fafcf3609685212fe46efa43b11825 (diff)
add rss meta link
Diffstat (limited to 'src/templates/apps/room/list.html')
-rw-r--r--src/templates/apps/room/list.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/templates/apps/room/list.html b/src/templates/apps/room/list.html
index a8c8954..126c591 100644
--- a/src/templates/apps/room/list.html
+++ b/src/templates/apps/room/list.html
@@ -2,7 +2,6 @@
{% load prefix %}
{% load datehumanize %}
{% load roomurl %}
-{% load prefix %}
{% load tagging_tags %}
{% block widgets %}
$("#rooms").accordion({
@@ -15,6 +14,11 @@
autoHeight: false
});
{% endblock %}
+{% block meta %}
+{% if tags %}
+<link rel="alternate" type="application/rss+xml" title="{{title}} (RSS 2.0)" href="{% prefix %}/room/+{{tags}}.rss" />
+{% endif %}
+{% endblock %}
{% block content %}
<h1>{{title}}</h1>
{% if rooms %}