Table of Content

by Nandupatel on March 16, 2009

Want to add table of Content in your blog.

here are step:

1. Log in to your blogger account.
2. Go to Layout>>Edit HTML
3. Click on small box Expand widget templates.
4. Find this Code: <b:include data=’post’ name=’post’/>

5. Replace that code with Below 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:#999999;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>

6. Save your template.
7. Then Copy and paste below code where you want to show your link. I did in widget call Blog Content. Check it Out.

<a href="http://indianmonsters.blogspot.com/search?max-results=200">Show all post &raquo;&raquo;</a>

Change name and number with your blogger name and a number you want to show post per page.

Leave a Comment

Previous post:

Next post: