1
0
Fork 0
mirror of https://github.com/gohugoio/hugo.git synced 2025-03-18 18:33:14 +00:00
hugo/parser
Bjørn Erik Pedersen ba1d0051b4 media: Make Type comparable
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 
Fixes 
2021-03-14 15:21:54 +01:00
..
metadecoders media: Make Type comparable 2021-03-14 15:21:54 +01:00
pageparser all: Fix minor typos 2020-12-16 12:11:32 +01:00
frontmatter.go
frontmatter_test.go
lowercase_camel_json.go