hugo/media
Rohan Kumar 02f31897b4
media: support application/manifest+json
The standard file extension for Web App Manifest files is
".webmanifest". This commit allows Hugo to recognize .webmanifest files
as "application/manifest+json" files and to minify them using its
JSON minifier.

The .webmanifest file extension is recommended in the w3c spec to
simplify media type registration:
https://www.w3.org/TR/appmanifest/#media-type-registration

Webhint docs are also relevant:
https://webhint.io/docs/user-guide/hints/hint-manifest-file-extension/

Closes #8624
2021-06-18 13:11:44 +02:00
..
docshelper.go Some minify configuration adjustments 2020-03-20 20:35:57 +01:00
mediaType.go media: support application/manifest+json 2021-06-18 13:11:44 +02:00
mediaType_test.go Regression in media type suffix lookup 2021-04-20 12:51:11 +02:00