diff options
author | Leif Johansson <leifj@sunet.se> | 2011-05-12 09:34:18 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-05-12 09:34:18 +0200 |
commit | 13783dd92342bb175dea483d7e869ef701f01de6 (patch) | |
tree | 4ba38536d53915ed41c10c18d9fe5dfc29119c47 /src/templates/apps/room | |
parent | 323a8afc95fafcf3609685212fe46efa43b11825 (diff) |
add rss meta link
Diffstat (limited to 'src/templates/apps/room')
-rw-r--r-- | src/templates/apps/room/list.html | 6 |
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 %} |