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.
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.