diff options
-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 %] |