Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

Get page content without format and limit the number of characters

Started by Usk70 9 years ago · 1 replies · 712 views
9 years ago

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?

Suggested topics

Topic Participants Replies Views Activity
General · by Andy Miller, 2 days ago
0 72 2 days ago
General · by Veehem, 3 days ago
0 111 3 days ago
General · by milkboy, 4 days ago
0 113 4 days ago
General · by ian russell, 2 weeks ago
2 205 1 week ago
General · by pamtbaau, 1 month ago
2 462 2 weeks ago