Skip to content
● Critical PHP security fixes are out: update PHP on your Grav sites. What to do →

Set content type to "json" by default

Started by Michael Gollmer 6 years ago · 1 replies · 754 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 webmasterodp, 2 weeks ago
4 248 2 weeks ago
Support · by nwhitfield, 2 weeks ago
2 214 2 weeks ago
Support · by stell, 4 weeks ago
5 458 3 weeks ago
Support · by gravinator, 2 months ago
5 638 3 weeks ago
Support · by Gravver, 1 month ago
6 430 4 weeks ago