Changing the way Blogger presents title tags

By default, Blogger templates come with a 'smart' tag that automatically puts the title of your blog in the title tag if you are on the main page and on article pages it uses the format: BlogTitle: Article Title.
I wanted to change my blog's title tag so that is puts the title of my post first followed by the name of my blog. Here is the code if you want to do the same:
<title>
<MainOrArchivePage><$BlogTitle$></MainOrArchivePage>
<ItemPage><Blogger><$BlogItemTitle$></Blogger> - <$BlogTitle$></ItemPage>
</title>

Use the above code in place of: <title><$BlogPageTitle$></title>

Update 13 NOV 06: If you are looking for a way to do this in the new Blogger Beta, it is a little more complicated. Instructions are outlined here: Widget Based XML: Changing the Blogger Title Tag

Tags: , , , ,

14 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home