First, you need to know that you are facing the dreaded html editing, but I will make this as simple as I can. Ok, let's get started.
Open your Dashboard and go to 'Layout'. Choose the 'Edit HTML' tab. Find </head> in the html code. Once you find it, paste the following code right before the </head> tag:
<style>So it will look like this:
<b:if cond='data:blog.pageType == "item"'>
span.fullpost {display:inline;}
<b:else/>
span.fullpost {display:none;}
</b:if>
</style>
Save the template. Next you need to check the 'Expand widgets' checkbox. Then look for the tag <data:post.body/>. Once you found it, you need to add the following code right after it:]]></b:skin>
<style>
<b:if cond='data:blog.pageType == "item"'>
span.fullpost {display:inline;}
<b:else/>
span.fullpost {display:none;}
</b:if>
</style></head>
<b:if cond='data:blog.pageType != "item"'>If you do it correctly, your code should look like the this:
<a expr:href='data:post.url' >Read more...</a>
</b:if>
<data:post.body><b:if cond='data:blog.pageType != "item"'>Ok you are done for the html part. Now moving on to your posts. To cut off lengthy article, type your post like this:
<a expr:href='data:post.url' >Read more...</a>
</b:if>
A catchy summary of the articleThe words inside the <span class="fullpost"></span> be replaced by a 'Read more...' link.
<span class="fullpost">The lengthy description</span>
Reference: http://help.blogger.com/bin/answer.py?hl=en&answer=42215
No comments:
Post a Comment