Add a Post-Title Instead Header (Post-Pages)


#1

Hello!

I have a new coded template from zero, i need to replace Blog Title with Post-Title only in post pages.

I use a code to hide Title Blog only in post page.

Home Page : www 7ibretest.blogspot dot com

Post Page : www 7ibretest.blogspot dot com /2015/11/blog-post.html :slight_smile:


#2

Goto Template>Edit HTML > Head Section and there you will see some code similar to this >

<!-- Title (start) -->
<title>
مدونة حبر تجريب
</title>
<!-- Title (end) -->

Replace the above code with the code mentioned below.

<!-- Title (start) -->
<b:if cond='data:blog.pageType == &quot;index&quot;'>
<title><data:blog.pageTitle/></title> 
<b:else/>
<title><data:blog.pageName/> ~ <data:blog.title/></title>
</b:if>
<!-- Title (start) -->