fix(deps): update module github.com/gohugoio/hugo to v0.111.2 #643
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.
This PR contains the following updates:
v0.110.0
->v0.111.2
Release Notes
gohugoio/hugo
v0.111.2
Compare Source
Bug fixes
b83050c
@bep #107943bbeb56
@bep #10789184a67a
@alexandeara950950
@jmooring #10783df5608f
@bep #107916c798eb
@bep #10782ec1c97e
@bep #1078136ce3a4
@alexandearDocumentation
f56ce01
@bepBuild Setup
f10009e
@bep #10785v0.111.1
Compare Source
This fixes the "page" not defined issue in Hugo
0.111.0
.eef23a7
@bep #10774v0.111.0
Compare Source
Hugo
0.111.0
is the second Hugo release of the year. Note: There's already a patch release.Notable news
Page Fragments
We added the new
.Fragments
method onPage
as part of the Related Content feature refresh (below), but it's plenty useful on its own, and has been long sought after by Hugo users.It has many uses: Build table of contents, check if a page fragment (heading identifier) exists on a page, check for duplicate heading identifiers, start table of contents from a specific heading identifier. See the Hugo Documentation for more information
Indexing of Page Fragments in Related Content
We have reworked the Related Content API so it's now one method
.Related
that takes either aPage
or an options map. We have also introduced a newtype
attribute on the index configuration with the new typefragments
. See this for details, but to add some weight to the page titles in the Related Content configuration you can do this:See the Hugo Documentation for more.
Global page func
Note: There was a bug in this release that made this new feature not working, so you need to upgrade to Hugo 0.111.1. We blame it on Go.
Hugo almost always passes a
Page
as the data context into the top level template (e.g.single.html
) (the one exception is the multihost sitemap template). This means that you can access the current page with the.
variable in the template.But when you're deeply nested inside
.Render
, partial etc., accessing thatPage
object isn't always practical or possible.For this reason, Hugo now provides a global
page
function that you can use to access the current page from anywhere in any template.Notes
.Fragments
structure from everywhere, even in render hooks (271318a
@bep #10750)66f94b4
@jmooring4ef9baf
@bep #4086 #9588Bug fixes
c0d15a2
@khayyamsaleem #10399ae48507
@bep #106722dad13c
@aaronhoopera1a9c08
@acclassic #1063273ece30
@khayyamsaleem #10682f9fc0e0
@bep #106981477d0b
@bep #106684ccc8cf
@jmooring1688583
@bep #10654Improvements
d453c12
@alexandear60e6fa7
@bep7e51ba0
@bep66f94b4
@jmooring2a61910
@bep079d1b6
@bepa669467
@bep #10732e314410
@alexandear39cc3a2
@WaltCuller #10738ce524d0
@bep #93392662faf
@jmooring #10592271318a
@bep #10750e442a63
@bep #107447d78a49
@bep #106750dbeac8
@bep #10671b99d073
@bepe965cb6
@jmooring #10470586fea0
@bepfa2d7ad
@bep #107114346987
@bepecf3cd5
@bep #106326abd15e
@bep #10691094135f
@bep #1069190da766
@bep #10711 #9339 #107250afec0a
@bep28540ed
@bep9af78d1
@bepd33a7eb
@bep #10698fce0890
@bep4f4a1c0
@bepe2cfc3d
@bep4ef9baf
@bep #4086 #9588Dependency Updates
db9f74d
@bep #107704d36b99
@dependabot[bot]807237b
@dependabot[bot]79b03b3
@dependabot[bot]4bf91b9
@dependabot[bot]2a364cc
@bep3fb2417
@jmooring #1066187c78bd
@dependabot[bot]69c369e
@jmooring #9890 #10692dd37163
@dependabot[bot]c3a59a7
@dependabot[bot] #9778Documentation
d5601e8
@bepcedd04d
@bepa56b907
@bep5c317c5
@bep #1076893ed6e4
@bepBuild Setup
4801e2e
@bep #1069176c6140
@anthonyfokd4482e8
@anthonyfok #10337Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.