chore(deps): update dependency gohugoio/hugo to v0.110.0 - autoclosed #75
Loading…
Reference in New Issue
No description provided.
Delete Branch "renovate/gohugoio-hugo-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v0.105.0
->v0.110.0
Release Notes
gohugoio/hugo
v0.110.0
Compare Source
Note
3c51625
@bep #9620f38a2fb
@bep #8979Bug fixes
671f64b
@bep #10377f13531e
@bep #10604b5d4850
@bep #10616fbc3e08
@bepImprovements
d595419
@bep #106242fb40ec
@bep #10594c6b3887
@bep #1042921af5b3
@bep #10624f38a2fb
@bep #89796a579eb
@bep #10604f95fd57
@acclassic #10389e754d5c
@bep002cd52
@bepa76c405
@bepDependency Updates
6e9fa9e
@bep #10536Documentation
19e9605
@bep80e8bd3
@bepc4f3a46
@bepe402d91
@bepc0a03a2
@bepBuild Setup
dd6d0a6
@omarkohlv0.109.0
Compare Source
Hugo
v0.109.0
is the last release of 2022 – and with that we're wishing all of you a very merry Christmas and a prosperous new year[^1].Notable new features
Pass variables to SCSS/SASS
Hugo has had great SCSS/SASS support, but passing variables (e.g. theme colours from config) down to the transpiler has been much harder than it should.
In Hugo
v0.109.0
we added a new vars option and you can finally just do:And then in the SCSS file:
More examples here.
Hugo Module Workspaces
Workspace support was added in Go 1.18, and in this release Hugo finally gets solid support for it.
A common use case for a workspace is to simplify local development of a site with its theme modules.
A workspace can be configured in a
*.work
file and activated with the module.workspace setting, which for this use is commonly controlled via theHUGO_MODULE_WORKSPACE
OS environment variable.See the hugo.work file in the Hugo Docs repo for an example:
Using the
use
directive, list all the modules you want to work on, pointing to its relative location. As in the example above, it's recommended to always include the main project (the ".") in the list.With that you can start the Hugo server with that workspace enabled:
The
--ignoreVendorPaths
flag is added above to ignore any of the vendored dependencies inside_vendor
. If you don't use vendoring, you don't need that flag. But now the server is set up watching the files and directories in the workspace and you can see your local edits reloaded.Breadcrumbs
We have added a new
.Ancestors
method onPage
that walks up the tree to the home page. With this, breadcrumbs templates can be greatly simplified:The path to /public now available in PostCSS
So you can do
process.env.HUGO_PUBLISHDIR
in yourpostcss.config.js
to figure out where Hugo publishesits files.
Note that the value will always be an absolute file path and will point to a directory on disk even when running
hugo server
in memory mode.If you write to this folder from PostCSS when running the server, you could run the server with one of these flags:
Note
0d4b17d
@bep #105533afaca7
@bep2d217cb
@jmooring #10548ad20598
@bep #10534Bug fixes
libsass
transpiler intoCSS
and uses the cached build to avoid having the extended version installed on the CI server, you need to rebuild those assets and commit them to source control (e.g. withhugo --gc
).aa2c724
@bep #105425d5f0a2
@septs #10555b54de1b
@bep #10527e0e63f3
@lacameraImprovements
180dfeb
@bepeb0c8f9
@bep #105673a21618
@septs #105677183232
@jmooring37ab1cf
@jmooring #907359af05c
@bep #105544989da6
@jmooringeffa6a4
@bep #10555d20d265
@bep #1056141a080b
@bep #10555eda1e72
@bep330fa89
@bep6db5274
@bep #1055617055d1
@bep2a81a49
@bepe30d711
@acclassic #860187e898a
@bepd894269
@bep #105173fd0b78
@jmooring #10515Dependency Updates
7874b96
@dependabot[bot]Documentation
10bb29d
@bepcd1ed56
@bepBuild Setup
c9354d5
@bep784f8d2a4d
to8223b74460
chore(deps): update dependency gohugoio/hugo to v0.106.0to chore(deps): update dependency gohugoio/hugo to v0.107.08223b74460
tob2a165c458
chore(deps): update dependency gohugoio/hugo to v0.107.0to chore(deps): update dependency gohugoio/hugo to v0.108.0b2a165c458
to534b5f32f1
chore(deps): update dependency gohugoio/hugo to v0.108.0to chore(deps): update dependency gohugoio/hugo to v0.109.0534b5f32f1
to096b763f21
chore(deps): update dependency gohugoio/hugo to v0.109.0to chore(deps): update dependency gohugoio/hugo to v0.110.0chore(deps): update dependency gohugoio/hugo to v0.110.0to chore(deps): update dependency gohugoio/hugo to v0.110.0 - autoclosedPull request closed