Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Set content type to "json" by default

Started by Michael Gollmer 6 years ago · 1 replies · 649 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 Marcel, 5 days ago
0 84 5 days ago
Support · by JakobDB, 6 days ago
1 91 6 days ago
Support · by ramenos, 7 days ago
3 103 6 days ago
Support · by gravinator, 2 weeks ago
3 229 7 days ago
Support · by Roger Parkinson, 2 weeks ago
3 308 2 weeks ago