mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-25 16:01:01 +00:00
ba1d0051b4
So we can use it and output.Format as map key etc. This commit also fixes the media.Type implementation so it does not need to mutate itself to handle different suffixes for the same MIME type, e.g. jpg vs. jpeg. This means that there are no Suffix or FullSuffix on media.Type anymore. Fixes #8317 Fixes #8324 |
||
---|---|---|
.. | ||
decoder.go | ||
decoder_test.go | ||
format.go | ||
format_test.go |