Version 5.0
See the changelog of this version for a detailed list of changes.5.0.0 (2022-07-05)
Break'n
-
Break'n Th' theme changed how JavaScript an' CSS dependencies be boarded t' provide a better performance. In case you’ve added own JavaScript code that depends on th' themes jQuery implementat'n, ye have t' put it into a separate
*.js
file (if not already) an' add th'defer
keyword t' th'script
element. Eg.<script defer src="myscript.js"></script>
Change
-
Change Th' way archetypes be used t' generate output has changed. Th' new systems allows ye, t' redefine exist'n archetypes or even generate yer own ones.
Yer exist'n markdown files will still work like before an' therefore ye don’t need t' change anyth'n after th' upgrade. Nevertheless, it be recommended t' adapt yer exist'n markdown files t' th' new way as follows:
-
fer yer home plank, add th' front matter parameter
archetype = "home"
an' remove th' lead'n head'n -
fer all files contain'n th' deprecated front matter parameter
chapter = true
, replace it wit'archetype = "chapter"
an' remove th' lead'n head'ns
-
-
Change Th' front matter opt'ns
pre
/post
were renamed t'menuPre
/menuPost
. Th' old opt'ns will still be used if th' new opt'ns aren’t set. Therefore ye don’t need t' change anyth'n after th' upgrade.
New
-
New Add'n new partials
heading-pre.html
/heading-post.html
an' accord'n front matter opt'nsheadingPre
/headingPost
t' modify th' way yer page`s main head'n gets styled. -
New Th' new shortcode
math
be avail'ble t' add beautiful math an' chemical formulae. See th' documentat'n fer avail'ble features. This feature will not work wit' Internet Explorer 11.