grav icon indicating copy to clipboard operation
grav copied to clipboard

Allow for overriding content-type of html, rss, atom, etc

Open 9p4 opened this issue 2 years ago • 1 comments

In the code https://github.com/getgrav/grav/blob/490bdd6ce7aaae315c033ca5af112a778a42455a/system/src/Grav/Common/Utils.php#L800, Grav hardcodes the content type for some extensions. I want to have a different content type returned for atom/rss in order to style it with xslt.

9p4 avatar Jul 27 '23 18:07 9p4

You can override the mimetype with your own custom plugin.

rhukster avatar Oct 02 '23 16:10 rhukster