when a new blog is created it has <title> tag in such a way that if Blog's its homepage is opened it will show TITLE in title bar. But if any Post or Page is opened it will show (Post title | Blog title) it the title bar, this is to be changed to (Blog title | Post title). In Edit HTML;
Find this code:
<title><data:blog.page.Title></title>
Replace it with:
<b:if cond='data:blog.pageType == "item"'>
<title><data:blog.pageName /> | <data:blog.title /></title>
<b:else/>
<title><data:blog.pageTitle /></title>
</b:if>
save template. An example of this code is working in my Blog.
Find this code:
<title><data:blog.page.Title></title>
Replace it with:
<b:if cond='data:blog.pageType == "item"'>
<title><data:blog.pageName /> | <data:blog.title /></title>
<b:else/>
<title><data:blog.pageTitle /></title>
</b:if>
save template. An example of this code is working in my Blog.
Comments
Post a Comment