Sorry for a second question in a very short time span, but is there a way to define what the excerpt should be? I've tried excerpt: "" in the header of the post to no avail. Specifically, I'd like to ensure it doesn't cut off in the middle of a sentence, and I would also like to be able to include an image... particularly if I'm just posting a picture and a sentence about it.
Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
You an use the === delimiter in your content to pick a specific location that will be the breakpoint for your summary/excerpt text. See the docs page for SUMMARY for more details for that one.
Make sure you have a blank line above and below:
summary text
===
main article text
Actually now I think about it, I don't think Mediator theme currently supports summary/excerpts like Antimatter does. I ported the Jekyll version directly and it had no support for that.
You can easily add it though by porting the logic from the partials/blog_item.html.twig from Antimatter to the appropriate listing page in Mediator theme.
Got it working. Thanks so much for your help and pointing me to that twig file.
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 0 | 1318 | 9 years ago | ||
| 2 | 915 | 9 years ago | ||
| 2 | 4044 | 9 years ago | ||
| 1 | 2920 | 9 years ago | ||
| 3 | 1103 | 9 years ago |