Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-03-24all: Apply staticcheck recommendationsBjørn Erik Pedersen
2018-12-07minifiers: Fixx CSS2 color code handlingBjørn Erik Pedersen
Fixes #5506
2018-11-07deps: Update minifyBjørn Erik Pedersen
No functional changes, just support for Go Modules.
2018-09-13minifiers: Set minifier to KeepEndTagsAlexandros
See: https://github.com/tdewolff/minify/blob/948b6490cf3cacab5f4d7474104c3d21bf6eda46/README.md#L171
2018-09-12minifiers: Make JSON minification more genericJames Kiefer
Add a regex matcher for json types. Specifically support LD+JSON which allows for google seo minification out of the box. Expanded JS/JSON minification testing.
2018-08-28Improve minifier MIME type resolutionBjørn Erik Pedersen
This commit also removes the deprecated `Suffix` from MediaType. Now use `Suffixes` and put the MIME type suffix in the type, e.g. `application/svg+xml`. Fixes #5093
2018-08-25minfiers: Keep end tagsvsopvsop
Fixes #5112
2018-08-18minifiers: Do not strip IE conditional statementsBjørn Erik Pedersen
Fixes #5089
2018-08-14minifiers: Make the JS minifier matcher less specificBjørn Erik Pedersen
Fixes #5073
2018-08-06Add support for minification of final outputBjørn Erik Pedersen
Hugo Pipes added minification support for resources fetched via ´resources.Get` and similar. This also adds support for minification of the final output for supported output formats: HTML, XML, SVG, CSS, JavaScript, JSON. To enable, run Hugo with the `--minify` flag: ```bash hugo --minify ``` This commit is also a major spring cleaning of the `transform` package to allow the new minification step fit into that processing chain. Fixes #1251