aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2014-03-12 15:15:13 +0000
committerStruan Donald <struan@exo.org.uk>2014-04-08 13:21:09 +0100
commitff7ab3c5472035007ea919cbad6a55d4f2e5c3ec (patch)
tree4afae603c0b1670fe679f790208e66d194b16cd2 /templates
parentf1446b4f149bafff477fc3c0cc2b3636c683d6ae (diff)
split out RSS link tag to its own template
makes removing RSS from cobrands much easier
Diffstat (limited to 'templates')
-rw-r--r--templates/web/default/common_header_tags.html4
-rw-r--r--templates/web/default/header_rss.html3
2 files changed, 4 insertions, 3 deletions
diff --git a/templates/web/default/common_header_tags.html b/templates/web/default/common_header_tags.html
index 1080e8a88..cd6b4ab3a 100644
--- a/templates/web/default/common_header_tags.html
+++ b/templates/web/default/common_header_tags.html
@@ -33,9 +33,7 @@
<meta name="robots" content="noindex,nofollow">
[% END %]
-[% IF rss %]
- <link rel="alternate" type="application/rss+xml" title="[% rss.0 %]" href="[% rss.1 %]">
-[% END %]
+[% INCLUDE 'header_rss.html' %]
<title>
[% "$title :: " | html IF title %]
diff --git a/templates/web/default/header_rss.html b/templates/web/default/header_rss.html
new file mode 100644
index 000000000..b93a2e7fc
--- /dev/null
+++ b/templates/web/default/header_rss.html
@@ -0,0 +1,3 @@
+[% IF rss %]
+ <link rel="alternate" type="application/rss+xml" title="[% rss.0 %]" href="[% rss.1 %]">
+[% END %]