aboutsummaryrefslogtreecommitdiffhomepage
path: root/transform/urlreplacers
AgeCommit message (Collapse)Author
2022-03-17all: gofmt -w -r 'interface{} -> any' .Bjørn Erik Pedersen
Updates #9687
2020-12-16all: Fix minor typosPhil Davis
2020-12-03all: Format code with gofumptBjørn Erik Pedersen
See https://github.com/mvdan/gofumpt
2020-06-14Fix aliases with relativeURLsHelder Pereira
2019-08-06 transform/urlreplacers: Cache the next position of `urlreplacer.prefix`HyeonGyu Lee
Improved performance due to `bytes.Index` repeated calls Fixes #5942
2019-03-24all: Apply staticcheck recommendationsBjørn Erik Pedersen
2019-03-23Run gofmt -sBjørn Erik Pedersen
2019-02-26Rewrite relative action URLSBerin Larson
Fixes #5701
2018-12-17transform/urlreplacers: Simplify implementationBjørn Erik Pedersen
2018-12-17transform/urlreplacers: Support unquoted URLs in canonifyURLs replacerBjørn Erik Pedersen
Fixes #5529
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