Version 5.4
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.4.0 (2022-11-01)
Change
-
Change With the proper settings in your
hugo.toml
your 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.toml
fromjson
tosearch
. The now deprecatedjson
outputformat still works as before, so there is no need to reconfigure your installation if it is only served fromhttp://
orhttps://
. -
Change The
button
shortcode has a new parametertarget
to 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
math
shortcode andmermaid
shortcode now also support thealign
parameter 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).