Breaking News

how to display title of post in your browser tab instead of page title or Blog Title Is Showing First In Place of Blog Post

i had searched for several website, for displaying post title for different page it will be different 

but in general you need to 

search for tags with <title><*******</title>is will be your page title replace it with following code  in your HTML code 

Example:-

or
<title><data:view.title.escaped/></title>

or

<title><data:blog.pageTitle/></title>


and replace it with 


 <title>
  <b:if cond='data:blog.pageType == "index"'>
   <data:blog.pageTitle/>
  <b:else/>
   <b:if cond='data:blog.pageType != "error_page"'>
    <data:blog.pageName/> - <data:blog.title/>
   <b:else/>
    ERROR 404 - <data:blog.title/> 
   </b:if>
  </b:if>
    </title>


No comments