chore(deps): update dependency gohugoio/hugo to v0.86.0 #8

Merged
xoxys merged 1 commits from renovate/gohugoio-hugo-0.x into main 2021-07-25 12:30:46 +00:00
Member

This PR contains the following updates:

Package Update Change
gohugoio/hugo minor v0.85.0 -> v0.86.0

Release Notes

gohugoio/hugo

v0.86.0

Compare Source

This is release is a set of smaller fixes and improvements. Some of the more noteable:

You can now have a top level cascade (or one per language, if needed) section in your site configuration (e.g. config.toml). This way you can control default front matter values from outside of the content files.

Hugo's Menu system works good, but hasn't been particulary easy to set the active menu state for section pages without a menu defintion. We have had the option Section Menu for Lazy Bloggers. That helped for the common case, but we have now made it behave more sensible out of the box: $page.HasMenuCurrent $sectionMenuEntry will now always return true for any descendant of that section. To support this for menu defintions in the site config, we have added a new pageRef option on MenuEntry:

[[menus.main]]
pageRef = "blog"
### When pageRef is set, setting `url` is optional; it will be used as a fallback if the page is not found.
url = "/blog"

Set pageRef to a value that site.GetPage understands, and the menu entry will be correctly connected to the page.

This release represents 14 contributions by 2 contributors to the main Hugo code base.
Many have also been busy writing and fixing the documentation in hugoDocs,
which has received 1 contributions by 1 contributors.

Hugo now has:

Enhancements

Other

Fixes

Other

Configuration

📅 Schedule: 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.85.0` -> `v0.86.0` | --- ### Release Notes <details> <summary>gohugoio/hugo</summary> ### [`v0.86.0`](https://github.com/gohugoio/hugo/releases/v0.86.0) [Compare Source](https://github.com/gohugoio/hugo/compare/v0.85.0...v0.86.0) This is release is a set of smaller fixes and improvements. Some of the more noteable: You can now have a top level [cascade](https://gohugo.io/content-management/front-matter#front-matter-cascade) (or one per language, if needed) section in your site configuration (e.g. `config.toml`). This way you can control default front matter values from outside of the content files. Hugo's [Menu system](https://gohugo.io/content-management/menus/) works good, but hasn't been particulary easy to set the active menu state for section pages without a menu defintion. We have had the option [Section Menu for Lazy Bloggers](https://gohugo.io/templates/menu-templates/#section-menu-for-lazy-bloggers). That helped for the common case, but we have now made it behave more sensible out of the box: `$page.HasMenuCurrent $sectionMenuEntry` will now always return true for any descendant of that section. To support this for menu defintions in the site config, we have added a new `pageRef` option on [MenuEntry](https://gohugo.io/variables/menus/#menu-entry-variables): ```toml [[menus.main]] pageRef = "blog" ### When pageRef is set, setting `url` is optional; it will be used as a fallback if the page is not found. url = "/blog" ``` Set `pageRef` to a value that [site.GetPage](https://gohugo.io/functions/getpage/) understands, and the menu entry will be correctly connected to the page. This release represents **14 contributions by 2 contributors** to the main Hugo code base. Many have also been busy writing and fixing the documentation in [hugoDocs](https://github.com/gohugoio/hugoDocs), which has received **1 contributions by 1 contributors**. Hugo now has: - 53005+ [stars](https://github.com/gohugoio/hugo/stargazers) - 431+ [contributors](https://github.com/gohugoio/hugo/graphs/contributors) - 370+ [themes](http://themes.gohugo.io/) #### Enhancements ##### Other - Simplify "active menu" logic for section menus [d831d2fc](https://github.com/gohugoio/hugo/commit/d831d2fce8198fb814ea4d3d8c311db5c388d04c) [@&#8203;bep](https://github.com/bep) [#&#8203;8776](https://github.com/gohugoio/hugo/issues/8776) - Make keepWhitespace = true default for HTML [c19f65f9](https://github.com/gohugoio/hugo/commit/c19f65f956739ab76c38222d48a3e461525e31af) [@&#8203;bep](https://github.com/bep) [#&#8203;8771](https://github.com/gohugoio/hugo/issues/8771) - Make FileMeta a struct [022c4795](https://github.com/gohugoio/hugo/commit/022c4795510306e08a4aba31504ca382d41c7fac) [@&#8203;bep](https://github.com/bep) [#&#8203;8749](https://github.com/gohugoio/hugo/issues/8749) - Add tabindex="0" to default <pre> wrapper [f27e5424](https://github.com/gohugoio/hugo/commit/f27e542442d19436f1428cc22bb03aca398d37a7) [@&#8203;rhymes](https://github.com/rhymes) [#&#8203;7194](https://github.com/gohugoio/hugo/issues/7194) - Rename/reorder the hook methods [80566481](https://github.com/gohugoio/hugo/commit/805664818d0e1f95a3474271c2db3e5f49db26ba) [@&#8203;bep](https://github.com/bep) [#&#8203;8755](https://github.com/gohugoio/hugo/issues/8755) - Support auto links in render hook [ee3d2bb1](https://github.com/gohugoio/hugo/commit/ee3d2bb1d3974584f47cde7c973fbd1ae1f512b6) [@&#8203;bep](https://github.com/bep) [#&#8203;8755](https://github.com/gohugoio/hugo/issues/8755) - Adjust a test helper [eb2a5003](https://github.com/gohugoio/hugo/commit/eb2a500367780b07d67c301ce7c866e6b67aa687) [@&#8203;bep](https://github.com/bep) - Add config.cascade [5cb52c23](https://github.com/gohugoio/hugo/commit/5cb52c23150032b3fdb211a095745c512369b463) [@&#8203;bep](https://github.com/bep) [#&#8203;8741](https://github.com/gohugoio/hugo/issues/8741) - Regenerate image golden testdata [30eea391](https://github.com/gohugoio/hugo/commit/30eea3915b67f72611a3b2f4547146d4c6a96864) [@&#8203;bep](https://github.com/bep) [#&#8203;8729](https://github.com/gohugoio/hugo/issues/8729) #### Fixes ##### Other - Fix panic on invalid config in "hugo mod get" and similar [351ed0f5](https://github.com/gohugoio/hugo/commit/351ed0f569f96aff29b03925bf5154d80a164e00) [@&#8203;bep](https://github.com/bep) [#&#8203;8773](https://github.com/gohugoio/hugo/issues/8773) - Fix Params case handling for menu items defined in site config [634481ba](https://github.com/gohugoio/hugo/commit/634481ba8cfcd865ba0d8811d8834f6af45663d7) [@&#8203;bep](https://github.com/bep) [#&#8203;8775](https://github.com/gohugoio/hugo/issues/8775) - Fix default values when loading from config dir [ae6cf93c](https://github.com/gohugoio/hugo/commit/ae6cf93c84c3584b111f4b9fa3fb4e3f63d37915) [@&#8203;bep](https://github.com/bep) [#&#8203;8763](https://github.com/gohugoio/hugo/issues/8763) - Fix the deprecation error/warn log levels [a70da2b7](https://github.com/gohugoio/hugo/commit/a70da2b74a6af0834cce9668cdb6acdb1c86a4c0) [@&#8203;bep](https://github.com/bep) - Fix transparency problem when converting 32-bit images to WebP [8f40f34c](https://github.com/gohugoio/hugo/commit/8f40f34cd10a98598bb822ec633fd5d0ea64b612) [@&#8203;bep](https://github.com/bep) [#&#8203;8729](https://github.com/gohugoio/hugo/issues/8729) </details> --- ### Configuration 📅 **Schedule**: 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).
renovator added 1 commit 2021-07-21 12:01:14 +00:00
chore(deps): update dependency gohugoio/hugo to v0.86.0
All checks were successful
continuous-integration/drone/pr Build is passing
2f9898249c
xoxys merged commit a1d9219c1c into main 2021-07-25 12:30:46 +00:00
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#8
No description provided.