Get page content without format and limit the number of characters

I want to get the content of a given page but without format and limiting output to n characters. The idea is to include the first part of content in an index of pages. Similar to list of blog posts.

Any tips?

Hi @Usk70, just checking to see if you already saw this but it is not exactly what you need re: size: int ? https://learn.getgrav.org/content/headers#summary

1 Like