Kaie"s Blog 2.0 beta!
Back to "Top"

My Secret Notebook
 Show "Table of Contents"
Contact Me
Subscribe to my Posts feed
Subscribe to my Comments feed
My Flickr
Back to "Top"
My Secret Notebook
 Show "Table of Contents"
Contact Me
Subscribe to my Posts feed
Subscribe to my Comments feed
My Flickr

Saturday, November 11, 2006

[Blog] only show "Post Title" at Lable and Archive Page

一個蠻不錯的 Blogger Hack,可以加速網頁的Loading的速度,不會顯示所有內容!!

在Expand Widget Templates打勾的狀態下,找到底下這段:
<b:include data='post' name='post'/>
置換成底下這段:
<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>

3 Comments:

Who: Hope Class:
When: April 14, 2008 5:12 AM  
This comment has been removed by the author.
Who: 逗點文創結社 Class:
When: July 26, 2010 9:03 AM  

這個指令會把blogger現在新增的網頁編輯所作的網頁也隱藏到只剩標題耶...

Who: Unknown Class:
When: August 02, 2010 5:59 PM  

@逗點文創結社:

是的,看來得多加一個判斷式,去除掉"新增的網頁編輯"才能達到您的需求了...^^