Fix incorrect MIME type from image/jpg to image/jpeg
authorJohn Zaitseff <J.Zaitseff@zap.org.au>
Thu, 19 Dec 2019 14:04:18 +0000 (01:04 +1100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 19 Dec 2019 17:02:11 +0000 (18:02 +0100)
commit158e7ec204e5149d77893d353cac9f55946d3e9a
tree24730223af9e728ef2802088ed7fff3a86f4ec7a
parenteef934ae7eabc38eeba386831de6013eec0285f2
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
docs/content/en/content-management/image-processing/index.md
docs/content/en/content-management/page-resources.md
docs/data/docs.json
hugolib/image_test.go
media/mediaType.go
resources/images/image.go