chore(deps): update dependency gohugoio/hugo to v0.135.0 #152

Open
renovator wants to merge 1 commits from renovate/gohugoio-hugo-0.x into main
Member

This PR contains the following updates:

Package Update Change
gohugoio/hugo minor v0.133.0 -> v0.135.0

Release Notes

gohugoio/hugo (gohugoio/hugo)

v0.135.0

Compare Source

This is a small release, the main motivation was to finally ... drum roll ... get a tagged Hugo Docker image published. Big thanks to @​bmanth60 for the tip that solved this issue.

Improvements

Dependency Updates

Build Setup

v0.134.3

Compare Source

v0.134.2

Compare Source

What's Changed

v0.134.1

Compare Source

What's Changed

v0.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 and frontmatter) – 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 into plainify: {{ .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 new Page.Markup with an optional scope argument.

In the list template you would do something like this:

{{ range .Pages | first 5 }}
  {{ with .Markup "list" }}
     {{ with .Render }}
       <div>
           <li>{{ .Summary }}</li> 
           <li>{{ .ContentWithoutSummary }}</li> 
           <li>{{ .WordCount }}</li> 
           <li>etc ...</li> 
       </div>
     {{ end }}
  {{ end }}
{{ end }}

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 global hugo.Context.MarkupScope function made for this purpose:

{{ if eq hugo.Context.MarkupScope "list" }}
  {{/* Render some list markup. */}}
{{ else }}
  {{/* default */}}
{{ end }}

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 Hugo v0.134.0 we now support both.

Bug fixes

Improvements

Dependency Updates

Documentation

v0.133.1

Compare Source

Bug fixes


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [gohugoio/hugo](https://github.com/gohugoio/hugo) | minor | `v0.133.0` -> `v0.135.0` | --- ### Release Notes <details> <summary>gohugoio/hugo (gohugoio/hugo)</summary> ### [`v0.135.0`](https://github.com/gohugoio/hugo/releases/tag/v0.135.0) [Compare Source](https://github.com/gohugoio/hugo/compare/v0.134.3...v0.135.0) This is a small release, the main motivation was to finally ... drum roll ... get a tagged [Hugo Docker image](https://github.com/gohugoio/hugo/pkgs/container/hugo/280590856?tag=v0.135.0) published. Big thanks to [@&#8203;bmanth60](https://github.com/bmanth60) for the tip that solved this issue. #### Improvements - resources/page: Validate predefined front matter dates [`4c02a52`](https://github.com/gohugoio/hugo/commit/4c02a52f7) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;10717](https://github.com/gohugoio/hugo/issues/10717) - tailwind: Pin Tailwind 4 test to alpha 24 [`da72ac2`](https://github.com/gohugoio/hugo/commit/da72ac2db) [@&#8203;bep](https://github.com/bep) [#&#8203;12880](https://github.com/gohugoio/hugo/issues/12880) - tpl/compare: Use any data type for compare.Conditional condition [`0ea796d`](https://github.com/gohugoio/hugo/commit/0ea796dad) [@&#8203;jmooring](https://github.com/jmooring) #### Dependency Updates - build(deps): bump golang.org/x/mod from 0.19.0 to 0.21.0 [`12c9ce3`](https://github.com/gohugoio/hugo/commit/12c9ce34b) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/bep/helpers from 0.4.0 to 0.5.0 [`47b0555`](https://github.com/gohugoio/hugo/commit/47b055589) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump golang.org/x/net from 0.28.0 to 0.29.0 [`e56ea40`](https://github.com/gohugoio/hugo/commit/e56ea4066) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump golang.org/x/image from 0.19.0 to 0.20.0 [`578442f`](https://github.com/gohugoio/hugo/commit/578442f89) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - deps: Upgrade github.com/gobuffalo/flect v1.0.2 => v1.0.3 [`1e690c0`](https://github.com/gohugoio/hugo/commit/1e690c0f2) [@&#8203;khayyamsaleem](https://github.com/khayyamsaleem) [#&#8203;12827](https://github.com/gohugoio/hugo/issues/12827) #### Build Setup - github: Trigger image workflow on release.published [`0d390d7`](https://github.com/gohugoio/hugo/commit/0d390d7eb) [@&#8203;bep](https://github.com/bep) [#&#8203;12753](https://github.com/gohugoio/hugo/issues/12753) ### [`v0.134.3`](https://github.com/gohugoio/hugo/releases/tag/v0.134.3) [Compare Source](https://github.com/gohugoio/hugo/compare/v0.134.2...v0.134.3) - tpl: Remove RSS deprecation site.Author check [`e07028c`](https://github.com/gohugoio/hugo/commit/e07028cb9) [@&#8203;bep](https://github.com/bep) - modules: Improve console output on hugo mod init [`22a9f3f`](https://github.com/gohugoio/hugo/commit/22a9f3fc9) [@&#8203;bep](https://github.com/bep) [#&#8203;11458](https://github.com/gohugoio/hugo/issues/11458) - commands: Ignore "module does not exist" errors in hugo mod init [`e363964`](https://github.com/gohugoio/hugo/commit/e363964f2) [@&#8203;bep](https://github.com/bep) [#&#8203;11458](https://github.com/gohugoio/hugo/issues/11458) - Add exclusion for helix .bck files [`c260cb2`](https://github.com/gohugoio/hugo/commit/c260cb28a) [@&#8203;David-Else](https://github.com/David-Else) [#&#8203;12677](https://github.com/gohugoio/hugo/issues/12677) - hugolib: Move hugolib/site_new.go into hugolib/site.go [`e079145`](https://github.com/gohugoio/hugo/commit/e07914537) [@&#8203;bep](https://github.com/bep) - libsass: Resolve directory paths to directory index files [`5b442b3`](https://github.com/gohugoio/hugo/commit/5b442b3cc) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;12851](https://github.com/gohugoio/hugo/issues/12851) - dartsass: Resolve directory paths to directory index files [`2bc2765`](https://github.com/gohugoio/hugo/commit/2bc27657d) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;12849](https://github.com/gohugoio/hugo/issues/12849) - internal/warpc: Improve the JS plugin API [`28f621d`](https://github.com/gohugoio/hugo/commit/28f621d4a) [@&#8203;bep](https://github.com/bep) ### [`v0.134.2`](https://github.com/gohugoio/hugo/releases/tag/v0.134.2) [Compare Source](https://github.com/gohugoio/hugo/compare/v0.134.1...v0.134.2) #### What's Changed - Don't count HTML markup in auto summaries [`3d6baed`](https://github.com/gohugoio/hugo/commit/3d6baedae) [@&#8203;bep](https://github.com/bep) [#&#8203;12837](https://github.com/gohugoio/hugo/issues/12837) ### [`v0.134.1`](https://github.com/gohugoio/hugo/releases/tag/v0.134.1) [Compare Source](https://github.com/gohugoio/hugo/compare/v0.134.0...v0.134.1) #### What's Changed - Fix stray end p tag in Obsidian callout titles [`66a3a11`](https://github.com/gohugoio/hugo/commit/66a3a1100) [@&#8203;bep](https://github.com/bep) [#&#8203;12828](https://github.com/gohugoio/hugo/issues/12828) - Make ContentWithoutSummary return Content when summary is fetched from front matter [`8f2eac0`](https://github.com/gohugoio/hugo/commit/8f2eac019) [@&#8203;bep](https://github.com/bep) [#&#8203;12822](https://github.com/gohugoio/hugo/issues/12822) ### [`v0.134.0`](https://github.com/gohugoio/hugo/releases/tag/v0.134.0) [Compare Source](https://github.com/gohugoio/hugo/compare/v0.133.1...v0.134.0) 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`](https://gohugo.io/methods/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](https://gohugo.io/content-management/summaries/#comparison) (`auto`, `manual` and `frontmatter`) – 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 into `plainify`: `{{ .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 new `Page.Markup` with an optional `scope` argument. In the list template you would do something like this: ```handlebars {{ range .Pages | first 5 }} {{ with .Markup "list" }} {{ with .Render }} <div> <li>{{ .Summary }}</li> <li>{{ .ContentWithoutSummary }}</li> <li>{{ .WordCount }}</li> <li>etc ...</li> </div> {{ end }} {{ end }} {{ end }} ``` 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 global `hugo.Context.MarkupScope` function made for this purpose: ```handlebars {{ if eq hugo.Context.MarkupScope "list" }} {{/* Render some list markup. */}} {{ else }} {{/* default */}} {{ end }} ``` #### 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](https://gohugo.io/render-hooks/tables). #### Obsidian style callout alerts Hugo `v0.133.0` added [blockquote render hooks](https://gohugo.io/render-hooks/blockquotes/) with GitHub styled [alerts](https://gohugo.io/render-hooks/blockquotes/#alerts). We have since then gotten some feedback about extended alert syntax in [Obsidian](https://help.obsidian.md/Editing+and+formatting/Callouts#Change+the+title), and in Hugo `v0.134.0` we now support both. #### Bug fixes - github: Try to fix "no space left on device" on MacOS [`96afea4`](https://github.com/gohugoio/hugo/commit/96afea4ac) [@&#8203;bep](https://github.com/bep) - Fix deprecation warning for resources.ToCSS [`8fb9335`](https://github.com/gohugoio/hugo/commit/8fb933550) [@&#8203;deining](https://github.com/deining) - output: Fix docshelper template lookup order for AMP pages [`1ecd059`](https://github.com/gohugoio/hugo/commit/1ecd0596a) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;12797](https://github.com/gohugoio/hugo/issues/12797) #### Improvements - markup/goldmark/blockquotes: Improve some tests [`504a231`](https://github.com/gohugoio/hugo/commit/504a23184) [@&#8203;bep](https://github.com/bep) - Add support for Obsidian type blockquote alerts [`e651d29`](https://github.com/gohugoio/hugo/commit/e651d2980) [@&#8203;bep](https://github.com/bep) [#&#8203;12805](https://github.com/gohugoio/hugo/issues/12805) [#&#8203;12801](https://github.com/gohugoio/hugo/issues/12801) - Rename hstring.RenderedHTML => hstring.HTML [`4691248`](https://github.com/gohugoio/hugo/commit/469124823) [@&#8203;bep](https://github.com/bep) - Make all renderhook Text methods return template.HTML [`6d97ee7`](https://github.com/gohugoio/hugo/commit/6d97ee711) [@&#8203;bep](https://github.com/bep) - Add Markdown render hooks for tables [`f738669`](https://github.com/gohugoio/hugo/commit/f738669a4) [@&#8203;bep](https://github.com/bep) [#&#8203;9316](https://github.com/gohugoio/hugo/issues/9316) [#&#8203;12811](https://github.com/gohugoio/hugo/issues/12811) - create/skeletons: Clean up lang attribute in base template [`b63f24a`](https://github.com/gohugoio/hugo/commit/b63f24adc) [@&#8203;jmooring](https://github.com/jmooring) - tpl/resources: Improve resources.Concat error message [`a3684c8`](https://github.com/gohugoio/hugo/commit/a3684c836) [@&#8203;jmooring](https://github.com/jmooring) [#&#8203;7428](https://github.com/gohugoio/hugo/issues/7428) - tpl: Trim whitespace from google_analytics.html [`53a8de2`](https://github.com/gohugoio/hugo/commit/53a8de21b) [@&#8203;chalin](https://github.com/chalin) - Add Page.Contents with scope support [`3760926`](https://github.com/gohugoio/hugo/commit/37609262d) [@&#8203;bep](https://github.com/bep) [#&#8203;8680](https://github.com/gohugoio/hugo/issues/8680) [#&#8203;12761](https://github.com/gohugoio/hugo/issues/12761) [#&#8203;12778](https://github.com/gohugoio/hugo/issues/12778) [#&#8203;716](https://github.com/gohugoio/hugo/issues/716) - hugolib: Add a test for overriding \_internal templates [`371246d`](https://github.com/gohugoio/hugo/commit/371246de2) [@&#8203;bep](https://github.com/bep) #### Dependency Updates - deps: Upgrade github.com/bep/golibsass v1.1.1 => v1.2.0 [`2b5c335`](https://github.com/gohugoio/hugo/commit/2b5c335e9) [@&#8203;bep](https://github.com/bep) [#&#8203;12649](https://github.com/gohugoio/hugo/issues/12649) - build(deps): bump github.com/evanw/esbuild from 0.23.0 to 0.23.1 [`12a28ef`](https://github.com/gohugoio/hugo/commit/12a28ef77) [@&#8203;dependabot](https://github.com/dependabot)\[bot] - build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.3 [`4ded32d`](https://github.com/gohugoio/hugo/commit/4ded32d07) [@&#8203;dependabot](https://github.com/dependabot)\[bot] #### Documentation - Update Dockerfile [`ae38158`](https://github.com/gohugoio/hugo/commit/ae3815898) [@&#8203;offgrid88](https://github.com/offgrid88) ### [`v0.133.1`](https://github.com/gohugoio/hugo/releases/tag/v0.133.1) [Compare Source](https://github.com/gohugoio/hugo/compare/v0.133.0...v0.133.1) #### Bug fixes - Fix missing method NameNormalized panic [`5f667f8`](https://github.com/gohugoio/hugo/commit/5f667f879) [@&#8203;bep](https://github.com/bep) [#&#8203;12795](https://github.com/gohugoio/hugo/issues/12795) - config: Fix pagination deprecation messages [`7792392`](https://github.com/gohugoio/hugo/commit/7792392a6) [@&#8203;jmooring](https://github.com/jmooring) - deps: Upgraded github.com/bep/imagemeta v0.8.0 => v0.8.1 [`e1becf1`](https://github.com/gohugoio/hugo/commit/e1becf1df) [@&#8203;bep](https://github.com/bep) [#&#8203;12793](https://github.com/gohugoio/hugo/issues/12793) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41Mi4zIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
renovator added 1 commit 2024-08-26 14:33:11 +00:00
chore(deps): update dependency gohugoio/hugo to v0.133.1
All checks were successful
ci/woodpecker/pr/build-package Pipeline was successful
ci/woodpecker/pr/build-container Pipeline was successful
ci/woodpecker/pr/docs Pipeline was successful
f8d4ba22f1
renovator force-pushed renovate/gohugoio-hugo-0.x from f8d4ba22f1 to fcf5ca1d7a 2024-09-03 10:33:46 +00:00 Compare
renovator changed title from chore(deps): update dependency gohugoio/hugo to v0.133.1 to chore(deps): update dependency gohugoio/hugo to v0.134.0 2024-09-03 10:33:46 +00:00
renovator force-pushed renovate/gohugoio-hugo-0.x from fcf5ca1d7a to cb1adee22c 2024-09-05 11:32:08 +00:00 Compare
renovator changed title from chore(deps): update dependency gohugoio/hugo to v0.134.0 to chore(deps): update dependency gohugoio/hugo to v0.134.1 2024-09-05 11:32:08 +00:00
renovator force-pushed renovate/gohugoio-hugo-0.x from cb1adee22c to 62cc7ab7ee 2024-09-10 13:45:03 +00:00 Compare
renovator changed title from chore(deps): update dependency gohugoio/hugo to v0.134.1 to chore(deps): update dependency gohugoio/hugo to v0.134.2 2024-09-10 15:36:59 +00:00
renovator force-pushed renovate/gohugoio-hugo-0.x from 62cc7ab7ee to a3a635d8d4 2024-09-19 15:02:22 +00:00 Compare
renovator changed title from chore(deps): update dependency gohugoio/hugo to v0.134.2 to chore(deps): update dependency gohugoio/hugo to v0.134.3 2024-09-19 15:02:22 +00:00
renovator force-pushed renovate/gohugoio-hugo-0.x from a3a635d8d4 to d78ce2e654 2024-09-27 14:01:53 +00:00 Compare
renovator changed title from chore(deps): update dependency gohugoio/hugo to v0.134.3 to chore(deps): update dependency gohugoio/hugo to v0.135.0 2024-09-27 14:01:54 +00:00
Some checks failed
ci/woodpecker/pr/build-package Pipeline was successful
ci/woodpecker/pr/build-container Pipeline failed
ci/woodpecker/pr/docs unknown status
This pull request can be merged automatically.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/gohugoio-hugo-0.x:renovate/gohugoio-hugo-0.x
git checkout renovate/gohugoio-hugo-0.x
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: container/hugo#152
No description provided.