Version 9.2
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.2.0 (2026-10-10)
Hugo 0.166.0
- 0.166.0 This release requires a newer Hugo version.
Change
-
Change Accessibility is now a supported feature of the theme.
With the new option
link.underline=true, links in your content are underlined, so they are told apart from the text around them by more than their color.To make accessibility happen, there were numerous changes, affecting all parts of the theme including the DOM.
As a side effect, the keyboard shortcuts of the theme are now documented as well.
-
Change The elements of your content, like tables, callouts, tabs, code blocks, blockquotes, Mermaid diagrams and images, now have rounded corners.
For images, this is the new image effect
rounded, which is enabled by default. If you want to restore the previous look of your images, setimageEffects.rounded=falsein yourhugo.toml. -
Change Markdown tables can now merge cells, using the syntax of Markdown Preview Enhanced. A cell containing only
>merges into the cell to its right, a cell containing only^into the cell above.If one of your tables already has such a cell and should show the character itself, escape it with two backslashes, like
\\>. -
Change The new
pagesshortcode lists pages of your site. Besides the layouts known from the now deprecatedchildrenshortcode, it can list descendants, siblings or ancestors, filter them and group and order them by any field or front matter parameter of a page.The
childrenshortcode still works but issues a deprecation warning for each use, naming thepagescall that replaces it. See the migration instructions.With
type=group, thechildrenshortcode no longer shows a multi-column layout. If you want to restore the previous behavior, replace it with thepagesshortcode andcolumns=3. -
Change The new
calloutshortcode replaces the now deprecatednoticeshortcode, matching the name of the Markdown callouts it shares its boxes with. The parameters are unchanged.The
noticeshortcode still works but issues a deprecation warning for each use. Rename your calls tocallout. See the migration instructions. -
Change Hugo’s built-in
detailsshortcode replaces the now deprecatedexpandshortcode, so your content stays portable to other themes.The
expandshortcode still works but issues a deprecation warning for each use. The parameters of thedetailsshortcode are named differently, so a call can not just be renamed. See the migration instructions.If you already use the
detailsshortcode, it now behaves like the one built into Hugo. Its content is rendered as Markdown if called with{{< details >}}, and thetitleparameter is honored. If your content is HTML or contains other shortcodes, set the newraw=trueparameter to have it written as it is. -
Change The
mathshortcode now renders your formulae using Hugo’s built-in KaTeX while your site is built, instead of the MathJax library in the browser.The theme finds your formulae by the delimiters of Hugo’s Passthrough configuration. If your site doesn’t have it yet, add it, otherwise formulae marked by these delimiters are not rendered. With the codefence, shortcode and partial syntax, content without delimiters is rendered as one formula regardless.
By default, formulae are written as MathML and displayed by the browser. If you prefer the look of KaTeX, which is the same in every browser, set
math.output='htmlAndMathml'.The options
mathJaxInitializeandcustomMathJaxURLare gone. Instead, you can set any KaTeX option inmath. If you defined your own macros, move them tomath.macros.KaTeX doesn’t know every command of MathJax. A formula it can not render is written as its source and reported as a warning in your build.
-
Change The front matter
params.pagesreplacesparams.childrenand is now honored on every page, not only on taxonomy and term pages. Together with Hugo’scascade, you can give all listings of a subtree the same look.The former
params.childrenis still honored as long as thechildrenshortcode exists, but using it now prints a warning. -
Change How the logo and title are arranged is now set with the new
logo.layoutoption.The
logo.directionoption is deprecated. It still works, but the theme warns you if you use it. Replacedirection='row'bylayout='sidebar-row'anddirection='column'bylayout='sidebar-column'. -
Change The elements of the topbar, like its buttons, are now configured with the
topbarstart,topbarmiddle,topbarendandtopbarmoreoptions, the same way as the sidebar menus. The breadcrumb is now an element of the new middle area. You can set them in yourhugo.tomlor in the front matter of your pages.Redefining an area by a template in
layouts/partials/topbar/areaand calling the theme’s templates inlayouts/partials/topbar/buttonis deprecated. Such an area template still defines its area, taking precedence over the options, and the button templates can still be called, but the theme warns you if you use them. The elements now live inlayouts/partials/topbar/element. See the migration instructions. -
Change Versioning now builds on Hugo’s
versions. All versions of your site are generated in one build of one project, and the version switcher links directly to the same page in the other versions.Links can point to a page in another version of your site with the new
versionquery parameter, like/my-page?version=v1.0.0.The options
versions,versionandversionIndexURLare deprecated. They still work as long as you have not configured Hugo’sversions, but the theme warns you if you use them. See the migration instructions. -
Change Links into another language written with a language prefix like
/pir/my-pageare deprecated, and with them the optionenableLegacyLanguageLinks. They still work if the option is set, but the theme warns you for each such link. Use thelangquery parameter instead, like/my-page?lang=pir. -
Change The front matter
preandpost, renamed in 5.0.0, now issue a deprecation warning. UsemenuPreandmenuPostinstead. -
Change The options
customMermaidURLandcustomOpenapiURLare deprecated. They still work, but the theme warns you if you use them.To use a different version of a library, store it in the
assetsdirectory of your site, where it replaces the shipped version. See the documentation of themermaidandopenapishortcodes. -
Change The search with the Lunr engine now only looks for similarly written words if a word of your search term isn’t found as written. Previously, such words were always included and could bury the hits you were asking for.
New
-
New The new color variants
contrast-lightandcontrast-darkhave colors chosen for high contrast. -
New A color variant can now be selected by a link with the new
variantquery parameter, like/my-page?variant=relearn-dark. -
New Markdown blockquotes can name the author and the source of the quotation with the new
author,sourceandhrefMarkdown attributes. -
New The
calloutshortcode has a newhintparameter to show a tooltip for the title of the box. -
New The
tabshortcode has a newhintparameter to show a tooltip for a tab, which also names a tab that shows nothing but an icon. -
New The
buttonshortcode and topbar buttons have a newistoggleparameter for buttons that show and hide something, telling assistive technology whether it is shown. -
New The
cardsshortcode has a newcolumnsparameter to set the number of columns in full width mode. -
New The
resourcesshortcode has a newpagerefparameter to list the resources of another page bundle. -
New The
openapishortcode has a newlangparameter to set the language used for the reading direction of the Swagger UI and for the texts the theme adds to it. These texts are now translated. -
New The
mermaidshortcode’s graph can now be focused, panned and zoomed with the keyboard.They now contain a new button to show it in a lightbox, where it is panned and zoomed the same way as on the page itself. Like an enlarged image, the enlarged graph has its own URL.
-
New The results of the dedicated search page can now be printed, if your home page has print support activated. The new
search.page.outputsoption lets you decide this independently of your home page. -
New An entry of a Hugo menu can now be continued by the tree of the page it links to by setting
params.type='page'. For a taxonomy page, this shows all of its terms without listing them in your menu definition. -
New The theme writes no inline JavaScript anymore, so your site can be served with a strict Content Security Policy. On request, it also adds subresource integrity hashes to its scripts and stylesheets. The
buttonandcardshortcodes and topbar buttons have a newactionparameter to run your own code without inline JavaScript. -
New The theme now ships a machine-readable SBOM at
sbom.cdx.json, listing every third-party resource it can publish with your site, each with a license, a digest of the files the theme ships and - where upstream publishes them - a version and a package URL.