Version 2.0
See the changelog of this version for a detailed list of changes.-
0.126.0 Minimum required Hugo version
-
Breaking Change requiring action after upgrade
-
Change Change of behavior, may require action
-
New New behavior, often introducing new options
2.0.0 (2021-08-28)
Change
-
Change Syntax highlighting was switched to the built in Hugo mechanism. You may need to configure a new stylesheet or decide to roll you own as described on in the Hugo documentation
-
Change In the predefined stylesheets there was a typo and
--MENU-HOME-LINK-HOVERED-color
must be changed to--MENU-HOME-LINK-HOVER-color
. You don’t need to change anything in your custom color stylesheet as the old name will be used as a fallback. -
Change
--MENU-HOME-LINK-color
and--MENU-HOME-LINK-HOVER-color
were missing in the documentation. You should add them to your custom stylesheets if you want to override the defaults. -
Change Arrow navigation and
children
shortcode were ignoring setting forordersectionsby
. This is now changed and may result in different sorting order of your sub pages. -
Change If hidden pages are accessed directly by typing their URL, they will be exposed in the menu.
-
Change A page without a
title
will be treated ashidden=true
.
New
-
New You can define the expansion state of your menus in the front matter. Please see further documentation for possible values and default behavior.
-
New New partials for defining pre/post content for menu items and the content. See documentation for further reading.
-
New Shortcode
children
with new parametercontainerstyle
. -
New New shortcode
include
to include arbitrary file content into a page.