Version 9.5
See the changelog of this version for a detailed list of changes.0.166.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
9.5.0 (2026-11-06)
Change
-
Change Your own topbar elements now receive the parameters of their configuration as
element, like the elements of the sidebar menus do. The area they are written into is available asconfig.If your element template reads a parameter like
.onwidths, change it to.element.onwidths. Reading the parameters directly still works but is deprecated and will stop working with 10.0.0. Templates only reading.pagedon’t need to be changed.If your templates call one of the theme’s elements like
topbar/element/editbutton.htmlthemselves, pass its parameters aselement. Parameters given next topagestill work but issue a deprecation warning. -
Change The
iconpositionparameter of thebuttonshortcode is deprecated. The icon is always shown in front of the title.The parameter still works but issues a deprecation warning and will stop working with 10.0.0.
-
Change The
mathshortcode changes in preparation for 10.0.0. Each deprecated usage still works but issues a warning.The shortcode, codefence and partial take your formula without delimiters. Delimiters will be taken as part of your formula with 10.0.0. Remove the delimiters around your formula. If they were inline delimiters, set the new
displayModeoption of the shortcode or partial tofalseto keep your formula inline. A codefence always displays its formula as a block; for an inline formula, use the shortcode instead.The options of Hugo’s
transform.ToMathfunction moved frommathtomath.toMathin your project configuration and front matter. Options set directly inmath, likemath.output, will stop working with 10.0.0.Give
math.toMath.macrosas a list of name and definition pairs. Hugo lowercases the names of a map, so a macro containing uppercase letters can’t be used by its name. A map still works but issues a warning. -
Change The theme has updated its Mermaid dependency to 12.2.0, which changes how your graphs look. Many diagram types are drawn with Mermaid’s new
neolook and laid out by ELK, and the shipped color variants now use the newredux-colorandredux-dark-colorMermaid themes.To keep the previous appearance, set
--MERMAID-themeback todefaultordarkin your color variant and add{ "look": "classic", "layout": "dagre" }to your Mermaid initialization options.
New
-
New The image effects
heightandwidthcan now be set in your project configuration or a page’s front matter, to give all images of your site or page a default size. -
New Topbar buttons can show their title next to their icon depending on the width of the screen, using the new options
titleonwidths,titleonwidthmandtitleonwidthl. The theme’s buttons keep showing only their icon unless you set these options. -
New With the updated Mermaid dependency, you can draw use case diagrams.