How to change Blogger title tag for each post

Discussion in 'HTML & Website Design' started by acatmusic, May 17, 2011.

  1. #1
    On my sites is hosted through Blogger and a problem i am having is that the title for all my posts includes my Main Sites Title

    (For example: My sites name is 'MONEY BLOG' and if i create a post with the name 'EASY MONEY' then the title for the posts page will be 'MONEY BLOG: EASY MONEY')

    I would like to change my blogger template so that every post page has its own title.

    I think i have to change this part of my blogger template but im not sure what to change it to in order to achieve the desired change.

        <b:if cond='data:blog.isMobile'>
          <meta content='width=device-width,minimum-scale=1.0,maximum-scale=1.0' name='viewport'/>
        <b:else/>
          <meta content='width=1100' name='viewport'/>
        </b:if>
        <b:include data='blog' name='all-head-content'/>
        <title><data:blog.pageTitle/></title>
    
        <b:skin><![CDATA[/*
    Code (markup):
     
    acatmusic, May 17, 2011 IP
  2. sebasago

    sebasago Peon

    Messages:
    206
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I looked into this recently and was surprised to find you have to add this code for EVERY post you have...

    <b:if cond='data:blog.url == http://yourdomain.blogspot.com/'> <title>Your custom title</title></b:if>

    Something like that. PM me if you need more info. I can probably help you out.
     
    sebasago, May 17, 2011 IP