Update https://github.com/gohugoio/hugo in repo_dependencies.yml from v0.41 to v0.43 #19
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Dependencies.io has updated
https://github.com/gohugoio/hugo
(a git dependency inrepo_dependencies.yml
) from "v0.41" to "v0.43".v0.43
Hugo
0.43
adds a powerful and very simple to use Assets Pipeline with SASS and SCSS with source map support, PostCSS and minification and fingerprinting and Subresource Integrity and ... much more. Oh, did we mention that you can now do ad-hoc image processing and execute text resources as Go templates?An example pipeline:
To me, the above is beautiful in its speed and simplicity. It could be printed on a t-shirt. I wrote in the Hugo Birthday Post some days ago about the value of a single binary with native and fast implementations. I should have added simplicity as a keyword. There seem to be a misconception that all of this needs to be hard and painful.
New functions to create
Resource
objects:resources.Get
resources.FromString
: Create a Resource from a string.New
Resource
transformation funcs:resources.ToCSS
: CompileSCSS
orSASS
intoCSS
.resources.PostCSS
: Process your CSS with PostCSS. Config file support (project or theme or passed as an option).resources.Minify
: Currently supportscss
,js
,json
,html
,svg
,xml
.resources.Fingerprint
: Creates a fingerprinted version of the given Resource with Subresource Integrity.resources.Concat
: Concatenates a list of Resource objects. Think of this as a poor man's bundler.resources.ExecuteAsTemplate
: Parses and executes the given Resource and data context (e.g. .Site) as a Go template.I, bep, implemented this in dea71670. We will work hard to get the documentation up to date, but follow the links above for details, and also see this demo project.
This release represents 35 contributions by 7 contributors to the main Hugo code base.
bep leads the Hugo development with a significant amount of contributions, but also a big shoutout to anthonyfok, openscript, and caarlos0 for their ongoing contributions.
And a big thanks to digitalcraftsman for his relentless work on keeping the themes site in pristine condition and to kaushalmodi for his great work on the documentation site.
Many have also been busy writing and fixing the documentation in hugoDocs,
which has received 11 contributions by 5 contributors. A special thanks to bep, danrl, regisphilibert, and digitalcraftsman for their work on the documentation site.
Hugo now has:
Notes
Enhancements
Templates
after
instead of error f8212d20 bep #4894Core
Other
Fixes