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?
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 | 40 | 16 hours ago | ||
| 0 | 121 | 1 week ago | ||
| 2 | 185 | 1 week ago | ||
| 0 | 235 | 3 weeks ago | ||
| 1 | 211 | 4 weeks ago |