diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-01-08 09:48:09 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-01-08 09:48:09 +0000 |
| commit | 19d8fa23c79cf494df02ca2f334a0ec54a6da0fd (patch) | |
| tree | dacedcc122368230bb12ef0381033d5af27e1968 /templates | |
| parent | cc50472cf641ae4605ec72473996776d68f55ff6 (diff) | |
| download | rss-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.tpl | 4 |
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} |
