making "read more"

Discussion in 'Blogging' started by wijasenna, Dec 18, 2007.

  1. #1
    hi!
    i need to know how to shorten my article by using "read more" tag. i'm using blogspot. anybody know how to do that?
     
    wijasenna, Dec 18, 2007 IP
  2. uglyboy

    uglyboy Peon

    Messages:
    1,963
    Likes Received:
    134
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Add the following code to your template, somewhere after the <$BlogItemBody$> or <data:post.body/> tag:

    (for classic templates)

    <MainOrArchivePage><br />
       <a href="<$BlogItemPermalinkURL$>">Read more!</a>
    </MainOrArchivePage>
    Code (markup):
    (for layouts)

    <b:if cond='data:blog.pageType != "item"'><br />
       <a expr:href='data:post.url'>Read more!</a>
    </b:if>
    Code (markup):

    read more :p


    Create expandable post summaries
     
    uglyboy, Dec 18, 2007 IP