Fix incorrect MIME type from image/jpg to image/jpeg

According to multiple sources, both official ([IANA] and [RFC2046]) and
otherwise (eg, [Mozilla] and [Wikipedia]), the official MIME type for
JPEG images is `image/jpeg`, not `image/jpg`.  Change Hugo to match.

[IANA]: https://www.iana.org/assignments/media-types/media-types.xhtml#image
[RFC2046]: https://tools.ietf.org/html/rfc2046
[Mozilla]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types
[Wikipedia]: https://en.wikipedia.org/wiki/JPEG
This commit is contained in:
John Zaitseff authored and Bjørn Erik Pedersen committed 2019-12-19 18:02:11 +01:00
1 parent f92f77c5d4
commit 626e53b550
3 files changed
+6 -6

No files matched your search

+3 -3
View File
@@ -1501,10 +1501,10 @@
]
},
{
"type": "image/jpg",
"string": "image/jpg",
"type": "image/jpeg",
"string": "image/jpeg",
"mainType": "image",
"subType": "jpg",
"subType": "jpeg",
"delimiter": ".",
"suffixes": [
"jpg",