Version 6.0
See the changelog of this version for a detailed list of changes.0.121.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
6.0.0 (2024-04-27)
Break'n
-
Break'n This release requires ye t' move yer self-defined variant (
theme-*.css) an' chroma stylesheets (chroma-*.css) fromstatic/csst'assets/css.This was necessary t' avoid permission errors on build if runn'n 'n certain Unix configurat'ns.
In addit'n it be not allowed anymore t'
@importyer chroma stylesheet from inside o' yer variant stylesheet.Say, yer chroma stylesheet be named
chroma-monokai.css, ye have t' add th' follow'n inside yer variant stylesheet: -
Break'n Th' parameter
descript'n'n yerhugo.tomlwill now be ignored.Wit' th' newly introduced unified handl'n o' descript'ns throughout th' theme, th' only place th' old parameter would have been used was yer home plank.
For migrat'n, move th'
descript'nparameter o' yerhugo.tomlinto th' front matter section o' yer home plank. -
Break'n Search support fer th'
jsonoutputformat deprecated 'n 5.4.0 was removed.Change it t'
searchfer th' homepage 'n yerhugo.toml. See th' docs fer detailed configurat'n. -
Break'n Th' front matter opt'n
menuTitledeprecated 'n 5.24.0 was removed 'n favor fer Hugo’s ownlinkTitle.Additionally, if set,
linkTitlewill now be used instead o'titlet' generate th' breadcrumb. -
Break'n Th'
swaggershortcode deprecated 'n 5.13.0 was removed 'n favor fer th'openapishortcode wit' th' same set o' parameter. -
Break'n Support fer Internet Explorer 11 was finally dropped.
Change
-
Change Wit' th' removal o' support fer Internet Explorer 11, Font Awesome was upgraded t' version 6.5.2.
Ye may experience slight changes fer some ay'cons. In addit'n ye have additional ~1700 ay'cons t' chose from.
-
Change Th'
childrenshortcode was fixed t' adhere t' its documentat'n, generat'n th' descript'n based on this rule: When no descript'n or summary exists fer th' plank, th' first 70 words o' th' rrrambl'n be taken.Previously, th' summary erroneously was ignored which now can lead t' different output if ye set
description=trueas a parameter.
New
-
New Th'
includeshortcode be now able t' resolve links t' resources as well as t' files 'n th' file system (the old behavior). Ye can configure t' generate warnings or errors dur'n build by sett'ninclude.errorlevelt' eitherwarningorerror'n yerhugo.tomlif a path can not be resolved. -
New Math be now us'ble without enclos'n it 'n a shortcode or Marrrkdown codefence by us'n Hugo’s passthrough configurat'n.
-
New Translat'n into Romanian.