Version 5.4
See the changelog of this version for a detailed list of changes.0.95.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.4.0 (2022-11-01)
Change
-
Change With the proper settings in your
hugo.tomlyour page is now servable from the local file system usingfile://URLs.Please note that the searchbox will only work for this if you reconfigure your outputformat for the home page in your
hugo.tomlfromjsontosearch. The now deprecatedjsonoutputformat still works as before, so there is no need to reconfigure your installation if it is only served fromhttp://orhttps://. -
Change The
buttonshortcode has a new parametertargetto set the destination frame/window for the URL to open. If not given, it defaults to a new window/tab for external URLs or is not set at all for internal URLs. Previously even internal URLs where opened in a new window/tab.
New
-
New The
mathshortcode andmermaidshortcode now also support thealignparameter if Markdown codefences are used. -
New Support for languages that are written right to left (like Arabic). This is only implemented for the content area but not the navigation sidebar. This feature is not available in Internet Explorer 11.
-
New Translation into Finnish (Suomi).