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.


No comments:

 
Get This <