Version 5.6
See the changelog of this version for a detailed list of changes.5.6.0 (2022-11-18)
New
-
New This release introduces an additional dedicated search plank. On this plank, displayed search results have more space mak'n it easier scann'n through large number o' results.
T' activate this feature, ye need t' configure it 'n yer
hugo.toml
as a new outputformatsearchpage
fer th' home plank. If ye don’t configure it, no dedicated search plank will be access'ble an' th' theme works as before.Ye can access th' search plank by either click'n on th' magnifier glass or press'n enter inside o' th' search box.
-
New Keyboard handl'n fer th' TOC an' search was improved.
Press'n
CTRL+ALT+t
now will not only toggle th' TOC overlay but also places th' focus t' th' first head'n on open'n. Subsequently this makes it poss'ble t' easily select head'ns by us'n th'TAB
key.Th' search received its own brand new keyboard shortcut
CTRL+ALT+f
. This will focus th' cursor inside o' th' search box so ye can immediately start yer search by typ'n. -
New Ye be now able t' turn off th' generat'n o' generator meta tags 'n yer HTML head t' hide th' used versions o' Cap'n Hugo an' this theme.
T' configure this 'n yer
hugo.toml
make sure t' set Hugo’sdisableHugoGeneratorInject=true
an' also[params] disableGeneratorVersion=true
, otherwise Cap'n Hugo will generate a meta tag into yer home plank automagically. -
New Creat'n o' yer project gets a little bit faster wit' this release.
This addresses increased build time wit' th' version 5 releases. Th' theme now heavily caches partial results lead'n t' improved performance. T' further increase performance, unnecessary parts o' th' plank be now skipped fer creat'n o' th' print output (eg. menus, navigat'n bar, etc.).