Version 5.20

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


5.20.0 (2023-08-26)

Change

  • Change The theme has updated its Swagger dependency to 5.4.1 for the openapi shortcode.

    With this comes a change in the light theme variants of Relearn Bright, Relearn Light and Zen Light by switching the syntaxhighlighting inside of openapi to a light scheme. This brings it more in sync with the code style used by the theme variants itself.

    Additionally, the syntaxhighlighting inside of openapi for printing was switched to a light scheme for all theme variants.

    If you dislike this change, you can revert this in your theme variants CSS by adding

    --OPENAPI-CODE-theme: obsidian;
    --PRINT-OPENAPI-CODE-theme: obsidian;
  • Change For consistency reasons, we renamed the CSS variable --MENU-SECTION-HR-color to --MENU-SECTION-SEPARATOR-color. You don’t need to change anything in your custom color stylesheet as the old name will be used as a fallback.

New

  • New The theme variants Zen Light and Zen Dark now add more contrast between menu, topbar and content by adding thin borders.

    Those borders are now configurable by using the CSS variables --MAIN-TOPBAR-BORDER-color, --MENU-BORDER-color, --MENU-TOPBAR-BORDER-color, --MENU-TOPBAR-SEPARATOR-color, --MENU-HEADER-SEPARATOR-color and --MENU-SECTION-ACTIVE-CATEGORY-BORDER-color.

    For existing variants nothing has changed visually.

  • New The default values for the image effects are now configurable for your whole site via hugo.toml or for each page through front matter.

  • New This release fixes a long-standing bug where Mermaid graphs could not be displayed if they were initially hidden - like in collapsed expand or inactive tabs.

  • New Restored compatibility with Hugo versions lower than 0.111.0 for the highlight shortcode. This does not change the minimum required Hugo version.