Sunday, February 14, 2021

Blogger: Tweeking the Contempo template


With the Contempo template, the homepage of the blog will show snippets of the most recent posts. To show the whole posts instead we can edit the HTML of the template as below.

Find the following location in the HTML code of the template:

    <b:if cond='data:view.isSingleItem'>
      <b:include data='post' name='postBody'/>
    <b:else/>
      <b:include data='post' name='postBodySnippet'/>
      <b:include data='post' name='postJumpLink'/>
    </b:if>

Change it into:

    <b:if cond='data:view.isSingleItem'>
      <b:include data='post' name='postBody'/>
    <b:else/>
      <b:include data='post' name='postBody'/>
      <b:include data='post' name='postJumpLink'/>
    </b:if>


The template also shows post snippets of Featured Posts and Popular Posts on the homepage. To disable that, go to Layout menu and disable them there.


2 comments:

Sajid Khan said...

I have specified 11 posts to show on my front page. I put jump breaks at the bottom of several posts. But I keep getting only four posts. I go to more posts, but I only see only two posts and sometimes I get only one post. What is the proble? Can you help?

By the way, your solution above works fine but I want to show posts with a summary since I have over 100 posts. Using a Contempo theme in Blogger. Thank you.

Amjad Majeed said...

How can we remove unused java scripts by using a mobile phone?

 
Get This <