Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Hugo to v0.86.0 #370

Merged
merged 1 commit into from Jul 25, 2021
Merged

Update Hugo to v0.86.0 #370

merged 1 commit into from Jul 25, 2021

Conversation

bot-actions[bot]
Copy link
Contributor

@bot-actions bot-actions bot commented Jul 23, 2021

馃憫 Hugo update!

v0.86.0 Release Notes

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

@zinefer zinefer merged commit b6b1147 into master Jul 25, 2021
@zinefer zinefer deleted the hugo-v0.86.0 branch July 25, 2021 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant