Sunday, May 18, 2008

Finally - Replace the Blog Title with Post Title in Blogger

They finally did it! Blogger now has the 'pageName' tag that allows you to add the post title as the page title instead of the blog title: post title. This has been a bane with Blogger for quite a long time.

Just add this code after the Blogger [head] tag (note: gt and lt signs are replaced with [])

[b:include data='blog' name='all-head-content'/]
[b:if cond='data:blog.url == data:blog.homepageUrl']
[title][data:blog.pageTitle/][/title]
[b:else/]
[title][data:blog.pageName/][/title]
[/b:if]

Note that this is only for the new Blogger template - not the old template.

1 Comments:

Anonymous Anonymous said...

I found this site using [url=http://google.com]google.com[/url] And i want to thank you for your work. You have done really very good site. Great work, great site! Thank you!

Sorry for offtopic

11:05 PM  

Post a Comment

Links to this post:

Create a Link

<< Home