Friday, August 17, 2007

Only show "Post Title" at Lable and Archive Page

This trick can improve Blog loading speed and not to display all the content on the Lable and Archive Page

Step 1:
Step 1:

On your Dashboard, select Layout. This will take you to the Template tab. Click Edit HTML. Under the Edit Template section you will see you blog's HTML.



Step 2:
Look for this tag.

<b:include data='post' name='post'/>

Step 3:
Replace the above tag as below.

<b:if cond='data:blog.homepageUrl != data:blog.url'>
<b:if cond='data:blog.pageType != "item"'>
<h3 class='post-title'><a expr:href='data:post.url'><data:post.title/></a></h3>
<b:else/>
<b:include data='post' name='post'/>
</b:if>
<b:else/>
<b:include data='post' name='post'/>
</b:if>

Done!!