FANDOM


PlatformEdit

Blogger Classic


AuthorEdit

Scott Kingery


HomepageEdit

Tech.Life.Blogged [1]


Required SkillsEdit

Ability to edit your Blogger Classic template code


DescriptionEdit

By default, Blogger Classic templates come with a 'smart' tag that automatically puts the title of your blog in the page title tag. So even when viewing an individual post, the title bar at the top of the browser window still shows the name of the blog rather than the title of that post.

For search engine optimization sake, as well as simple aesthetics, you may want to give each of your (classic) Blogger-based pages a unique title.

This code changes your blog's page title tag so that is puts the title of the post first, followed by the name of the blog.


MethodEdit

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

<title>

 <MainOrArchivePage><$BlogTitle$></MainOrArchivePage>
 <ItemPage><Blogger><$BlogItemTitle$></Blogger> - <$BlogTitle$></ItemPage>

</title>


Alternatively, if you'd rather have the name of your blog first, followed by each blog's page title tag, you can shuffle the elements like this:

<title>

 <MainOrArchivePage><$BlogTitle$></MainOrArchivePage>
 <ItemPage><$BlogTitle$> - <Blogger><$BlogItemTitle$></Blogger></ItemPage>

</title>


Sites Using This HackEdit

2Dolphins [2]

A Consuming Experience [3]

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.