summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-01-08 09:48:09 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-01-08 09:48:09 +0000
commit19d8fa23c79cf494df02ca2f334a0ec54a6da0fd (patch)
treedacedcc122368230bb12ef0381033d5af27e1968 /templates
parentcc50472cf641ae4605ec72473996776d68f55ff6 (diff)
downloadrss-19d8fa23c79cf494df02ca2f334a0ec54a6da0fd.tar.gz
rss-19d8fa23c79cf494df02ca2f334a0ec54a6da0fd.tar.bz2
rss-19d8fa23c79cf494df02ca2f334a0ec54a6da0fd.zip
clean up <link rel=...> stuff in <head>, turn the links into a customisable feature, only include certain links when feature is active
Diffstat (limited to 'templates')
-rw-r--r--templates/header_inc.tpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/header_inc.tpl b/templates/header_inc.tpl
index 3a0fedf..b245010 100644
--- a/templates/header_inc.tpl
+++ b/templates/header_inc.tpl
@@ -1,7 +1,9 @@
-{if $gBitSystem->isPackageActive( 'rss' )}
+{strip}
+{if $gBitSystem->isPackageActive( 'rss' ) and $gBitSystem->isFeatureActive( 'site_header_extended_nav' )}
<link rel="rss feeds" title="{tr}RSS Syndication{/tr}" href="{$smarty.const.RSS_PKG_URL}" />
{/if}
{if $gBitSystem->isPackageActive( 'rss' ) and $feedlink.url}
<link rel="alternate" type="application/rss+xml" title="{$feedlink.title|escape}" href="{$feedlink.url}" />
{/if}
+{/strip}