mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
158e7ec204
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 |
||
---|---|---|
.. | ||
images | ||
internal | ||
page | ||
resource | ||
resource_factories | ||
resource_transformers | ||
testdata | ||
image.go | ||
image_cache.go | ||
image_test.go | ||
resource.go | ||
resource_cache.go | ||
resource_cache_test.go | ||
resource_metadata.go | ||
resource_metadata_test.go | ||
resource_spec.go | ||
resource_test.go | ||
testhelpers_test.go | ||
transform.go | ||
transform_test.go |