From 376158e36adb633937e29e511d6ea943b4704b2e Mon Sep 17 00:00:00 2001 From: Jo-Herman Haugholt Date: Wed, 16 Jul 2008 07:50:09 +0000 Subject: Made the header RSS link reference the feed of the current blog instead of the general blog feed when the user is viewing a specific blog. (Works better with crawlers such as Technocrati) --- templates/header_inc.tpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/header_inc.tpl b/templates/header_inc.tpl index 7de28ad..267fcd7 100644 --- a/templates/header_inc.tpl +++ b/templates/header_inc.tpl @@ -1,7 +1,11 @@ -{* $Header: /cvsroot/bitweaver/_bit_blogs/templates/header_inc.tpl,v 1.12 2008/07/14 21:29:33 wjames5 Exp $ *} +{* $Header: /cvsroot/bitweaver/_bit_blogs/templates/header_inc.tpl,v 1.13 2008/07/16 07:50:09 huyderman Exp $ *} {strip} {if $gBitSystem->isPackageActive( 'rss' ) and $gBitSystem->isFeatureActive( 'blogs_rss' ) and $smarty.const.ACTIVE_PACKAGE eq 'blogs' and $gBitUser->hasPermission( 'p_blogs_view' )} + {if !isset($gContent->mBlogId)} + {else} + + {/if} {/if} {* this is for ajaxing the readmore portion of blog posts. * this is ugly, but because recent posts are handled by dynamic center outside of the blog package we have -- cgit v1.3