Version 7

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


7.1.0 (2024-10-24)

Change

  • Change The sidebar menus are now completely configurable.

    This is provided by the new parameter sidebarmenus. With the new system, you can

    • show arbitrary amounts of menus
    • set headings for each menu
    • base it on your page structure or use Hugo’s menu feature
    • configure a starting page if a menu is based on page structure
    • display unlimited nesting for both menu types
    • reconfigure the menus in a page’s front matter
    • apply the usual parameter alwaysopen, collapsibleMenu, etc. for all menu types

    You don’t need to change anything in your existing installation as the old configuration is used as a default.

  • Change The children shortcode was changed to output a page’s LinkTitle instead of previously using the Title.

    As the shortcode always outputs subpages in context of the parent page, it functions similar to the sidebar menu. The sidebar menu itself uses the LinkTitle for naming the menu entries and so should the shortcode do.

    The parameter value sort=linktitle was deprecated for the easier sort=title. You can still use the old value but both behave the same way in sorting by LinkTitle.

New

  • New Menus created by your page structure are now able to contain arbitrary links inserted into the structure using the menuUrl or menuPageRef front matter.

7.0.0 (2024-10-15)

Hugo 0.126.0

  • 0.126.0 This release requires a newer Hugo version.

Breaking

  • Breaking This release comes with significant changes in file naming of partials and how the theme works internally. This was done because the theme

    • suffered from poor build performance for sites with 1000 or more pages
    • reinvented the wheel instead of using available Hugo mechanisms

    What do I gain, you may ask. A significant performance boost during build! Usually, the build time has been cut at least in half for bigger sites. It is now possible to build even larger sites with 5000 or more pages. This was previously almost impossible due to rapidly increasing build time with the more pages you’ve introduced. For even bigger sites, the theme now has configurable performance optimizations - at the price of feature limitations.

    If you haven’t done customizations to any partials, you can update right away.

    If you have customized your templates, in the best cases, you will get build warnings or even errors. In the worst cases, your build succeeds but the site will not work as intended by you.

    Specifically, you will have to adapt your site if you have

  • Breaking This release changes the way the search index and the dedicated search page are generated. This may require reconfiguration by you to still work as you have intended.

    You need to remove the now obsolete search and searchpage output format from [outputs.home] in your hugo.toml, resulting in something similar to

    hugo.
    [outputs]
      home = ['html', 'rss', 'print']
    outputs:
      home:
      - html
      - rss
      - print
    {
       "outputs": {
          "home": [
             "html",
             "rss",
             "print"
          ]
       }
    }

    After that, your build will succeed but will most likely cause new defaults to be applied. With no further settings, in-page search, search popup and dedicated search page are all active by default. This can be reconfigured.

    In addition, you are now able to overwrite the default file name of the search index and the default page name of the dedicated search page by changing searchIndexURL and searchPageURL respectively in your hugo.toml.

    See the updated documentation for reference.

Change

  • Change Once again, the theme changed the font. We switched to the excellent Roboto Flex font.

    Care was taken to configure the font to look similar to the previously used Work Sans. Nevertheless, in direct comparison, you will see slight differences in appearance.

    This change was necessary as the previously used font had display issues with marked text, contrast, and some other minor stuff. As an aftermath, the number of requests and the download size were decreased when loading a page.

    The font was created by Google, is licensed under OFL 1.1 and is delivered from your theme’s installation. As always, no third-party server calls are involved.

    If you have changed the font-family in your installation, you most likely have to adjust the variables --MAIN-font-weight, --MAIN-BOLD-font-weight and --MAIN-letter-spacing.

    Additionally, if you have changed the font to a variable font in your installation, you may have to adjust the variable --MAIN-font-variation-settings. As this only applies to variable fonts, this should rarely be necessary.

  • Change While switching the font, it was discovered that certain CSS variables were falsely named. You don’t need to change anything in your custom variant stylesheet as the old names will be used as a fallback.

    --MAIN-TITLES-TEXT-font was renamed to --MAIN-TITLES-font, --MAIN-TITLES-H<n>-color was renamed to --MAIN-TITLES-H<n>-TEXT-color.

  • Change The options and front matter to force loading a math, mermaid or openapi library has been changed.

    Previously, you had to set the unintuitive disableMathJax=false to force load the math library in case of a passthrough configuration. This is replaced by the simpler math=true or math.force=true and is now in line with Hugo’s official documentation.

    You don’t need to change anything yet but will receive warnings if the old settings are used.

  • Change The default logo is not contained inside of the theme’s logo partial anymore.

    This is to avoid usage of the theme’s branding throughout the web in non-modified installations.

    In addition, the default text for the logo partial is now taken from the linkTitle setting of your hugo.toml.

New