hugo/deploy
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 #8317
Fixes #8324
2021-03-14 15:21:54 +01:00
..
cloudfront.go build: Allow optional "nodeploy" tag to exclude deploy command from bin 2020-10-23 09:03:41 +02:00
deploy.go media: Make Type comparable 2021-03-14 15:21:54 +01:00
deployConfig.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
deployConfig_test.go build: Allow optional "nodeploy" tag to exclude deploy command from bin 2020-10-23 09:03:41 +02:00
deploy_azure.go build: Allow optional "nodeploy" tag to exclude deploy command from bin 2020-10-23 09:03:41 +02:00
deploy_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
google.go build: Allow optional "nodeploy" tag to exclude deploy command from bin 2020-10-23 09:03:41 +02:00