How to enable post excerptions on posts cards on homepage
pauloiys opened this issue · comments
Paulo commented
Hi, @royalfig just would like to know how to enable posts exception in three lines in post cards in the home page like this. need support with code according to the theme.
Ryan Feigenbaum commented
You'll need to update this file: https://github.com/royalfig/smart/blob/bdb249bd9abe7f04f970b0e619d1a0997a238e2a/partials/card.hbs#enroll-beta
Paulo commented
Just tried but not work well with
<p class='sm-excerpt'>{{excerpt}}</p>
not only need to show a custom excerpt if there is no custom one, then the first post content in 30 sentences to show in excerpt.
can you point out the code with which lines of card.hbs to be exactly updated with.