bep
released this
Assets
30
- hugo_0.49.2_checksums.txt 2.08 KB
- hugo_0.49.2_DragonFlyBSD-64bit.tar.gz 7.29 MB
- hugo_0.49.2_FreeBSD-32bit.tar.gz 6.86 MB
- hugo_0.49.2_FreeBSD-64bit.tar.gz 7.3 MB
- hugo_0.49.2_FreeBSD-ARM.tar.gz 6.89 MB
- hugo_0.49.2_Linux-32bit.deb 6.86 MB
- hugo_0.49.2_Linux-32bit.tar.gz 6.87 MB
- hugo_0.49.2_Linux-64bit.deb 7.29 MB
- hugo_0.49.2_Linux-64bit.tar.gz 7.3 MB
- hugo_0.49.2_Linux-ARM.deb 6.88 MB
- hugo_0.49.2_Linux-ARM.tar.gz 6.89 MB
- hugo_0.49.2_Linux-ARM64.deb 6.66 MB
- hugo_0.49.2_Linux-ARM64.tar.gz 6.67 MB
- hugo_0.49.2_macOS-32bit.tar.gz 7.2 MB
- hugo_0.49.2_macOS-64bit.tar.gz 7.62 MB
- hugo_0.49.2_NetBSD-32bit.tar.gz 6.85 MB
- hugo_0.49.2_NetBSD-64bit.tar.gz 7.29 MB
- hugo_0.49.2_NetBSD-ARM.tar.gz 6.89 MB
- hugo_0.49.2_OpenBSD-32bit.tar.gz 6.85 MB
- hugo_0.49.2_OpenBSD-64bit.tar.gz 7.29 MB
- hugo_0.49.2_OpenBSD-ARM.tar.gz 6.88 MB
- hugo_0.49.2_Windows-32bit.zip 6.84 MB
- hugo_0.49.2_Windows-64bit.zip 7.32 MB
- hugo_extended_0.49.2_checksums.txt 420 Bytes
- hugo_extended_0.49.2_Linux-64bit.deb 8.19 MB
- hugo_extended_0.49.2_Linux-64bit.tar.gz 8.2 MB
- hugo_extended_0.49.2_macOS-64bit.tar.gz 8.45 MB
- hugo_extended_0.49.2_Windows-64bit.zip 17.2 MB
- Source code (zip)
- Source code (tar.gz)
Assets
30
- hugo_0.49.1_checksums.txt 2.08 KB
- hugo_0.49.1_DragonFlyBSD-64bit.tar.gz 7.29 MB
- hugo_0.49.1_FreeBSD-32bit.tar.gz 6.86 MB
- hugo_0.49.1_FreeBSD-64bit.tar.gz 7.3 MB
- hugo_0.49.1_FreeBSD-ARM.tar.gz 6.89 MB
- hugo_0.49.1_Linux-32bit.deb 6.86 MB
- hugo_0.49.1_Linux-32bit.tar.gz 6.87 MB
- hugo_0.49.1_Linux-64bit.deb 7.29 MB
- hugo_0.49.1_Linux-64bit.tar.gz 7.3 MB
- hugo_0.49.1_Linux-ARM.deb 6.88 MB
- hugo_0.49.1_Linux-ARM.tar.gz 6.89 MB
- hugo_0.49.1_Linux-ARM64.deb 6.66 MB
- hugo_0.49.1_Linux-ARM64.tar.gz 6.67 MB
- hugo_0.49.1_macOS-32bit.tar.gz 7.2 MB
- hugo_0.49.1_macOS-64bit.tar.gz 7.62 MB
- hugo_0.49.1_NetBSD-32bit.tar.gz 6.85 MB
- hugo_0.49.1_NetBSD-64bit.tar.gz 7.29 MB
- hugo_0.49.1_NetBSD-ARM.tar.gz 6.89 MB
- hugo_0.49.1_OpenBSD-32bit.tar.gz 6.85 MB
- hugo_0.49.1_OpenBSD-64bit.tar.gz 7.29 MB
- hugo_0.49.1_OpenBSD-ARM.tar.gz 6.88 MB
- hugo_0.49.1_Windows-32bit.zip 6.84 MB
- hugo_0.49.1_Windows-64bit.zip 7.32 MB
- hugo_extended_0.49.1_checksums.txt 420 Bytes
- hugo_extended_0.49.1_Linux-64bit.deb 8.19 MB
- hugo_extended_0.49.1_Linux-64bit.tar.gz 8.2 MB
- hugo_extended_0.49.1_macOS-64bit.tar.gz 8.45 MB
- hugo_extended_0.49.1_Windows-64bit.zip 17.2 MB
- Source code (zip)
- Source code (tar.gz)
Assets
30
- hugo_0.49_checksums.txt 2.04 KB
- hugo_0.49_DragonFlyBSD-64bit.tar.gz 7.29 MB
- hugo_0.49_FreeBSD-32bit.tar.gz 6.86 MB
- hugo_0.49_FreeBSD-64bit.tar.gz 7.3 MB
- hugo_0.49_FreeBSD-ARM.tar.gz 6.89 MB
- hugo_0.49_Linux-32bit.deb 6.86 MB
- hugo_0.49_Linux-32bit.tar.gz 6.87 MB
- hugo_0.49_Linux-64bit.deb 7.29 MB
- hugo_0.49_Linux-64bit.tar.gz 7.3 MB
- hugo_0.49_Linux-ARM.deb 6.88 MB
- hugo_0.49_Linux-ARM.tar.gz 6.89 MB
- hugo_0.49_Linux-ARM64.deb 6.66 MB
- hugo_0.49_Linux-ARM64.tar.gz 6.67 MB
- hugo_0.49_macOS-32bit.tar.gz 7.2 MB
- hugo_0.49_macOS-64bit.tar.gz 7.62 MB
- hugo_0.49_NetBSD-32bit.tar.gz 6.85 MB
- hugo_0.49_NetBSD-64bit.tar.gz 7.29 MB
- hugo_0.49_NetBSD-ARM.tar.gz 6.89 MB
- hugo_0.49_OpenBSD-32bit.tar.gz 6.85 MB
- hugo_0.49_OpenBSD-64bit.tar.gz 7.29 MB
- hugo_0.49_OpenBSD-ARM.tar.gz 6.88 MB
- hugo_0.49_Windows-32bit.zip 6.84 MB
- hugo_0.49_Windows-64bit.zip 7.32 MB
- hugo_extended_0.49_checksums.txt 412 Bytes
- hugo_extended_0.49_Linux-64bit.deb 8.19 MB
- hugo_extended_0.49_Linux-64bit.tar.gz 8.2 MB
- hugo_extended_0.49_macOS-64bit.tar.gz 8.45 MB
- hugo_extended_0.49_Windows-64bit.zip 17.2 MB
- Source code (zip)
- Source code (tar.gz)
Hugo 0.49 brings directory based archetypes and also improves the language handling in hugo 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:
- added append function to append to collections.
- added group to create custom page groups.
- improved the type support in slice.
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:
- 28985+ stars
- 441+ contributors
- 265+ themes
Notes
- Remove deprecated
rssURIf1a00b20 @bep - Remove deprecated flags df4cbbd3 @bep
- Deprecate
Pages.Sort. Use.ByWeight2e2e34a9 @bep - When setting
preserveTaxonomyNamesHugo 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.FirstUpperfunction.
Enhancements
Templates
- Allow
firstfunction to return an empty slice cae07ce8 @felicianotech #5235 - Use
safeHTMLAttrinstead ofsafeHTMLfor HTML attributes 4f9c109d @felicianotech #5236 - Add
collections.Append(with aliasappend) e27fd4c1 @bep #5190 - Improve type handling in
collections.Slicefe6676c7 @bep #5188 - Add
grouptemplate func 6667c6d7 @bep #4865 - Add
strings.FirstUppere5d66074 @bep #5174
Core
- Minor cleaning in the sorting code 2eed35c8 @bep
- Make sure ambiguous lookups in GetPage gets an error 75e54345 @bep #5138
- Allow creating page groups from any page collection cfda13b3 @vdanjean #4865
- Do not FirstUpper taxonomy titles be3ae3ec @Schnouki #5172
- Simplify some code e38e8812 @moorereason
- Add missing error checks 0665a395 @moorereason
- Remove extraneous createStaticFs call 1ed8c363 @moorereason
Other
- Add "go mod download" to CI scripts cf47f43f @bep
- Regenerate CLI docs 3b6bd121 @bep
- Document group 8388cd90 @bep
- Make Data.Integrity be of type template.HTMLAttr fe6a6f27 @bep
- Add directory based archetypes 2650fa77 @bep #4535
- Build on CircleCI outside of GOPATH ef525b15 @felicianotech #5135
- Prevent symbolic links from themes f9168146 @bep
- Update releasenotes_writer.go 4b82f748 @bep
- Add docs for append df50c108 @bep #5190
- Set minifier to KeepEndTags 9b26b548 @onedrawingperday
- Make JSON minification more generic 3dafe206 @zinefer
- Update Mage 37d64634 @bep
- Update dependencies bb2fe814 @bep
- Improve some godoc comments 30bc4ed0 @moorereason
- Update to latest Mage 3b103cb7 @bep
- Remove some duplicate code c15c7da4 @bep
- Update Dockerfile to Go 1.11 bcbe57c6 @zyfdegh #5145
- Init packages once ea8ef573 @bep
- Update script to Go 1.11 293e1235 @bep #5127
- Remove the remains of Go Dep fdf3c3b8 @bep #5115
- Update CONTRIBUTING.md 312d2252 @bep
- Update README.md f627903e @bep
- Fix golint issues 400fe96a @moorereason
- Fix golint godoc issues 3f45e729 @moorereason
- Fix godoc comment e03eb90a @moorereason
- Fix typo in private func name c915d0d3 @moorereason
- Fix golint godoc issues f6f22ad9 @moorereason
- Fix filepath issue in test d970327d @moorereason
- Fix golint issues 0013bea9 @moorereason
- Fix golint godoc issue ffaa73dc @moorereason
- Fix golint godoc issue f8d8c854 @moorereason
- Fix golint issue 10dc87bf @moorereason
- Fix golint issues 7231869b @moorereason
- Fix golint godoc issues 600047ff @moorereason
- Fix golint issues 5f2e1cb8 @moorereason
- Fix golint issues c8ce6504 @moorereason
- Fix most golint issues a53f9623 @moorereason
- Fix golint issues daffeec3 @moorereason
- Fix golint errors b8b91f55 @moorereason
- Fix golint issues f0effac8 @moorereason
- Fix broken Travis config 2cf8fe2e @bep
- Fix error message for go vet 47d4edce @mdhender
Fixes
Assets
30
- hugo_0.48_checksums.txt 2.04 KB
- hugo_0.48_DragonFlyBSD-64bit.tar.gz 7.25 MB
- hugo_0.48_FreeBSD-32bit.tar.gz 6.82 MB
- hugo_0.48_FreeBSD-64bit.tar.gz 7.26 MB
- hugo_0.48_FreeBSD-ARM.tar.gz 6.85 MB
- hugo_0.48_Linux-32bit.deb 6.82 MB
- hugo_0.48_Linux-32bit.tar.gz 6.83 MB
- hugo_0.48_Linux-64bit.deb 7.25 MB
- hugo_0.48_Linux-64bit.tar.gz 7.25 MB
- hugo_0.48_Linux-ARM.deb 6.84 MB
- hugo_0.48_Linux-ARM.tar.gz 6.85 MB
- hugo_0.48_Linux-ARM64.deb 6.62 MB
- hugo_0.48_Linux-ARM64.tar.gz 6.63 MB
- hugo_0.48_macOS-32bit.tar.gz 7.16 MB
- hugo_0.48_macOS-64bit.tar.gz 7.58 MB
- hugo_0.48_NetBSD-32bit.tar.gz 6.81 MB
- hugo_0.48_NetBSD-64bit.tar.gz 7.25 MB
- hugo_0.48_NetBSD-ARM.tar.gz 6.85 MB
- hugo_0.48_OpenBSD-32bit.tar.gz 6.81 MB
- hugo_0.48_OpenBSD-64bit.tar.gz 7.25 MB
- hugo_0.48_OpenBSD-ARM.tar.gz 6.84 MB
- hugo_0.48_Windows-32bit.zip 6.8 MB
- hugo_0.48_Windows-64bit.zip 7.27 MB
- hugo_extended_0.48_checksums.txt 412 Bytes
- hugo_extended_0.48_Linux-64bit.deb 8.15 MB
- hugo_extended_0.48_Linux-64bit.tar.gz 8.16 MB
- hugo_extended_0.48_macOS-64bit.tar.gz 8.4 MB
- hugo_extended_0.48_Windows-64bit.zip 17.1 MB
- Source code (zip)
- Source code (tar.gz)
Hugo 0.48 is built with the brand new Go 1.11. On the technical side this means that Hugo now uses Go Modules for the build. The big new functional thing in Go 1.11 for Hugo is added support for variable overwrites. This means that you can now do:
{{ $var := "Hugo Page" }}
{{ if .IsHome }}
{{ $var = "Hugo Home" }}
{{ end }}
Var is {{ $var }}
The above may look obvious, but has not been possible until now. In Hugo we have had .Scratch as a workaround for this, but Go 1.11 will help clean up a lot of templates.
This release represents 23 contributions by 5 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, @vsopvsop, and @moorereason 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 15 contributions by 12 contributors. A special thanks to @bep, @kaushalmodi, @regisphilibert, and @anthonyfok for their work on the documentation site.
Hugo now has:
- 28275+ stars
- 441+ contributors
- 252+ themes
Enhancements
- Add a test for template variable overwrite 0c8a4154 @bep
- Include language code in REF_NOT_FOUND errors 94d0e79d @bep #5110
- Improve minifier MIME type resolution ebb56e8b @bep #5093
- Update to Go 1.11 6b9934a2 @bep #5115
- Set GO111MODULE=on for mage install c7f05779 @bep #5115
- Add instruction to install PostCSS when missing 08d14113 @anthonyfok #5111
- Update snapcraft build config to Go 1.11 94d6d678 @bep #5115
- Use Go 1.11 modules with Mage 45c9c45d @bep #5115
- Add go.mod fce32c07 @bep #5115
- Update Travis to Go 1.11 and Go 1.10.4 d32ff16f @bep #5115
- Skip installing postcss due to failure on build server 66f688f7 @anthonyfok
Fixes
Assets
29
- hugo_0.47.1_checksums.txt 1.99 KB
- hugo_0.47.1_DragonFlyBSD-64bit.tar.gz 6.17 MB
- hugo_0.47.1_FreeBSD-32bit.tar.gz 5.88 MB
- hugo_0.47.1_FreeBSD-64bit.tar.gz 6.17 MB
- hugo_0.47.1_FreeBSD-ARM.tar.gz 6.04 MB
- hugo_0.47.1_Linux-32bit.deb 5.88 MB
- hugo_0.47.1_Linux-32bit.tar.gz 5.89 MB
- hugo_0.47.1_Linux-64bit.deb 6.17 MB
- hugo_0.47.1_Linux-64bit.tar.gz 6.17 MB
- hugo_0.47.1_Linux-ARM.deb 6.03 MB
- hugo_0.47.1_Linux-ARM.tar.gz 6.03 MB
- hugo_0.47.1_Linux-ARM64.deb 5.78 MB
- hugo_0.47.1_Linux-ARM64.tar.gz 5.79 MB
- hugo_0.47.1_macOS-32bit.tar.gz 6.22 MB
- hugo_0.47.1_macOS-64bit.tar.gz 6.5 MB
- hugo_0.47.1_NetBSD-32bit.tar.gz 5.88 MB
- hugo_0.47.1_NetBSD-64bit.tar.gz 6.17 MB
- hugo_0.47.1_NetBSD-ARM.tar.gz 6.03 MB
- hugo_0.47.1_OpenBSD-32bit.tar.gz 5.88 MB
- hugo_0.47.1_OpenBSD-64bit.tar.gz 6.17 MB
- hugo_0.47.1_Windows-32bit.zip 16.1 MB
- hugo_0.47.1_Windows-64bit.zip 18 MB
- hugo_extended_0.47.1_checksums.txt 420 Bytes
- hugo_extended_0.47.1_Linux-64bit.deb 7.07 MB
- hugo_extended_0.47.1_Linux-64bit.tar.gz 7.07 MB
- hugo_extended_0.47.1_macOS-64bit.tar.gz 7.34 MB
- hugo_extended_0.47.1_Windows-64bit.zip 53 MB
- Source code (zip)
- Source code (tar.gz)
This is a bug-fix release with two fixes.
Fixes
- Fix .Site.Params case regression fdff0d3a @bep #5094
- Do not strip IE conditional statements 5a0ee2b9 @bep #5089
Updates to Linux Snap build
- Remove unused files from Git, Perl, etc. 834617f9 @anthonyfok
- Add nodejs to allow PostCSS to work ef20ec1f @anthonyfok
Assets
29
- hugo_0.47_checksums.txt 1.95 KB
- hugo_0.47_DragonFlyBSD-64bit.tar.gz 6.17 MB
- hugo_0.47_FreeBSD-32bit.tar.gz 5.88 MB
- hugo_0.47_FreeBSD-64bit.tar.gz 6.17 MB
- hugo_0.47_FreeBSD-ARM.tar.gz 6.04 MB
- hugo_0.47_Linux-32bit.deb 5.88 MB
- hugo_0.47_Linux-32bit.tar.gz 5.89 MB
- hugo_0.47_Linux-64bit.deb 6.17 MB
- hugo_0.47_Linux-64bit.tar.gz 6.17 MB
- hugo_0.47_Linux-ARM.deb 6.03 MB
- hugo_0.47_Linux-ARM.tar.gz 6.03 MB
- hugo_0.47_Linux-ARM64.deb 5.78 MB
- hugo_0.47_Linux-ARM64.tar.gz 5.79 MB
- hugo_0.47_macOS-32bit.tar.gz 6.22 MB
- hugo_0.47_macOS-64bit.tar.gz 6.5 MB
- hugo_0.47_NetBSD-32bit.tar.gz 5.88 MB
- hugo_0.47_NetBSD-64bit.tar.gz 6.17 MB
- hugo_0.47_NetBSD-ARM.tar.gz 6.03 MB
- hugo_0.47_OpenBSD-32bit.tar.gz 5.88 MB
- hugo_0.47_OpenBSD-64bit.tar.gz 6.17 MB
- hugo_0.47_Windows-32bit.zip 16.1 MB
- hugo_0.47_Windows-64bit.zip 18 MB
- hugo_extended_0.47_checksums.txt 412 Bytes
- hugo_extended_0.47_Linux-64bit.deb 7.07 MB
- hugo_extended_0.47_Linux-64bit.tar.gz 7.07 MB
- hugo_extended_0.47_macOS-64bit.tar.gz 7.34 MB
- hugo_extended_0.47_Windows-64bit.zip 53 MB
- Source code (zip)
- Source code (tar.gz)
Hugo 0.47 is named Hugo Reloaded. It adds minification support for the final rendered output (run hugo --minify), but it is mostly a bug fix release. And most notably, it fixes a set of issues with live-reloading/partial rebuilds when running hugo server. Working with bundles should now be a more pleasant experience, to pick one example.
This release represents 35 contributions by 6 contributors to the main Hugo code base.
@bep leads the Hugo development with a significant amount of contributions, but also a big shoutout to @satotake, @anthonyfok, and @coliff 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 21 contributions by 10 contributors. A special thanks to @bep, @aapeliv, @regisphilibert, and @brentybh for their work on the documentation site.
Hugo now has:
- 27980+ stars
- 442+ contributors
- 251+ themes
Enhancements
Templates
- Suppress blank lines from opengraph internal template c09ee78f @anthonyfok
- Add MIME type to embedded JS 755d1ffe @bep #5042
- Add
os.Stattemplate function d7112085 @satotake
Output
Other
- Regenerate CLI docs 4a16b5f4 @bep
- Include theme name in version mismatch error e5052f4e @bep #5044
- Make the JS minifier matcher less specific c81fbf46 @bep #5073
- Close file when done f6ae436c @bep #5062
- https links to 3rd party sites c2a67413 @coliff
- Update alias.go 06bd0136 @coliff
- Remove test debug fb3cb05c @bep
- Update dependencies d07882df @bep
- Update Chroma 7f535671 @bep #5025
- Remove alias of os.Stat 71931b30 @satotake
- Renmae FileStat Stat d40116e5 @satotake
- Reduce allocation in the benchmark itself a6b1eb1e @bep
- Simplify the 0 transformer case 27110133 @bep
Fixes
Templates
- Fix compiling Amber templates that import other templates 37438757 @Stebalien
- Reimplement the ".Params tolower" template transformer 5c538491 @bep #5068
Output
Core
- Force render of any changed page, even in Fast Render Mode 22475460 @bep #5083
- Add configFile(s) back to the watch list after REMOVE event abc54080 @anthonyfok #4701
- Gracefully handle typos in server config when running the server a655e00d @bep #5081
- Fix shortcode output wrapped in p 78c99463 @gllera #1642
- Adjust tests for shortcode p-issue baa62d0a @bep #1642
- Fix image cache-clearing for sub-languages 9d973004 @bep #5084
- Fix error when deleting a bundle in server mode 0a88741f @bep #5077
- Fix Related when called from shortcode 0dd06bda @bep #5071
- Use the interface value when doing Related search a6f199f7 @bep #5071
- Fix GitInfo when multiple content dirs 2182ecfd @bep #5054
- Add multiple content dirs to GitInfo test site e85833d8 @bep #5054
- Fix "adding a bundle" in server mode d139a037 @bep #5075
- Fix typo c362634b @satotake
Assets
29
- hugo_0.46_checksums.txt 1.95 KB
- hugo_0.46_DragonFlyBSD-64bit.tar.gz 6.14 MB
- hugo_0.46_FreeBSD-32bit.tar.gz 5.85 MB
- hugo_0.46_FreeBSD-64bit.tar.gz 6.15 MB
- hugo_0.46_FreeBSD-ARM.tar.gz 6.01 MB
- hugo_0.46_Linux-32bit.deb 5.71 MB
- hugo_0.46_Linux-32bit.tar.gz 5.86 MB
- hugo_0.46_Linux-64bit.deb 6.06 MB
- hugo_0.46_Linux-64bit.tar.gz 6.15 MB
- hugo_0.46_Linux-ARM.deb 5.78 MB
- hugo_0.46_Linux-ARM.tar.gz 6.01 MB
- hugo_0.46_Linux-ARM64.deb 5.64 MB
- hugo_0.46_Linux-ARM64.tar.gz 5.77 MB
- hugo_0.46_macOS-32bit.tar.gz 6.19 MB
- hugo_0.46_macOS-64bit.tar.gz 6.48 MB
- hugo_0.46_NetBSD-32bit.tar.gz 5.85 MB
- hugo_0.46_NetBSD-64bit.tar.gz 6.14 MB
- hugo_0.46_NetBSD-ARM.tar.gz 6.01 MB
- hugo_0.46_OpenBSD-32bit.tar.gz 5.85 MB
- hugo_0.46_OpenBSD-64bit.tar.gz 6.14 MB
- hugo_0.46_Windows-32bit.zip 5.87 MB
- hugo_0.46_Windows-64bit.zip 6.2 MB
- hugo_extended_0.46_checksums.txt 412 Bytes
- hugo_extended_0.46_Linux-64bit.tar.gz 7.05 MB
- hugo_extended_0.46_Linux_64bit.deb 7.04 MB
- hugo_extended_0.46_macOS-64bit.tar.gz 7.31 MB
- hugo_extended_0.46_Windows-64bit.zip 52.9 MB
- Source code (zip)
- Source code (tar.gz)
Hugo 0.46 is the closing credits to The Summer of Hugo. While most people have been relaxing on the beach, Hugo has been really busy:
- 0.42, June 12, 2018: Theme Composition and Inheritance!
- 0.43, July 9, 2018: Hugo Pipes!
This was followed by some more technical follow-up releases. And today, when July has turned into August, we come with another one. It's not a big release. But with the big interest in Hugo Pipes, we felt that it was important to get this out there sooner rather than later.
There are two main items in this release:
- We have added a custom SCSS/SASS import resolver that respects Hugo's project/themes filesystem hierarchy anywhere in
/assets. Using the LibSass' resolver alone only made this work for the entry folder. - Resources fetched via
resources.Getand similar are now language agnostic. The thought behind the original implementation was maximum flexibility with support forassetDirper language. In practice, this was a bad idea, as it made some CSS imports hard to get working in multilingual setups, and you got duplication of identical content for no good reason, with added processing time.
This release represents 12 contributions by 2 contributors to the main Hugo code base.
A special thanks in this release goes to @onedrawingperday for his excellent work maintaining the fast-growing Themes Site.
Many have also been busy writing and fixing the documentation in hugoDocs,
which has received 5 contributions by 3 contributors.
Hugo now has:
- 27596+ stars
- 442+ contributors
- 245+ themes
Notes
- Resources fetched via
resources.Getand similar are now considered global across languages. If you need, as an example, to create a CSS per language, you need to set the path yourself.
Enhancements
- Add
templates.Existstemplate function. This can be used to check if a template, e.g. a partial, exists in the project or any of the themes in use. 0ba19c57 @bep #5010 - Remove superflous loop 0afa2897 @bep
- Update Chroma b5d13ca1 @bep #5019
- Make resources fetched via
resources.Getand similar language agnostic 6b02f5c0 @bep #5017 - Improve SCSS project vs themes import resolution f219ac09 @bep #5008
- Improve _ prefix handling in SCSS imports 88e447c4 @bep #5008
Fixes
- Fix file paths for uncached transformed images b718d743 @RJacksonm1 #5012
- Fix image cache eviction for sites with subdir in baseURL 786f7230 @bep #5006
Automated with GoReleaser
Built with go version go1.10.1 linux/amd64
Assets
29
- hugo_0.45.1_checksums.txt 1.99 KB
- hugo_0.45.1_DragonFlyBSD-64bit.tar.gz 6.12 MB
- hugo_0.45.1_FreeBSD-32bit.tar.gz 5.83 MB
- hugo_0.45.1_FreeBSD-64bit.tar.gz 6.12 MB
- hugo_0.45.1_FreeBSD-ARM.tar.gz 5.98 MB
- hugo_0.45.1_Linux-32bit.deb 5.69 MB
- hugo_0.45.1_Linux-32bit.tar.gz 5.84 MB
- hugo_0.45.1_Linux-64bit.deb 6.04 MB
- hugo_0.45.1_Linux-64bit.tar.gz 6.12 MB
- hugo_0.45.1_Linux-ARM.deb 5.76 MB
- hugo_0.45.1_Linux-ARM.tar.gz 5.98 MB
- hugo_0.45.1_Linux-ARM64.deb 5.61 MB
- hugo_0.45.1_Linux-ARM64.tar.gz 5.74 MB
- hugo_0.45.1_macOS-32bit.tar.gz 6.17 MB
- hugo_0.45.1_macOS-64bit.tar.gz 6.45 MB
- hugo_0.45.1_NetBSD-32bit.tar.gz 5.83 MB
- hugo_0.45.1_NetBSD-64bit.tar.gz 6.12 MB
- hugo_0.45.1_NetBSD-ARM.tar.gz 5.98 MB
- hugo_0.45.1_OpenBSD-32bit.tar.gz 5.83 MB
- hugo_0.45.1_OpenBSD-64bit.tar.gz 6.12 MB
- hugo_0.45.1_Windows-32bit.zip 5.85 MB
- hugo_0.45.1_Windows-64bit.zip 6.18 MB
- hugo_extended_0.45.1_checksums.txt 420 Bytes
- hugo_extended_0.45.1_Linux-64bit.tar.gz 7.02 MB
- hugo_extended_0.45.1_Linux_64bit.deb 7.01 MB
- hugo_extended_0.45.1_macOS-64bit.tar.gz 7.28 MB
- hugo_extended_0.45.1_Windows-64bit.zip 52.7 MB
- Source code (zip)
- Source code (tar.gz)
Assets
29
- hugo_0.45_checksums.txt 1.95 KB
- hugo_0.45_DragonFlyBSD-64bit.tar.gz 6.12 MB
- hugo_0.45_FreeBSD-32bit.tar.gz 5.83 MB
- hugo_0.45_FreeBSD-64bit.tar.gz 6.12 MB
- hugo_0.45_FreeBSD-ARM.tar.gz 5.98 MB
- hugo_0.45_Linux-32bit.deb 5.69 MB
- hugo_0.45_Linux-32bit.tar.gz 5.84 MB
- hugo_0.45_Linux-64bit.deb 6.04 MB
- hugo_0.45_Linux-64bit.tar.gz 6.12 MB
- hugo_0.45_Linux-ARM.deb 5.76 MB
- hugo_0.45_Linux-ARM.tar.gz 5.98 MB
- hugo_0.45_Linux-ARM64.deb 5.61 MB
- hugo_0.45_Linux-ARM64.tar.gz 5.74 MB
- hugo_0.45_macOS-32bit.tar.gz 6.17 MB
- hugo_0.45_macOS-64bit.tar.gz 6.45 MB
- hugo_0.45_NetBSD-32bit.tar.gz 5.83 MB
- hugo_0.45_NetBSD-64bit.tar.gz 6.12 MB
- hugo_0.45_NetBSD-ARM.tar.gz 5.98 MB
- hugo_0.45_OpenBSD-32bit.tar.gz 5.83 MB
- hugo_0.45_OpenBSD-64bit.tar.gz 6.12 MB
- hugo_0.45_Windows-32bit.zip 5.85 MB
- hugo_0.45_Windows-64bit.zip 6.18 MB
- hugo_extended_0.45_checksums.txt 412 Bytes
- hugo_extended_0.45_Linux-64bit.tar.gz 7.02 MB
- hugo_extended_0.45_Linux_64bit.deb 7.01 MB
- hugo_extended_0.45_macOS-64bit.tar.gz 7.28 MB
- hugo_extended_0.45_Windows-64bit.zip 52.7 MB
- Source code (zip)
- Source code (tar.gz)
Hugo 0.45 is the revival of ref, relref and GetPage. @vassudanagunta and @bep have done some great work improving the API and implementation for the helper functions used to get one page. Before this release, the API was a little bit clumsy and the result potentially ambiguous in some situations.
Now you can simply do:
{{ with .Site.GetPage "/blog/my-post.md" }}{{ .Title }}{{ end }}
Or to get a section page:
{{ with .Site.GetPage "/blog" }}{{ .Title }}{{ end }}
We have also added a .GetPage method on Page and added support for page-relative linking. This means that the leading slash (/) now has a meaning. For .Site.GetPage, all lookups will start at the content root. But for lookups with a Page context, paths without a leading slash will be treated as relative to the page.
This means that the following example will find the page in the current section:
{{< ref "my-post.md" >}}
You can also use the .. to refer to a page one level up etc.:
{{< ref "../my-post.md" >}}
We have now also added language support to ref and relref, so you can link to a page in another language:
{{< relref path="document.md" lang="jp" >}}
To link to a given Output Format of a document, you can use this syntax:
{{< relref path="document.md" outputFormat="rss" >}}
To make working with these reflinks on bigger sites easier to work with, we have also improved the error logging, and added two new configuration settings:
- refLinksErrorLevel: ERROR (default, will fail the build when a reflink cannot be resolved) or WARNING.
- refLinksNotFoundURL: Set this to an URL placeholder used when no reference could be resolved.
Visit the Hugo Docs for more information.
We have also done some important improvements and fixes in Hugo Pipes in this release: SCSS source maps on Windows now works, we now support project-local PostCSS installation, and we have added IncludePaths to SCSS options, making it possible to include, say, a path below node_modules in the SASS/SCSS build.
This release represents 31 contributions by 4 contributors to the main Hugo code base.
@bep leads the Hugo development with a significant amount of contributions, but also a big shoutout to @vassudanagunta, @hairmare, and @garrmcnu 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 10 contributions by 8 contributors. A special thanks to @kaushalmodi, @Hanzei, @KurtTrowbridge, and @regisphilibert for their work on the documentation site.
Hugo now has:
- 27334+ stars
- 443+ contributors
- 238+ themes
Notes
.Site.GetPagewith more than 2 arguments will not work anymore. This means that{{ .Site.GetPage "page" "blog" "my-post.md" }}will fail.{{ .Site.GetPage "page" "blog/my-post.md" }}will work, but we recommend you use the simpler{{ .Site.GetPage "/blog/my-post.md" }}- Relative paths in
relreforrefthat finds its match not relative to the page itself will work, but we now print a warning saying that you should correct it to an absolute path. E.g.{{</* ref "blog/my-post.md" */>}}=>{{</* ref "/blog/my-post.md" */>}}.
Enhancements
- Print a WARNING about relative non-relative ref/relref matches a451c49f @bep #4973
- Allow untyped nil to be merged in lang.Merge ff16c42e @bep #4977
- Get rid of the utils package 062510cf @bep
- Update hugo_windows.go 4e1d0cd9 @bep
- Add IncludePaths config option 166483fe @bep #4921
- Increase refLinker test coverage 8278384b @vassudanagunta
- Add test coverage for recent ref overhaul 2bac3715 @vassudanagunta #4969
- Update ref, relref, GetPage docs 1eb8b36b @bep
- Document refLinksErrorLevel and refLinksNotFoundURL 00c74ee7 @bep #4964
- Add configurable ref/relref error handling and notFoundURL e25aa655 @bep #4964
- Try node_modules/postcss-cli/bin/postcss first ebe4d39f @bep #4952
- Add optional lang as argument to rel/relref d741064b @bep #4956
- Simplify .Site.GetPage etc. 3eb313fe @bep #4147#4727#4728#4728#4726#4652
- Unify page lookups b93417aa @vassudanagunta #4147#4727#4728#4728#4726#4652
- Improve error message 4c240800 @bep
- Remove unused code 2f2bc7ff @bep
Fixes
- Avoid server panic on TOML mistake in i18n 75acff5f @bep #4942
- Only set 'allThemes' if there are themes in the config file 38204c4a @garrmcnu #4851
- Fix potential server panic with drafts/future enabled 1ab4658c @bep #4965
- Mark shortcode changes as content changes in server mode 12679b40 @bep #4965
- Fix source maps on Windows f01505c9 @bep #4968
- Fix typo-logic bug in GetPage b56d9a12 @vassudanagunta
- Enable test case fixed by commit 501543d d6fde8fa @vassudanagunta
- Fix theme config for Work Fs 5c9d5413 @bep #4951
- Fix addkit link to account for i18n fd1f4a78 @hairmare
Automated with GoReleaser
Built with go version go1.10.1 linux/amd64
Assets
29
- hugo_0.44_checksums.txt 1.95 KB
- hugo_0.44_DragonFlyBSD-64bit.tar.gz 6.11 MB
- hugo_0.44_FreeBSD-32bit.tar.gz 5.83 MB
- hugo_0.44_FreeBSD-64bit.tar.gz 6.12 MB
- hugo_0.44_FreeBSD-ARM.tar.gz 5.98 MB
- hugo_0.44_Linux-32bit.deb 5.69 MB
- hugo_0.44_Linux-32bit.tar.gz 5.84 MB
- hugo_0.44_Linux-64bit.deb 6.03 MB
- hugo_0.44_Linux-64bit.tar.gz 6.12 MB
- hugo_0.44_Linux-ARM.deb 5.75 MB
- hugo_0.44_Linux-ARM.tar.gz 5.97 MB
- hugo_0.44_Linux-ARM64.deb 5.61 MB
- hugo_0.44_Linux-ARM64.tar.gz 5.74 MB
- hugo_0.44_macOS-32bit.tar.gz 6.16 MB
- hugo_0.44_macOS-64bit.tar.gz 6.44 MB
- hugo_0.44_NetBSD-32bit.tar.gz 5.82 MB
- hugo_0.44_NetBSD-64bit.tar.gz 6.11 MB
- hugo_0.44_NetBSD-ARM.tar.gz 5.98 MB
- hugo_0.44_OpenBSD-32bit.tar.gz 5.82 MB
- hugo_0.44_OpenBSD-64bit.tar.gz 6.11 MB
- hugo_0.44_Windows-32bit.zip 5.84 MB
- hugo_0.44_Windows-64bit.zip 6.17 MB
- hugo_extended_0.44_checksums.txt 412 Bytes
- hugo_extended_0.44_Linux-64bit.tar.gz 7.02 MB
- hugo_extended_0.44_Linux_64bit.deb 7.01 MB
- hugo_extended_0.44_macOS-64bit.tar.gz 7.27 MB
- hugo_extended_0.44_Windows-64bit.zip 52.7 MB
- Source code (zip)
- Source code (tar.gz)
Hugo 0.44 is the follow-up release, or The Sequel, of the very well received 0.43 only days ago. That release added Hugo Pipes, with SCSS/SASS support, assets bundling and minification, ad-hoc image processing and much more.
This is mostly a bug-fix release, but it also includes several important improvements.
Many complained that their SVG images vanished when browsed from the hugo server. With Hugo Pipes MIME types suddenly got really important, but Hugo's use of Suffix was ambiguous. This became visible when we redefined the image/svg+xml to work with Hugo Pipes. We have now added a Suffixes field on the MIME type definition in Hugo, which is a list of one or more filename suffixes the MIME type is identified with. If you need to add a custom MIME type definition, this means that you also need to specify the full MIME type as the key, e.g. image/svg+xml.
Hugo now has:
- 27120+ stars
- 443+ contributors
- 239+ themes
Notes
MediaType.Suffixis deprecated and replaced with a plural version,MediaType.Suffixes, with a more specific definition. You will get a detailed WARNING in the console if you need to do anything.
Enhancements
- Allow multiple file suffixes per media type b874a1ba @bep #4920
- Clean up the in-memory Resource reader usage 47d38628 @bep #4936
- Move opening of the transformed resources after cache check 0024dcfe @bep
- Improve type support in
resources.Concat306573de @bep #4934 - Flush
partialCachedcache on rebuilds 6b6dcb44 @bep #4931 - Include the transformation step in the error message d96f2a46 @bep #4924
- Exclude *.svg from CRLF/LF conversion 9c1e8208 @anthonyfok
Fixes
- Fix
resources.Concatfor transformed resources beec1fc9 @bep #4936 - Fix static filesystem for themed multihost sites 80c8f3b8 @bep #4929
- Set permission of embedded templates to 0644 2b73e89d @anthonyfok
Automated with GoReleaser
Built with go version go1.10.1 linux/amd64