chore(deps): update dependency gohugoio/hugo to v0.134.2 #874
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.128.2
->v0.134.2
Release Notes
gohugoio/hugo (gohugoio/hugo)
v0.134.2
Compare Source
What's Changed
3d6baed
@bep #12837v0.134.1
Compare Source
What's Changed
66a3a11
@bep #128288f2eac0
@bep #12822v0.134.0
Compare Source
Hugo v0.134.0 brings render hooks for tables, ContentWithoutSummary, scoped content render and Obsidian style callout alerts.
ContentWithoutSummary and scoped content render
This release finally brings a
Page.ContentWithoutSummary
method. This has been a long sought after method where the use case is obvious: render the summary with a more button that renders the ... content without summary. To enable this we have reimplemented the content summary handling in Hugo. This consolidates the 3 summary types (auto
,manual
andfrontmatter
) – they are now all HTML. This is a slightly breaking change (manual
was plain text before), but the new behaviour should be much less confusing and easier to handle in the templates. If you want plain text, pipe it intoplainify
:{{ .Summary | plainify }}
.Before this release there was one instance of
.Content
for a given page, it was e.g. not possible to render a page's content slightly different (e.g. different heading levels) on the list pages or the home page. This release anables that with a newPage.Markup
with an optionalscope
argument.In the list template you would do something like this:
You can think of the custom scope
list
as a cache key: Multiple invocations on the same page with the same scope will give the same return value. You can now pass down some data or configuration to in.Page.Store
to the templates that render this markup (shortcodes, render hooks), or you can use the new globalhugo.Context.MarkupScope
function made for this purpose:Render hooks for tables
This has been a long sought after feature. Now you can have full control over how you render your Markdown tables with table render hooks.
Obsidian style callout alerts
Hugo
v0.133.0
added blockquote render hooks with GitHub styled alerts. We have since then gotten some feedback about extended alert syntax in Obsidian, and in Hugov0.134.0
we now support both.Bug fixes
96afea4
@bep8fb9335
@deining1ecd059
@jmooring #12797Improvements
504a231
@bepe651d29
@bep #12805 #128014691248
@bep6d97ee7
@bepf738669
@bep #9316 #12811b63f24a
@jmooringa3684c8
@jmooring #742853a8de2
@chalin3760926
@bep #8680 #12761 #12778 #716371246d
@bepDependency Updates
2b5c335
@bep #1264912a28ef
@dependabot[bot]4ded32d
@dependabot[bot]Documentation
ae38158
@offgrid88v0.133.1
Compare Source
Bug fixes
5f667f8
@bep #127957792392
@jmooringe1becf1
@bep #12793v0.133.0
Compare Source
What's Changed
01008ba
@bep #1277653c0ddf
@dependabot[bot]133eeaf
@bep2168c5b
@bep #12763v0.132.2
Compare Source
What's Changed
d72607a
@bep #127678323526
@bep #127655220d37
@0xB10Cb2d4f67
@bepa99716b
@bep #1275398aa536
@bep #127539231a7f
@bep #12753v0.132.1
Compare Source
What's Changed
77304a3
@bep #12753bef9214
@bep #12756v0.132.0
Compare Source
Server-side math rendering using KaTeX with Markdown render hooks support, blockquote Markdown render hooks with GitHub style alerts syntax support, and more.
Bug fixes
e1e1baa
@bep #12748fbfccb3
@bep #1273369455fa
@bepImprovements
2192cf7
@bepe422635
@bep891aa00
@bep #12745 #12746946e6af
@bep #873233c0938
@bep #119270c3a1c7
@bepceed812
@bepdbff48e
@bep665ac94
@bep #125904c162de
@bepc6227f1
@bep #1192710891f3
@bep #12718c07e94f
@bepDependency Updates
5d84f64
@bep #127411781b18
@dependabot[bot]d6d9ddd
@dependabot[bot]8f8d12a
@dependabot[bot] #12718Documentation
ef2e30e
@bepBuild Setup
b08de70
@morremeyer #10760v0.131.0
Compare Source
Note that if you use Hugo's image processing, your processed images will get new (shorter!) file names when you build your site with this release. We have upgraded a third party hashing library to fix some rare but potential hash collisions, and since this would change some of the image hashes, we thought we might as well do some other related changes: We now use xxHash to create the image file hashes (very fast!) and we have removed the verbose processing information, making the filenames much shorter.
This release is also a full dependency refresh and it comes with one notable and very useful new feature. It is now possible to use
permalinks
tokens in the front matterurl
. See the documentation for more info. Thanks to @n1xx1 for the implementation.Note
2babd64
@bepBug fixes
944fcc2
@bep #12712Improvements
914fa13
@n1xx151f09b1
@n1xx1a5db76f
@bepurl
566fe7b
@n1xx1 #97149257301
@bep071f8b4
@bepae9d5e7
@bep216a69a
@bep #12688 #12656e67886c
@bepd5eda13
@bep8b5d796
@bep78db8ae
@bep #116443140e0b
@bepDependency Updates
be64358
@dependabot[bot]20e4dd2
@dependabot[bot]f411499
@dependabot[bot]47fee83
@dependabot[bot]99665ef
@dependabot[bot]eb2eeee
@dependabot[bot]bea5a46
@bepf1a7f3d
@dependabot[bot]08243be
@dependabot[bot]0490a8a
@dependabot[bot]d795cac
@bep78c9a18
@bep79aa2ab
@bepc9d7577
@bep #116449989404
@bepb81ba2a
@bepafdd87d
@bepv0.130.0
Compare Source
What's Changed
9d2b5f9
@raoulb Documentation72ff937
@bep #10855 #8586 #8996 Documentationv0.129.0
Compare Source
This release brings a rewrite of the logic around browser refreshes when running
hugo server
. We have seen some situations where asset changes (e.g. image/CSS/JS) has not been refreshed reliably in all browsers, even with the developer console open and the cache disabled. We suspect this comes from a recent browser bug (typically: Works fine in Safari, does not refresh in Chrome). The strategy we've been using when a change triggers multiple changes (e.g. both HTML and CSS) is to do one "browser force refresh", which in LiveReload ends up as awindow.location.reload()
. With this release we:livereload
.Start the server with:
And you should see how Hugo handles browser updates when you change content/templates etc.
A related tip; start the server with
Hugo will navigate to the content file you're changing and log it in the console.
Also new in this release a new xxHash hashing function that is much faster than any of the other hashing functions in Hugo, especially for larger inputs.
Note
We have upgraded the integration with Git used to load GitInfo to be part of Hugo's Security Policy. We have added
git
to the default whitelist, but if you have a custom security policy, you may have to update that.Bug fixes
cc2d19e
@bep #12648251a23e
@bep #12625Improvements
4d8bfa7
@bepf0ed91c
@bep #12655094f746
@bep #12643fb8909d
@bep #126430ee2610
@PeskyPotato #10905644d554
@bep #12635Dependency Updates
7be0377
@bep #8627439f07e
@bepce5a2ce
@bep0f42d97
@bepConfiguration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 was generated by Mend Renovate. View the repository job log.