Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Is it a way to get the "content - summary" in a twig template ?

Started by FrViPofm 1 hour ago · 0 replies · 3 views
1 hour ago

Hi,
Trying to make a carousel, my question is "how can I use the best with the content". My idea is to split the content with === for getting easily a summary that can be the opening generic as a first slide, and the part after the `===` for the credits. The images are in page.media or in an array in the header.

Is it a way to get the end of the markdown, the content - summary or at least, to get the pure markdown of them to make the difference ?

Thanks for your suggestions.

last edited 09/20/26 by FrViPofm

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by stuart young, 1 month ago
3 480 1 month ago
Themes & Styling · by Sebadamus, 2 months ago
5 478 1 month ago
Themes & Styling · by martynfoster735, 2 months ago
1 457 2 months ago
Themes & Styling · by Justin Young, 2 months ago
1 488 2 months ago
Themes & Styling · by Slebeig, 3 months ago
4 614 3 months ago