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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Set content type to "json" by default

Started by Michael Gollmer 6 years ago · 1 replies · 446 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 Thomas, 1 week ago
2 54 12 hours ago
Support · by Anna, 3 days ago
2 60 15 hours ago
Support · by Justin Young, 15 hours ago
1 30 15 hours ago
Support · by Duc , 1 week ago
2 65 5 days ago
Support · by Colin Hume, 1 week ago
2 57 5 days ago