diff options
author | Struan Donald <struan@exo.org.uk> | 2014-03-12 15:15:13 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2014-04-08 13:21:09 +0100 |
commit | ff7ab3c5472035007ea919cbad6a55d4f2e5c3ec (patch) | |
tree | 4afae603c0b1670fe679f790208e66d194b16cd2 | |
parent | f1446b4f149bafff477fc3c0cc2b3636c683d6ae (diff) |
split out RSS link tag to its own template
makes removing RSS from cobrands much easier
-rw-r--r-- | templates/web/default/common_header_tags.html | 4 | ||||
-rw-r--r-- | templates/web/default/header_rss.html | 3 |
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 %] |