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 | |
parent | 323a8afc95fafcf3609685212fe46efa43b11825 (diff) |
add rss meta link
Diffstat (limited to 'src/templates')
-rw-r--r-- | src/templates/apps/room/list.html | 6 | ||||
-rw-r--r-- | src/templates/base.html | 3 |
2 files changed, 7 insertions, 2 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 %} diff --git a/src/templates/base.html b/src/templates/base.html index a405345..202ad1c 100644 --- a/src/templates/base.html +++ b/src/templates/base.html @@ -10,12 +10,13 @@ <link type="text/css" href="{% prefix %}/site-media/css/sunet/jquery-ui-1.8.11.custom.css" rel="stylesheet"> <link href="{% prefix %}/site-media/css/style.css" rel="stylesheet" type="text/css" /> <link href="{% prefix %}/site-media/css/gs.css" rel="stylesheet" type="text/css" /> + {% block meta %}{% endblock %} <script type="text/javascript" src="{% prefix %}/site-media/js/jquery-1.5.1.min.js"></script> <script type="text/javascript" src="{% prefix %}/site-media/js/jquery-ui-1.8.11.custom.min.js"></script> <script type="text/javascript" src="{% prefix %}/site-media/js/jquery.validate.js"></script> <script type="text/javascript" src="{% prefix %}/site-media/js/bbq.js"></script> <script type="text/javascript" src="{% prefix %}/site-media/js/jquery.form.wizard-3.0.4.js"></script> - + <script type="text/javascript" src="{% prefix %}/site-media/js/jquery.meetingtools.js"></script> <!--[if IE]> <link href="css/sunet-ie6.css" rel="stylesheet" type="text/css" /> <![endif]--> |