In Ghost 2.7.1 Words And Characters Limit Not Working


#1
{{#foreach posts}}
    <div class="blog-list">
        <div class="list-block block-{{@number}} wow fadeIn" data-wow-duration="2s">
            <span>{{date published_at format="DD MMMM Y"}}</span>
            <h2><a href="{{url}}">{{title}}</a></h2>
            <p>{{excerpt characters="5"}}</p>
            <div class="btn-read"><a href="{{url}}">Read More</a></div>
        </div>
    </div>
    {{/foreach}}

In The Post Loop Excerpts Words Or Characters Limit Are Not Working. Any One Facing The Same Problem In Ghost 2.7.1 Version .


#2

Hey Rubel!

Do you maybe use custom excerpt for your posts? The characters attribute is ignored in that case.

:point_right: https://docs.ghost.org/api/handlebars-themes/helpers/excerpt/


#3

i am using “excerpt” not “custom_excerpt”. I think It is a bug.


#4

This works fine.

@Rubel What Aileen meant is: Are you making use of this feature https://blog.ghost.org/custom-excerpts/?


#5

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.