Custom <title> tag is not working in- Picture Window template powered by Blogger


#1

I am trying to display different title for blog posts/pages and index page using Picture Window Template of Blogger. I am just replacing

 <title><data:blog.pageTitle/></title>

code with this one:

<b:if cond=’data:blog.pageType == “item”‘>
<title><data:blog.pageName/> | <data:blog.title/></title>
<b:else/>
<title><data:blog.pageTitle/></title> </b:if>

But it is not working. It is still showing Blog title then page name or post name in the title bar. I want to show page or post name first then blog name.

When I replaced the code and saved it then there was no error.

Please help!!!


#2

It was showing correctly on your blog. The page name is showing first and then blog title.


#3

@IAMPARWINDER, you should try this code:

<b:if cond='data:blog.pageType == "item"'>
<title><data:blog.pageName/> | <data:blog.title/></title>
<b:else/>
<title><data:blog.pageTitle/></title> </b:if>

there were some signs mistakes. :smile: