diff options
author | jmmv <jmmv@pkgsrc.org> | 2019-01-02 19:59:32 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2019-01-02 19:59:32 +0000 |
commit | e013b539c550ac5c9ee7b6aca80f4e4a0a7c79cd (patch) | |
tree | 253a4786925dd56a15bebadae4f274d444722ede /www/ijb | |
parent | dc9d67b1f090b1c716fe1e55c07f20b378745cb3 (diff) | |
download | pkgsrc-e013b539c550ac5c9ee7b6aca80f4e4a0a7c79cd.tar.gz |
Update hugo to 0.53:
The main new features in this release are:
* You can now split your configuration into directories per environment.
Hugo did support multiple configuration files before this release, but
it was hard to manage for bigger sites, especially those with multiple
languages. With this we have also formalized the concept of an
environment; the defaults are production (when running hugo) or
development (when running hugo server) but you can create any
environment you like. We will update the documentation, but all the
details are in this issue. Also, see this PR for how the refactored
configuration for the Hugo website looks like.
* transform.Unmarshal (see
the documentation is a new and powerful template function that can
turn Resource objects or strings with JSON, TOML, YAML or CSV into
maps/arrays.
* Two new global variables in site and hugo. hugo gives you
version info etc. ({{ hugo.Version }}, {{ hugo.Environment }}), but
the site is probably more useful, as it allows you to access the
current site's variables (e.g. {{ site.RegularPages }}) without any
context (or ".").
This version is also the fastest to date. A site building benchmark
shows around 10% faster, but that depends on the site. The important
part here is that we're not getting slower. It's quite a challenge
to consistently add significant new functionality and simultaneously
improve performance. It's like not gaining weight during Christmas. We
also had a small performance boost in version 0.50. A user then reported
that his big and complicated site had a 30% reduction in build time.
This is important to us, one of the core features. It's in the slogan:
"The world's รข fastest framework for building websites."
Diffstat (limited to 'www/ijb')
0 files changed, 0 insertions, 0 deletions