How to create a Index or Table of Content for your Blog



Well it is very easy to do so.Lets see how to do this???? 


1.Login to your blogger dashboard>Layout>Edit HTML>Tick the box next to Expand Widget Templates

2.Search for follwoing piece of code in your template:
<b:include data='post' name='post'/>






3.Remove the whole of the above code with the following piece of code:
<b:if cond='data:blog.homepageUrl != data:blog.url'> <b:if cond='data:blog.pageType != "item"'> <a expr:href='data:post.url'> <div style="padding:6px 0 6px 5px;border-right:1px solid #ccc;border-bottom:1px solid #ccc;margin-bottom:2px;background:#EAE9E9;color:#406A0E;"> <data:post.title/></div></a> <b:else/> <b:include data='post' name='post'/> </b:if> <b:else/> <b:include data='post' name='post'/> </b:if>
4.Click save template and you are 99% done. 5.Now what we need to do is to add a link in your blog to this table of content page. 6.Open your blog's Layout and click on Add a gadget> HTML/JavaScript 7.Add the following code into it:
<a href="http://YourBlogName.blogspot.com/search?max-results=200">Show all post »»</a>
8.Change YourBlogName with URL of your blog and hit save. Now you are 100% done. Enjoy Blogging!!!!!!!!!!




Share your views...

1 Respones to "How to create a Index or Table of Content for your Blog"

Anonymous said...

Thank You Very Much.. works well with my Blog

Post a Comment

You need not to login for making a comment.So please do comment about this post/trick.

 

© 2010 The Tech Pirate|Blogger Tutorials,Facebook Tips,Web News,PC Softwares & More... All Rights Reserved