Showing only post titles on your homepage is a design choice, not an SEO fix. Your homepage and your post page are two different pages, and Google simply picks one version to show in search results. It does not punish your blog for that. Hiding the post body on the homepage will not remove duplicate content, and it will not raise your rankings. It only makes your homepage look cleaner, with a short list of titles that readers can click to open the full post.

show-post-title-only-on-homepage-in-blogger


In WordPress, there are many plugins to do this task. But in bloggers, there is no such plugin. But now in blogger, we can do this.



This is a very easy hack and anybody can apply this hack to his/her blog. And a good thing about this is that we can apply it in any blogger template. It will show only the post titles on your blog homepage. When you click on a title, it will take you straight to the full post.

How To Show Post Title Only On Homepage


Step 1: From your Blogger dashboard, go to Theme.

Step 2: And the Edit HTML.

show-post-title-only-on-homepage-in-blogger


Step 3: And now search for the </head> tag. ( Use Ctrl+F for searching)

Step 4: Just above </head> tag paste the code given below:

<style type='text/css'>
<b:if cond='data:blog.url == data:blog.homepageUrl'>
.post {
margin:.5em 0 1.5em;
border-bottom:0px dotted $bordercolor;
padding-bottom:1.0em;
height:50px;
}
.post h3 {
margin:.25em 0 0;
padding:0 0 4px;
font-size:20px;
font-family:Tahoma,Georgia,Century gothic,Arial,sans-serif;
font-weight:normal;
line-height:1.4em;
color:#cc6600;
}
.post h3 a, .post h3 a:visited, .post h3 strong {
display:block;
text-decoration:none;
color:#cc6600;
font-weight:normal;
}
.post h3 strong, .post h3 a:hover {color:#333333;}
.post-body {display:none;}
.post-footer {display:none;}
.comment-link {display:none;}
.post img {display:none;}
.post blockquote {display:none;}
.post blockquote p {display:none;}
h2.date-header {display:none;}
.post-labels {display:none;}
.post-rating {display:none;}
</b:if>
</style>
One thing to know before you use this code: display:none only hides the post on the screen. The full post text is still there in your page's code, so Google can still read it. This trick changes how your homepage looks. It does not delete the post, and it does not stop Google from seeing it.


Step 5: Now click on Save Theme and you are done.

Before You Use This

Before you use this trick, keep three things in mind. First, the code only runs on your homepage. Your full posts still show normally on their own pages. Second, the fixed height in the code is 50px, so a long title can get cut off. If your titles are long, raise that number until they fit. Third, take a backup of your theme before you edit it. Go to Theme, click the arrow next to Customize, and choose Backup, so you can restore your old theme if something looks wrong.

Last Words

I hope you have understood it. Comment your views and feedback about this post through comment box.