hugo/output
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 Fix typo in docshelper.go 2021-04-01 18:44:39 +02:00
layout.go media: Make Type comparable 2021-03-14 15:21:54 +01:00
layout_test.go media: Make Type comparable 2021-03-14 15:21:54 +01:00
outputFormat.go media: support application/manifest+json 2021-06-18 13:11:44 +02:00
outputFormat_test.go media: Make Type comparable 2021-03-14 15:21:54 +01:00