Finally - Replace the Blog Title with Post Title in Blogger

Sunday, May 18
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.

{0 comments}:

Post a Comment