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

Set content type to "json" by default

Started by Michael Gollmer 6 years ago · 1 replies · 569 views
6 years ago

Hi there,

I wanted to deliver a lot of my content in json - so I just asked myself if there is a possibility to set the content type of a page (blueprint) to "JSON" by default. The current way I know is to go to the "advanced" tab of the page and set the "Append URL extension" to ".json" by hand.

Regards,
Michael

Suggested topics

Topic Participants Replies Views Activity
Support · by Paul Hodges, 6 days ago
13 217 3 hours ago
Support · by gtx, 4 days ago
2 125 3 days ago
Support · by Anna, 2 weeks ago
9 300 3 days ago
Support · by TomW, 1 week ago
4 164 6 days ago
Support · by Anna, 1 week ago
4 172 7 days ago