hugo/resources/page
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
..
page_generate
pagemeta
page.go
page_author.go
page_data.go
page_data_test.go
page_kinds.go
page_kinds_test.go
page_marshaljson.autogen.go
page_matcher.go
page_matcher_test.go
page_nop.go
page_outputformat.go
page_paths.go media: Make Type comparable 2021-03-14 15:21:54 +01:00
page_paths_test.go media: Make Type comparable 2021-03-14 15:21:54 +01:00
page_wrappers.autogen.go
pagegroup.go GroupByParamDate now supports datetimes 2020-12-28 17:50:55 +01:00
pagegroup_test.go GroupByParamDate now supports datetimes 2020-12-28 17:50:55 +01:00
pages.go
pages_cache.go
pages_cache_test.go
pages_language_merge.go
pages_prev_next.go
pages_prev_next_test.go
pages_related.go
pages_related_test.go
pages_sort.go
pages_sort_search.go
pages_sort_search_test.go
pages_sort_test.go
pages_test.go
pagination.go
pagination_test.go
permalinks.go
permalinks_test.go
site.go
testhelpers_test.go
weighted.go
zero_file.autogen.go