hugo/tpl/tplimpl
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
..
embedded Add support for Google Analytics v4 2021-03-03 13:30:06 +01:00
shortcodes.go media: Make Type comparable 2021-03-14 15:21:54 +01:00
shortcodes_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
template.go tpl: Fix race condition in text template baseof 2021-01-22 19:25:45 +01:00
template_ast_transformers.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
template_ast_transformers_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
template_errors.go Fix baseof with regular define regression 2020-01-23 19:54:06 +01:00
template_funcs.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
template_funcs_test.go Add Dart Sass support 2020-12-30 17:32:25 +01:00
template_info_test.go Add Dart Sass support 2020-12-30 17:32:25 +01:00
template_test.go Fix base template handling with preceding comments 2020-01-30 23:44:42 +01:00
templateFuncster.go Rework template handling for function and map lookups 2019-12-12 10:04:35 +01:00
templateProvider.go tpl/tplimpl: Rework template management to get rid of concurrency issues 2020-01-22 09:39:49 +01:00