Update https://github.com/gohugoio/hugo in repo_dependencies.yml from v0.41 to v0.49 #25
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.49".v0.49
Hugo
0.49
brings directory based archetypes and also improves the language handling inhugo new
. This should simplify working with page bundles. One example of this would be how you now can create a new showcase for the Hugo web site.But this release is also about collections. Go 1.11 gave us variable overwrite support in Go templates. That made it possible to simplify a lot of template constructs, but it also showed some limitations in Hugo's template functions. So with this release we have:
This release represents 66 contributions by 9 contributors to the main Hugo code base.
bep leads the Hugo development with a significant amount of contributions, but also a big shoutout to moorereason, felicianotech, and vdanjean for their ongoing contributions.
And a big thanks to digitalcraftsman and onedrawingperday for their 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 37 contributions by 20 contributors. A special thanks to bep, kaushalmodi, AlexChambers, and shaform for their work on the documentation site.
Hugo now has:
Notes
rssURI
f1a00b20 bepPages.Sort
. Use.ByWeight
2e2e34a9 beppreserveTaxonomyNames
Hugo now really preserves them. Before this release, we would make the first character upper case. If this is the behaviour you want you can use the newstrings.FirstUpper
function.Enhancements
Templates
first
function to return an empty slice cae07ce8 felicianotech #5235safeHTMLAttr
instead ofsafeHTML
for HTML attributes 4f9c109d felicianotech #5236collections.Append
(with aliasappend
) e27fd4c1 bep #5190collections.Slice
fe6676c7 bep #5188group
template func 6667c6d7 bep #4865strings.FirstUpper
e5d66074 bep #5174Core
Other
Fixes
getJSON
andgetCSV
43d44652 bep #5076union
orintersect
of uncomparable types 4f72e791 moorereason #3820