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?
Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
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
Log in to reply.
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 2 | 76 | 8 hours ago | ||
| 1 | 47 | 12 hours ago | ||
| 0 | 44 | 1 day ago | ||
| 6 | 346 | 5 days ago | ||
| 3 | 40 | 5 days ago |