---
title: 'Is it a way to get the "content - summary" in a twig template ?'
url: 'https://getgrav.org/forum/themes-styling/is-it-a-way-to-get-the-content-summary-in-a-twig-template-t9431'
markdown: 'https://getgrav.org/forum/themes-styling/is-it-a-way-to-get-the-content-summary-in-a-twig-template-t9431.md'
date: '2026-06-21'
description: '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'
---

[Themes & Styling](https://getgrav.org/forum/themes-styling)

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

  Started by FrViPofm 2 months ago · 4 replies · 680 views    

 [2 months ago](https://getgrav.org/forum/themes-styling/is-it-a-way-to-get-the-content-summary-in-a-twig-template-t9431#post-41944 "Permalink") 

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

 [2 months ago](https://getgrav.org/forum/themes-styling/is-it-a-way-to-get-the-content-summary-in-a-twig-template-t9431#post-41945 "Permalink") 

Not sure what you are trying to achieve... A carousel shows multiple media files. How would you store the summary and credits for each image in the content of a page?

Did you have a look at [Metafiles](https://learn.getgrav.org/2/content/media#metafiles)

 [2 months ago](https://getgrav.org/forum/themes-styling/is-it-a-way-to-get-the-content-summary-in-a-twig-template-t9431#post-41964 "Permalink") 

The carrousel has a master page with medias. We can get the whole content of the page with `page.content`, we can get the *summary* from the *content* with page `page.summary`. But is it a way to get the end of the content : kind of `page.content - page.summary` ?

 [2 months ago](https://getgrav.org/forum/themes-styling/is-it-a-way-to-get-the-content-summary-in-a-twig-template-t9431#post-41966 "Permalink") 

Not trying to flame you, but I'm still confused... You want the content of a page without the summary? In that case, what has "carousel" got to do with the question...

Anyway...

- Have you searched for "[content without summary](https://getgrav.org/forum/search?q=content%20without%20summary)" here on the forum?
    Then first hit suggests a solution mentioned in the cookbook section of the documentation.
- Have you searched for "content without summary" on the documentation site?
    First hit also points to a possible solution in the cookbook.

Does the solution work for you?

last edited 09/25/26 by pamtbaau

 [1 month ago](https://getgrav.org/forum/themes-styling/is-it-a-way-to-get-the-content-summary-in-a-twig-template-t9431#post-41981 "Permalink") 

Might this be the type of thing you are looking for [@FrViPofm](https://getgrav.org/forum/u/FrViPofm) ? <https://learn.getgrav.org/2/cookbook/twig-recipes#displaying-page-content-without-summary>

last edited 09/29/26 by Paul Hibbitts

[Log in](https://getgrav.org/login?return=%2Fforum%2Fthemes-styling%2Fis-it-a-way-to-get-the-content-summary-in-a-twig-template-t9431) to reply.

###  Suggested topics

 | Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| [Inheriting a Theme does not quite work correctly](https://getgrav.org/forum/themes-styling/inheriting-a-theme-does-not-quite-work-correctly-t9501)    [Themes & Styling](https://getgrav.org/forum/themes-styling) · by themetman, 5 days ago |  | 1 | 92 | [2 days ago](https://getgrav.org/forum/themes-styling/inheriting-a-theme-does-not-quite-work-correctly-t9501 "by themetman") |
| [Grav2 with Quark2 – All pages in the hamburger-menu of a one-pager](https://getgrav.org/forum/themes-styling/grav2-with-quark2-all-pages-in-the-hamburger-menu-of-a-one-pager-t9485)    [Themes & Styling](https://getgrav.org/forum/themes-styling) · by AH, 3 weeks ago |  | 1 | 218 | [2 days ago](https://getgrav.org/forum/themes-styling/grav2-with-quark2-all-pages-in-the-hamburger-menu-of-a-one-pager-t9485 "by AH") |
| [\[quark\] mobile menu as the modular page menu](https://getgrav.org/forum/themes-styling/quark-mobile-menu-as-the-modular-page-menu-t1132)    [Themes & Styling](https://getgrav.org/forum/themes-styling) · by Bruno, 4 years ago |  | 6 | 1376 | [2 days ago](https://getgrav.org/forum/themes-styling/quark-mobile-menu-as-the-modular-page-menu-t1132 "by AH") |
| [Modular Page Background Image Display](https://getgrav.org/forum/themes-styling/modular-page-background-image-display-t9486)    [Themes & Styling](https://getgrav.org/forum/themes-styling) · by TomW, 2 weeks ago |  | 2 | 221 | [4 days ago](https://getgrav.org/forum/themes-styling/modular-page-background-image-display-t9486 "by TomW") |
| [Website shifting](https://getgrav.org/forum/themes-styling/website-shifting-t3226)    [Themes & Styling](https://getgrav.org/forum/themes-styling) · by johan thomas, 5 years ago |  | 1 | 965 | [2 months ago](https://getgrav.org/forum/themes-styling/website-shifting-t3226 "by sophiacarters") |
