hugo/tpl
Bjørn Erik Pedersen 789ef8c639
Add support for minification of final output
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
2018-08-06 19:58:41 +02:00
..
cast
collections
compare
crypto
data
encoding
fmt
images
inflect
internal
lang
math
os Remove alias of os.Stat 2018-08-06 09:54:26 +02:00
partials tpl/partials: Remove superflous loop 2018-07-31 13:28:15 +02:00
path
resources Add support for minification of final output 2018-08-06 19:58:41 +02:00
safe
strings
templates tpl/partials: Add templates.Exists 2018-07-31 13:28:15 +02:00
time
tplimpl tpl/partials: Add templates.Exists 2018-07-31 13:28:15 +02:00
transform
urls Add optional lang as argument to rel/relref 2018-07-18 00:07:20 +02:00
template.go