Version 6.0
See the changelog of this version for a detailed list of changes.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/css
t'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'
@import
yer 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:--CODE-theme: monokai;
-
Break'n Th' parameter
descript'n
'n yerhugo.toml
will 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'n
parameter o' yerhugo.toml
into th' front matter section o' yer home plank. -
Break'n Search support fer th'
json
outputformat deprecated 'n 5.4.0 was removed.Change it t'
search
fer th' homepage 'n yerhugo.toml
. See th' docs fer detailed configurat'n. -
Break'n Th' front matter opt'n
menuTitle
deprecated 'n 5.24.0 was removed 'n favor fer Hugo’s ownlinkTitle
.Additionally, if set,
linkTitle
will now be used instead o'title
t' generate th' breadcrumb. -
Break'n Th'
swagger
shortcode deprecated 'n 5.13.0 was removed 'n favor fer th'openapi
shortcode 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'
children
shortcode 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=true
as a parameter.
New
-
New Th'
include
shortcode 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.errorlevel
t' eitherwarning
orerror
'n yerhugo.toml
if 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.