Blog Post Excerpt Not Working

  • I cannot seem to update post excerpts on existing posts, and for new posts no excerpts show up. I have the latest version installed but cannot see why it is not showing. Code is below - any help much appreciated. Thanks



    <div class="col-md-6 col-lg-4 mb-5 news-card">

    <perch:if exists="image">

    <a href="<perch:blog id="postURL" />" > <img src="<perch:blog id="image" type="image"/>" class="img-fluid" alt="<perch:blog id="postTitle" />" />

    </a></perch:if>

    <div class="outer">

    <div class="entry-published date"><i class="far fa-calendar-alt"></i><perch:blog id="postDateTime" format="j M Y" /></div>

    <h3><a href="<perch:blog id="postURL" />" class="entry-title"><perch:blog id="postTitle" /></a></h3>

    <div class="description entry-summary">

    <perch:blog id="excerpt" type="textarea" textile="true" chars="125" append="..." />

    </div>

    </div>

    <a href="<perch:blog id="postURL" />" class="btn-main btn-block"><span>Read more</span></a>

    </div>

  • marktaylor

    Changed the title of the thread from “Excerpt Not Working” to “Blog Post Excerpt Not Working”.
  • Turns out I had removed these 2 lines from the post.html


    <perch:blog id="excerpt" type="textarea" label="Excerpt" markdown="true" order="3" suppress="true" size="s" />

    <perch:blog id="image" type="image" width="50" height="50" crop="true" suppress="true" />


    What does the second line do/mean?


    Sorry to ask a dumb question, quite new to Perch.