diff options
author | John Zaitseff <J.Zaitseff@zap.org.au> | 2019-12-20 01:04:18 +1100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-12-19 18:02:11 +0100 |
commit | 158e7ec204e5149d77893d353cac9f55946d3e9a (patch) | |
tree | 24730223af9e728ef2802088ed7fff3a86f4ec7a /docs/data | |
parent | eef934ae7eabc38eeba386831de6013eec0285f2 (diff) |
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
Diffstat (limited to 'docs/data')
-rw-r--r-- | docs/data/docs.json | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/data/docs.json b/docs/data/docs.json index 0944ab881..18a9ac7ab 100644 --- a/docs/data/docs.json +++ b/docs/data/docs.json @@ -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", |