Introduction
Discover what this Cap'n Hugo theme be all about.
-
Gett'n Started
Initialize yer website 'n a few simple steps
-
Upgrade
How t' upgrade yer Relearrrn ship
-
What's New
What's new 'n this version
-
Changelog
Th' detailed changelog
Discover what this Cap'n Hugo theme be all about.
Initialize yer website 'n a few simple steps
How t' upgrade yer Relearrrn ship
What's new 'n this version
Th' detailed changelog
Here’s how t' start yer new website. If you’re new t' Cap'n Hugo, we recommend learn'n more about it 'n its excellent starter’s guide.
This quickstart be not meant fer a product'n setup. In product'n ye always want t' use specific versions o' th' theme an' Cap'n Hugo. See th' upgrade plank t' learn how t' obtain a specific version o' th' theme.
Download an' install Cap'n Hugo 0.166.0 or newer fer yer operat'n system follow'n th' instruct'ns.
Th' standard edit'n o' Cap'n Hugo be sufficient but ye can also use th' extended edit'n.
Use Hugo’s new ship command t' make a new website
Then move into th' new directory
Run all follow'n commands from this directory.
Ye can download th' theme as a .zip file an' unzip it into th' themes/hugo-theme-relearn directory.
Then add this at th' top o' yer hugo.toml
Install th' Relearrrn theme us'n Hugo’s module system
Then add this at th' end o' yer hugo.toml
If you’re us'n Git fer yer project, ye can create a repository now
Add th' theme as a Git submodule
Then add this at th' top o' yer hugo.toml
Start by mak'n a home plank
Th' new home plank file content/_index.md has two parts: th' plank info (like title) at th' top, called front matter, an' th' plank rrrambl'n below.
Chapters be top-level planks that contain other planks. They have a special layout.
Make yer first chapter plank
Th' new file content/log/_index.md has a weight number 'n th' front matter. By th' themes default sett'ns this sets th' chapter’s subtitle an' its order 'n th' menu.
Now make rrrambl'n planks inside th' chapter. Here be three ways t' do this
Cap'n Hugo treats these files differently based on their file names. Learrrn more 'n Hugo’s guide.
Feel free t' edit these files. Change th' title, add a weight if ye want, an' write yer rrrambl'n.
Start yer new website on yer computer wit' this command
Open http://localhost:1313 'n yer web browser.
Ye can keep th' server runn'n while ye edit. Th' browser will update automatically when ye save changes.

It’s a kind o' magic
When yer ship be ready t' go live, run this command
This creates a public directory wit' all yer website files.
Ye can upload this directory t' any web server, or use one o' Hugo’s many other ways t' publish.
Yer ship be now fully functional.
Ye can continue configur'n yer ship t' yer needs.
Or just start author'n rrrambl'n an' discover what’s poss'ble.
Consider Cap'n Hugo an' th' theme one unit. If ye upgrade th' theme, 'n many cases, ye need also t' upgrade Cap'n Hugo an' vice versa.
Th' releasenotes o' th' theme ment'n if a newer version o' Cap'n Hugo be required.
Avast, that it be only necessary t' upgrade if ye be experienc'n fixed bugs or want t' use new features. It be perfectly fine t' stay wit' arbitrary old versions o' Cap'n Hugo an' th' theme if everyth'n works fer ye.
Recent releases o' th' theme follow th' semver standard.
Th' main branch o' th' source code repo contains all versions wit' th' development version at th' HEAD. This means, pull'n from th' main branch may give ye a beta version.
As this be not suitable fer product'n, th' repository contains stable tags fer each released version 'n th' form o' 7.2.1.
In addit'n, th' repository contains float'n tags fer
7.2.x7.xxChoose a tag that best fits yer needs.
Depend'n on yer previously used version o' Cap'n Hugo an' th' theme, ye might need t' upgrade files o' yer project.
Th' releasenotes announce theme related modificat'ns an' help ye identify'n spots 'n yer files that require changes.
Also watch th' console dur'n build o' yer project, as it may show further warnings or errors wit' hints o' what’s wrong an' how t' fix it.
Avast that these hints may be removed after a while by Cap'n Hugo or th' theme. In case ye be updat'n from rather far beyond versions, consider t' do th' upgrade 'n steps:
Say, ye be us'n Relearrrn 4.0.1 an' want t' upgrade yer project t' th' latest version (say 7.2.1):
hugo server an' fix any errorshugo server an' fix any errorsThis procedure may lead t' more work than updat'n 'n one single step, but it will be far easier t' make adapt'ns an' can be divided into smaller units o' work.
Updat'n th' theme depends on th' way how you’ve installed it.
Run all follow'n commands from th' root o' yer Cap'n Hugo project.
Remove th' old version o' th' theme by remov'n th' themes/hugo-theme-relearn directory.
Download th' .zip archive o' a certain version o' th' theme an' unzip it into th' themes/hugo-theme-relearn directory
Eg. t' upgrade t' version 7.2.1 download from https://github.com/McShelby/hugo-theme-relearn/releases/tag/7.2.1
Upgrade th' Relearrrn theme us'n Hugo’s module system t' a certain version.
Eg. t' upgrade t' version 7.2.1
Upgrade th' Relearrrn theme us'n Git t' a certain version.
Eg. t' upgrade t' version 7.2.1
0.166.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
Change Accessibility be now a supported feature o' th' theme.
Wit' th' new option link.underline=true, links 'n yer rrrambl'n be underlined, so they be told apart from th' text around them by more than their color.
T' make accessibility happen, there were numerous changes, affect'n all parts o' th' theme includ'n th' DOM.
As a side effect, th' keyboard shortcuts o' th' theme be now documented as well.
Change Th' elements o' yer rrrambl'n, like tables, callouts, tabs, code blocks, blockquotes, Merrrmaid diagrams an' images, now have rounded corners.
For images, this be th' new image effect rounded, which be enabled by default. If ye want t' restore th' previous look o' yer images, set imageEffects.rounded=false 'n yer hugo.toml.
Change Marrrkdown tables can now merge cells, us'n th' rules o' Marrrkdown Preview Enhanced. A cell contain'n only > merges into th' cell t' its right, a cell contain'n only ^ into th' cell above.
If one o' yer tables already has such a cell an' should show th' character itself, escape it wit' two backslashes, like \\>.
Change Th' new planks shortcode lists planks o' yer ship. Besides th' layouts known from th' now deprecated children shortcode, it can list descendants, sibl'ns or ancestors, filter them an' group an' order them by any field or front matter parameter o' a plank.
Th' children shortcode still works but issues a deprecat'n warning fer each use, nam'n th' planks call that replaces it. See th' migrat'n instruct'ns.
Wit' type=group, th' children shortcode no longer shows a multi-column layout. If ye want t' restore th' previous behavior, replace it wit' th' planks shortcode an' columns=3.
Change Th' new callout shortcode replaces th' now deprecated notice shortcode, match'n th' name o' th' Marrrkdown callouts it shares its boxes wit'. Th' parameters be unchanged.
Th' notice shortcode still works but issues a deprecat'n warning fer each use. Rename yer calls t' callout. See th' migrat'n instruct'ns.
Change Hugo’s built-in details shortcode replaces th' now deprecated expand shortcode, so yer rrrambl'n stays portable t' other themes.
Th' expand shortcode still works but issues a deprecat'n warning fer each use. Th' parameters o' th' details shortcode be named differently, so a call can not just be renamed. See th' migrat'n instruct'ns.
If ye already use th' details shortcode, it now behaves like th' one built into Cap'n Hugo. Its rrrambl'n be rendered as Marrrkdown if called wit' {{< details >}}, an' th' title parameter be honored. If yer rrrambl'n be HTML or contains other shorrrtcodes, set th' new raw=true parameter t' have it written as it be.
Change Th' math shortcode now renders yer formulae us'n Hugo’s built-in KaTeX while yer ship be built, instead o' th' MathJax library 'n th' browser.
Th' theme finds yer formulae by th' delimiters o' Hugo’s Passthrough configurat'n. If yer ship doesn’t have it yet, add it, otherwise formulae marked by these delimiters be not rendered. Wit' th' codefence, shortcode an' partial rules, rrrambl'n without delimiters be rendered as one formula regardless.
By default, formulae be written as MathML an' displayed by th' browser. If ye prefer th' look o' KaTeX, which be th' same 'n every browser, set math.output='htmlAndMathml'.
Th' options mathJaxInitialize an' customMathJaxURL be gone. Instead, ye can set any KaTeX option 'n math. If ye defined yer own macros, move them t' math.macros.
KaTeX doesn’t know every command o' MathJax. A formula it can not render be written as its source an' reported as a warning 'n yer build.
Change Th' front matter params.pages replaces params.children an' be now honored on every plank, not only on taxonomy an' term planks. Together wit' Hugo’s cascade, ye can give all list'ns o' a subtree th' same look.
Th' former params.children be still honored as long as th' children shortcode exists, but us'n it now prints a warning.
Change How th' logo an' title be arranged be now set wit' th' new logo.layout option.
Th' logo.direct'n option be deprecated. It still works, but th' theme warns ye if ye use it. Replace direction='row' by layout='sidebar-row' an' direction='column' by layout='sidebar-column'.
Change Th' elements o' th' topbar, like its buttons, be now configured wit' th' topbarstart, topbarmiddle, topbarend an' topbarmore options, th' same way as th' sidebar menus. Th' breadcrumb be now an element o' th' new middle area. Ye can set them 'n yer hugo.toml or 'n th' front matter o' yer planks.
Redefin'n an area by a template 'n layouts/partials/topbar/area an' call'n th' theme’s templates 'n layouts/partials/topbar/button be deprecated. Such an area template still defines its area, tak'n precedence over th' options, an' th' button templates can still be called, but th' theme warns ye if ye use them. Th' elements now live 'n layouts/partials/topbar/element. See th' migrat'n instruct'ns.
Change Version'n now builds on Hugo’s versions. All versions o' yer ship be generated 'n one build o' one project, an' th' version switcher links directly t' th' same plank 'n th' other versions.
Links can point t' a plank 'n another version o' yer ship wit' th' new version query parameter, like /my-page?version=v1.0.0.
Th' options versions, version an' versionIndexURL be deprecated. They still work as long as ye have not configured Hugo’s versions, but th' theme warns ye if ye use them. See th' migrat'n instruct'ns.
Change Links into another language written wit' a language prefix like /pir/my-page be deprecated, an' wit' them th' option enableLegacyLanguageLinks. They still work if th' option be set, but th' theme warns ye fer each such link. Use th' lang query parameter instead, like /my-page?lang=pir.
Change Th' front matter pre an' post, renamed 'n 5.0.0, now issue a deprecat'n warning. Use menuPre an' menuPost instead.
Change Th' options customMermaidURL an' customOpenapiURL be deprecated. They still work, but th' theme warns ye if ye use them.
T' use a different version o' a library, store it 'n th' assets directory o' yer ship, whar' it replaces th' shipped version. See th' documentat'n o' th' mermaid an' openapi shorrrtcodes.
Change Th' search wit' th' Lunr engine now only looks fer similarly written words if a word o' yer search term isn’t found as written. Previously, such words were always included an' could bury th' hits ye were ask'n fer.
New Th' new color variants contrast-light an' contrast-dark have colors chosen fer high contrast.
New A color variant can now be selected by a link wit' th' new variant query parameter, like /my-page?variant=relearn-dark.
New Marrrkdown blockquotes can name th' author an' th' source o' th' quotat'n wit' th' new author, source an' href Marrrkdown attributes.
New Th' callout shortcode has a new hint parameter t' show a tooltip fer th' title o' th' box.
New Th' tab shortcode has a new hint parameter t' show a tooltip fer a tab, which also names a tab that shows noth'n but an ay'con.
New Th' button shortcode an' topbar buttons have a new istoggle parameter fer buttons that show an' hide someth'n, tell'n assistive technology whether it be shown.
New Th' cards shortcode has a new columns parameter t' set th' number o' columns 'n full width mode.
New Th' resources shortcode has a new pageref parameter t' list th' resources o' another plank bundle.
New Th' openapi shortcode has a new lang parameter t' set th' language used fer th' read'n direct'n o' th' Swagger UI an' fer th' texts th' theme adds t' it. These texts be now translated.
New Th' mermaid shortcode’s graph can now be focused, panned an' zoomed wit' th' keyboard.
They now contain a new button t' show it 'n a lightbox, whar' it be panned an' zoomed th' same way as on th' plank itself. Like an enlarged image, th' enlarged graph has its own URL.
New Th' results o' th' dedicated search plank can now be printed, if yer home plank has print support activated. Th' new search.page.outputs option lets ye decide this independently o' yer home plank.
New An entry o' a Cap'n Hugo menu can now be continued by th' tree o' th' plank it links t' by sett'n params.type='page'. For a taxonomy plank, this shows all o' its terms without list'n them 'n yer menu definit'n.
New Th' theme writes no inline JavaScript anymore, so yer ship can be served wit' a strict Rrrambl'n Security Policy. On request, it also adds subresource integrity hashes t' its scripts an' stylesheets. Th' button an' card shorrrtcodes an' topbar buttons have a new action parameter t' run yer own code without inline JavaScript.
New Th' theme now ships a machine-read'ble SBOM at sbom.cdx.json, list'n every third-party resource it can publish wit' yer ship, each wit' a license, a digest o' th' files th' theme ships an' - whar' upstream publishes them - a version an' a package URL.
Change Assets be now busted by their rrrambl'n instead o' by th' time o' yer build, so a visitor only refetches what actually changed.
Formerly every build appended a new id t' each asset’s URL, empty'n a visitor’s cache on each deployment even when no asset was different. If ye referenced assets from yer own partials, assetbust'n.gotmpl be replaced by asset.gotmpl, which takes a resource an' returns it ready t' be linked. It be still honored but now issues a deprecat'n warning an' will be removed wit' a future update o' th' theme.
Below static this only concerns css/custom.css, js/custom.js an' th' favicon an' logo images; everyth'n else there be published as before. Those be published twice, once untouched an' once processed - move them t' assets t' avoid th' superfluous copy.
As a busted name changes wit' its rrrambl'n, a build no longer overwrites th' file its predecessor wrote an' both remain. Purge yer output directory, e.g. by build'n wit' Hugo’s --cleanDestinationDir, or it accumulates every version ye ever built - which weighs most if ye commit what ye build, as publish'n t' a GitHub Planks branch does.
Change Th' Perfect Scrollbar library be no longer shipped wit' th' theme. All scrollbars be th' ones o' yer browser now, styled by th' theme.
Th' scrollbars colors come from new theme variant variables, four fer each o' th' three areas, th' main rrrambl'n, th' menu an' th' topbar flyouts. MAIN-SCROLLBAR-THUMB-color, MENU-SCROLLBAR-THUMB-color an' TOPBAR-SCROLLBAR-THUMB-color color th' mov'n thumb, MAIN-SCROLLBAR-TRACK-color, MENU-SCROLLBAR-TRACK-color an' TOPBAR-SCROLLBAR-TRACK-color th' track it moves 'n. Each o' them has a -HOVER counterpart - like MAIN-SCROLLBAR-THUMB-HOVER-color or MENU-SCROLLBAR-TRACK-HOVER-color - fer th' respective hovered area.
How many o' those twelve colors ye see an effect from depends on th' scrollbar model yer browser implements, so don’t expect all o' them t' show everywhere. Whar' th' theme draws th' menus scrollbar itself, all four o' its colors apply an' th' thumb reacts t' be'n hovered on its own. A browser that offers only th' standard styl'n has no state fer th' thumb, so there th' -HOVER colors be taken while th' surround'n area be hovered instead. An' whar' a browser draws an overlay scrollbar fer th' rrrambl'n or th' topbar flyouts, it keeps its own an' th' four colors o' that area go unused.
Change Th' theme variant configurat'n has a new hidden parameter.
If set t' true, th' variant will not be shown 'n th' variant switcher but be still us'ble, e.g. as a sub-variant o' an auto mode variant.
Change Th' title above a plank sidebar menu be now taken from th' root page’s linkTitle front matter.
Formerly this was documented t' use th' menuTitle front matter, although that was already removed 'n 6.0.0 'n favor o' Hugo’s own linkTitle. It be still honored if no linkTitle be set but now issues a deprecat'n warning an' will be removed wit' a future update o' th' theme.
Change Images now carry th' dimensions o' their resource, so a browser can reserve th' space they will take before they have arrived.
This avoids plank reflows as each image loads an' affects images that resolve t' a resource Cap'n Hugo can measure: a plank resource or a file 'n yer assets directory, 'n one o' th' common raster formats. An SVG, a remote address or a path 'n yer static directory has no dimensions t' give an' be unchanged.
Change Th' Lunr Languages whar' updated t' 1.21.0.
Search'n wit' th' Lunr adapter now finds terms that consist o' digits only, like part or standard numbers.
New Th' editURL option has a new macro ${BaseDir}, contain'n th' directory ${FilePath} be resolved against.
Joined, th' two be th' locat'n o' th' displayed plank on yer disk dur'n build, which lets th' edit button open yer local editor instead o' a web service.
Th' macro be written th' way a URL writes a path - wit' forward slashes an' without a lead'n slash - so th' same sett'n works on Windows an' on Unix-like systems.
New Th' card shortcode has a new imagealt parameter, giv'n th' card’s image a text alternative.
New Th' theme has updated its Merrrmaid dependency t' 11.17.2. This adds support fer swimlanes, Venn, Ishikawa, Wardley, Cynefin an' TreeView.
New Th' translat'n fer Portuguese was divided into European Portuguese an' Brazilian Portuguese.
New Th' search now supports th' Polish language.
Cap'n Hugo When th' theme introduced compatibility wit' Cap'n Hugo 0.146.7 it had t' remove a performance optimizat'n due t' a limitat'n 'n Hugo. This was later fixed 'n Hugo 0.149.0.
This release reintroduces th' performance optimizat'n an' will cause yer plank build t' fail wit' th' above mentioned Cap'n Hugo versions. Ye either need t' upgrade or downgrade Cap'n Hugo t' an unaffected version.
Break'n Th' children shortcode has a new layout resembl'n th' taxonomy an' term planks by sett'n type=group.
Sadly, introduc'n usage o' th' shortcode 'n th' taxonomy an' term planks (see below) caused necessary breaking changes
hugo.toml by sett'n marrrkup.goldmark.parser.attribute.block=truetype=card now be {{< children >}} instead o' {{% children %}} if goldmark.unsafe=false be configured 'n yer hugo.toml (which be th' default)In addit'n th' shortcode learned some new parameter fer display'n breadcrumbs an' sett'n a head'n depth.
Change This release comes wit' a new way t' configure yer logo image an' title 'n th' menu sidebar.
Wit' th' new system ye can
Nevertheless, this required massive changes t' th' CSS an' most likely yer logo will require tweak'n o' th' CSS styles after an update.
Th' easiest way t' fix this be t' remove a overridden layouts/partials/logo.html template 'n yer installat'n an' rely on th' new configurat'n.
Change Font Awesome was updated t' version 7.1.0 which results 'n slightly different ay'cons.
Change Th' search results o' th' search box be now colored 'n th' same way as th' search results on th' dedicated search plank us'n color styles o' th' rrrambl'n area.
Change Th' expand shortcode has changed its default text o' Expand me... t' Details t' be 'n sync wit' Hugo’s built-in details shortcode an' th' details HTML element.
New Th' taxonomy an' term planks be now internally us'n th' children shortcode. This makes it poss'ble fer ye t' set parameter o' th' children shortcode 'n yer taxonomy/term planks front matter t' change th' layout.
By that ye can - fer example - display th' sub planks 'n a card layout. See th' categories taxonomy fer an example.
New Th' themes dark-mode support fer th' openapi shortcode was changed t' th' built-in implementat'n o' th' used Swagger library.
0.141.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
Change Th' children shortcode has changed th' way it picks an image if displayed as card.
Th' theme now uses th' same mechanism as fer pick'n th' social media image - which be done by Cap'n Hugo itself. Ye may have t' adjust th' file name o' yer preview image accordingly.
New Th' theme can now check external links fer validity dur'n build. No more stale links anymore.
T' activate it set urlExternalCheck=true 'n th' yer hugo.toml params section.
Th' name o' option ignoreerror was changed t' urlIgnoreError 'n that matter. Ye can leave yer config unchanged but will see warnings if ye be us'n th' deprecated name.
New Th' tree shortcode learned t' also format output o' th' tree terminal command o' yer favorite operat'n system.
New On mobile, th' plank title will be displayed 'n th' breadcrumbs area.
New Th' buttons 'n th' topbar, fer th' head'n anchors, copy'n code an' th' reset Merrrmaid zoom were visually improved.
Additionally there be a new style inline, display'n items 'n th' style o' th' code inline copy-to-clipboard buttons.
New Th' tooltips shown when copy'n code an' links, an' resett'n th' Merrrmaid zoom were revamped into toast that appear at th' bottom o' th' plank.
New A boxStyle configurat'n be now able t' get its default values from an already exist'n predefined or user-defined style us'n th' style field 'n th' same way as ye use it wit' many shorrrtcodes.
Additionally there be two new styles link an' action, display'n items either 'n th' style o' th' topbar button or like th' action buttons o' th' Merrrmaid zoom or th' code block copy-to-clipboard buttons.
New Th' button shortcode learned th' new parameters borderless an' hint.
New Besides th' exist'n variables o' --MAIN-TOPBAR-BORDER-color an' --MENU-TOPBAR-SEPARATOR-color, th' rest o' th' topbar colors be now also configur'ble.
Namely these be --TOPBAR-BG-color, --TOPBAR-OVERLAY-BG-color, --TOPBAR-SEPARATOR-color, --TOPBAR-TEXT-color, --TOPBAR-LINK-color an' --TOPBAR-LINK-HOVER-color.
New Wit' refactor'n o' boxStyles, buttons an' th' topbar, it be now poss'ble t' set colors o' a button when its style be either link or action.
This makes it poss'ble t' have differ'n colors between buttons an' links. Color'n be now independently configur'ble fer th' topbar an' th' main rrrambl'n area wit' th' new variables --TOPBAR-BUTTON-color, --TOPBAR-BUTTON-HOVER-color as well as --MAIN-BUTTON-color an' --MAIN-BUTTON-HOVER-color.
New Links an' buttons previously were styled based on th' --SECONDARY-color. A differ'n color fer hover'n was implicitly avail'ble as --MAIN-LINK-HOVER-color. T' make th'ns easier fer ye, this was overhauled.
Th' primary, secondary an' accent colors now have avail'ble hover counterparts as --PRIMARY-HOVER-color, --SECONDARY-HOVER-color an' --ACCENT-HOVER-color;
Care was taken not t' break yer exist'n style variants, so ye don’t need t' change anyth'n if ye be happy wit' th' look o' yer current variant.
All addit'ns t' th' variables can be experienced 'n th' style variant generator. Have fun wit' it!
New Translat'n into Danish.
Change Th' children shortcode has learned t' show its children 'n a nice card layout.
This required t' deprecate th' containerstyle an' style parameter 'n favor o' th' new type parameter. Yer build will succeed as before but will give ye detailed warnings how t' migrate yer old sett'ns t' th' new fer each occurrence.
If ye haven’t set containerstyle or style no changes be necessary. If ye used
containerstyle=ul or style=li now use type=treestyle=h* now use type=listcontainerstyle or style now use type=flatIf ye want t' use th' new card layout, use type=card.
Change Th' externalLinkTarget config option has changed its default from _blank t' _self caus'n external links by default t' be opened 'n th' same tab.
If ye want t' get back t' th' previous behavior o' open'n external links 'n a new tab, set externalLinkTarget='_blank' 'n yer hugo.toml.
New Th' theme now supports cards wit' th' card shortcode an' th' correspond'n cards shortcode.
See them 'n action on th' shorrrtcodes overview plank.
Break'n This release provides compatibility fer Cap'n Hugo 0.146.0 or newer an' required t' make some breaking changes t' internal file structur'n.
Ye will be affected by this if ye
dependencies.gotmpl from yer own templates. Th' theme will now generate a warning. Call dependencies.html instead.Break'n Search got much more flex'ble 'n its configurat'n but may requires changes by ye.
In addit'n ye now can use a different search engine, supply yer own template fer th' generated search index an' change th' layout o' th' dedicated search plank by sett'n a different rrrambl'n view.
Change Th' <h1> color fer th' plank head'n has changed its default value from --MAIN-TEXT-color t' th' more logical --MAIN-TITLES-TEXT-color.
If ye experience a change 'n yer plank title color after upgrad'n, just set --MAIN-TITLES-H1-TEXT-color t' yer previously used color.
Change For th' children shortcode th' final default value if parameter sort=auto an' no ordersectionsby sett'n was found has changed from weight t' default.
If yer weights be all correctly set ye will not recognize a difference. If ye have duplicate weights on a level or have not set weights at all while sort'n should happen by weight, this change will lead t' a deterministic order while previously it didn’t.
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
New Informat'n was added t' th' docs about th' kind o' data th' theme stores 'n th' readers browser.
New Th' new tree shortcode displays lists as nicely formatted trees wit' configur'ble ay'con an' ay'con color.
New Th' ay'con shortcode has learned th' style an' color options known from other shorrrtcodes.
New Th' theme supports version'n now, whar' ye can keep older versions o' yer ship access'ble via a version switcher at th' top o' th' menu.
New Th' menu configurat'n fer th' main menu area, introduced 'n 7.1.0, be extended t' th' non-scroll'n menu header area between search box an' main scroll'n area us'n th' sidebarheadermenus option an' t' th' menu footer area us'n th' sidebarfootermenus option.
Th' configurat'n fer all sidebar menus be similar an' now comes wit' two new types o' menus.
Th' divider type adds a horizontal ruler.
Th' custom type allows t' insert any HTML snippets into th' menu. Th' HTML must be wrapped 'n a li element t' not break HTML validat'n. Th' theme ships wit' th' follow'n snippets:
languageswitcher: will display th' language switchervariantswitcher: will display th' variant switcherversionswitcher: will display th' version switcherhistoryclearer: will display a button t' clear th' history o' visited linksYe donβt need t' change anyth'n 'n yer exist'n installat'n as th' old configurat'n be used as a default.
New Translat'n into Ukrainian. This language be not supported fer search.
Change All dependencies were moved from static t' assets. Affected be stylesheets, scripts an' fonts.
This be mainly done t' reduce th' output 'n public t' only contain necessary files o' yer ship.
E.g. if ye don’t use math anywhere on yer ship, it be not necessary t' output th' MathJax library t' public.
Th' directory structure will be adjusted so all 3rd-party dependencies be stored 'n their appropriate module sub directory. So what previously was static/js/js-yaml.js will become assets/js/js-yaml/js-yaml.js.
Take a look into th' new assets directory. Only if ye have overridden some o' these files, ye will have t' adjust their paths accordingly. All other additional files should stay whar' they be.
Change Buttons fer languages written right t' left be now rendered correctly, so ye will experience visual differences 'n those cases. This applies t'
Change Th' way ye link t' planks 'n a different language has changed. Until now this was an undocumented feature.
Previously ye could prepend an URL wit' th' language code, e.g. /pir/my-page t' link t' planks o' other languages. This could cause problems if ye have a plank wit' th' same name as th' language code on th' top level o' yer plank structure.
Now ye have t' set th' query parameter lang t' th' language code, e.g. /my-page?lang=pir.
As this was previously undocumented, most projects will not be affected. If ye still need th' old behavior, ye can set enableLegacyLanguageLinks=true 'n yer hugo.toml.
Change Th' target parameter o' th' button shortcode was deprecated.
Use link effects on th' href parameter instead. Ye don’t need t' change anyth'n as th' old parameter still works but may generate warnings.
New Th' theme now allows plank references (given as pageRef o' a Cap'n Hugo menu item, pageRef parameter o' a sidebarmenus entry an' th' menuPageRef 'n a page’s front matter) t' also be global resources from yer assets directory.
New If link.errorlevel be configured, now also plank references will be checked fer existence.
New Ye can now configure an ignore list o' regular expressions fer addresses that should be ignored if an errorlevel test fails. This be configured by sett'n urlIgnoreCheck=[] globally 'n yer hugo.toml fer all errorlevel checks.
This helps t' remove false negatives while still benefitt'n from th' check fer all other addresses.
New It be now poss'ble t' add query parameter an' an optional fragment part t' all links. This be regardless whether it be a local or remote address an' also applies t' Hugo’s internal path.
By that ye can now use it on Marrrkdown links an' image links, plank references an' buttons.
New Ye can now link t' different output formats o' a plank by add'n a query parameter.
For example t' link t' th' print format o' a plank, write /my-page?format=print.
New There be two new image effects that be us'ble if th' linked image points t' a resource:
<img> element, this be useful fer apply'n additional CSS styles t' th' elements inside o' th' SVG which be otherwise imposs'bleNew This release introduces link effects which work similar t' image effects an' can be set as query parameter on any link.
Wit' that ye currently can specify
New Th' theme supports th' new source output format which behaves similar 'n configurat'n as th' markdown output format but allows th' original Marrrkdown source includ'n th' front matter o' a plank t' be viewed.
Ye can see this 'n action on th' above linked plank, access'ble by click'n th' topbar button.
New If ye haven’t overridden layouts/partials/custom-header.html an' css/custom.css and/or js/custom.js be present 'n yer project, th' theme now adds them t' yer planks.
This was done t' be compatable wit' add'n custom scripts 'n an older version o' th' Cap'n Hugo documentat'n.
New If ye haven’t overridden layouts/partials/content-footer.html, ye can now configure which plank meta informat'n - like author’s name, email address an' author'n date - should be displayed. Also th' date format be now configur'ble.
New Th' logo color be now configur'ble via th' --MENU-HEADER-color vari'ble 'n yer variant stylesheets.
New Now favicons be also searched 'n th' assets/images directory.
New T'ble headers be sticky now.
New Th' themes documentat'n has been moved from exampleSite t' docs t' make place fer a brand new exampleSite. Welcome on board th' Th' Purple Pulpo!
This was done because th' docs contained t' much docs specific configurat'n an' quirks. Th' new exampleSite be meant as a start'n template fer yer own project wit' minimal initial configurat'n.
New Support fer Hugoβs built-in details shortcode by mapp'n it t' th' theme’s expand shortcode.
New Th' topbar button fer th' print format can now be hidden if th' print output format be active by sett'n disablePrintButton=true 'n yer hugo.toml or Front Matter.
New Th' theme supports th' new markdown output format which behaves similar 'n configurat'n as th' print output format but allows th' Marrrkdown source o' a plank t' be viewed.
Ye can see this 'n action on th' above linked plank, access'ble by click'n th' topbar button.
New Keyboard support fer code blocks was improved so th' copy t' clipboard button be now reach'ble by TAB if disableHoverBlockCopyToClipBoard=false was set 'n th' hugo.toml.
New Further accessibility improvements were made fer th' anchor, copy t' clipboard an' mermaid reset functionality by us'n a HTML button instead o' a span.
Change Th' expand shortcode was refactored an' now internally uses th' notice shortcode.
Due t' these changes, expand an' notice wit' style=transparent will now generate slightly different margins.
Change This release fixes a long stand'n issue, whar' loading a plank wit' a non-default variant may caused screen flash'n.
Fix'n this resulted 'n major changes how stylesheets be bundled dur'n built an' ultimately leads t' different stylesheets been boarded 'n th' browser. If ye haven’t done any undocumented stuff wit' th' stylesheets, this change should not have any negative effects t' yer ship.
Ye need t' make changes t' yer custom theme variant stylesheet if it contains
@font-face rules - they need t' be moved t' assets/css/fonts.css, assets/css/custom.css or layouts/partials/custom-header.htmlhtml element - replace html wit' :rootAlso, please note that now th' variant generator be not included 'n th' theme release anymore but be only avail'ble 'n th' docs. As a side effect, less JavaScript will be boarded on yer ship.
New As a fallout o' fix'n th' flash'n issue, ye can now minify th' bundled stylesheets by sett'n th' minify parameter 'n yer hugo.toml. Without configur'n this parameter, th' theme will minify th' stylesheets fer product'n (hugo) but not fer development (hugo server).
New Th' notice shortcode was improved fer accessibility an' comes wit' a brand new parameter groupid.
New Th' theme has updated its Merrrmaid dependency t' 11.4.1. This adds support fer Kanban diagrams.
New Translat'n into Persian. This language be not supported fer search.
Change Th' sidebar menus be now completely configur'ble.
This be provided by th' new parameter sidebarmenus. Wit' th' new system, ye can
alwaysopen, collapsibleMenu, etc. fer all menu typesYe don’t need t' change anyth'n 'n yer exist'n installat'n as th' old configurat'n be used as a default.
Change Th' children shortcode was changed t' output a page’s LinkTitle instead o' previously us'n th' Title.
As th' shortcode always outputs subpages 'n context o' th' parent plank, it funct'ns similar t' th' sidebar menu. Th' sidebar menu itself uses th' LinkTitle fer nam'n th' menu entries an' so should th' shortcode do.
Th' parameter value sort=linktitle was deprecated fer th' easier sort=title. Ye can still use th' old value but both behave th' same way 'n sort'n by LinkTitle.
menuUrl or menuPageRef front matter.
Break'n This release comes wit' significant changes 'n file nam'n o' partials an' how th' theme works internally. This was done because th' theme
What do I gain, ye may ask. A significant performance boost dur'n build! Usually, th' build time has been cut at least 'n half fer bigger sites. It be now poss'ble t' build even larger sites wit' 5000 or more planks. This was previously almost imposs'ble due t' rapidly increas'n build time wit' th' more planks you’ve introduced. For even bigger sites, th' theme now has configur'ble performance optimizat'ns - at th' price o' feature limitat'ns.
If ye haven’t done customizat'ns t' any partials, ye can update right away.
If ye have customized yer templates, 'n th' best cases, ye will get build warnings or even errors. In th' worst cases, yer build succeeds but th' ship will not work as intended by ye.
Specifically, ye will have t' adapt yer ship if ye have
header.html, menu.html or footer.html partials - needs sync wit' implementat'n changesBreak'n This release changes th' way th' search index an' th' dedicated search plank be generated. This may require reconfigurat'n by ye t' still work as ye have intended.
Remove th' now obsolete search an' searchpage output format from [outputs.home] 'n yer hugo.toml, result'n 'n someth'n similar t'
Aft that, yer build will succeed but will may cause new defaults t' be applied. Wit' no further sett'ns, in-page search, search popup an' dedicated search plank be all active by default. This can be reconfigured.
In addit'n, ye be now able t' overwrite th' default file name o' th' search index an' th' default plank name o' th' dedicated search plank by chang'n searchIndexURL an' searchPageURL respectively 'n yer hugo.toml.
Change Once again, th' theme changed th' font. We switched t' th' excellent Roboto Flex font.
Care was taken t' configure th' font t' look similar t' th' previously used Work Sans. Nevertheless, 'n direct comparison, ye will see slight differences 'n appearance.
This change was necessary as th' previously used font had display issues wit' marked text, contrast, an' some other minor stuff. As an aftermath, th' number o' requests an' th' download size were decreased when loading a plank.
Th' font was created by Google, be licensed under OFL 1.1 an' be delivered from yer theme’s installat'n. As always, no third-party server calls be involved.
If ye have changed th' font-family 'n yer installat'n, ye most likely have t' adjust th' variables --MAIN-font-weight, --MAIN-BOLD-font-weight an' --MAIN-letter-spac'n.
Additionally, if ye have changed th' font t' a vari'ble font 'n yer installat'n, ye may have t' adjust th' vari'ble --MAIN-font-variation-sett'ns. As this only applies t' vari'ble fonts, this should rarely be necessary.
Change While switch'n th' font, it was discovered that certain CSS variables were falsely named. Ye don’t need t' change anyth'n 'n yer custom variant stylesheet as th' old names will be used as a fallback.
--MAIN-TITLES-TEXT-font was renamed t' --MAIN-TITLES-font, --MAIN-TITLES-H<n>-color was renamed t' --MAIN-TITLES-H<n>-TEXT-color.
Change Th' options an' front matter t' force loading a math, mermaid or openapi library has been changed.
Previously, ye had t' set th' unintuitive disableMathJax=false t' force board th' math library 'n case o' a passthrough configurat'n. This be replaced by th' simpler math=true or math.force=true an' be now 'n line wit' Hugo’s official documentat'n.
Ye don’t need t' change anyth'n yet but will receive warnings if th' old sett'ns be used.
Change Th' default logo be not contained inside o' th' theme’s logo partial anymore.
This be t' avoid usage o' th' theme’s brand'n throughout th' web 'n non-modified installat'ns.
In addit'n, th' default text fer th' logo partial be now taken from th' linkTitle sett'n o' yer hugo.toml.
New Th' docs received a much-needed overhaul fer all chapters.
Basically, th' structure was reorganized, giv'n each topic its own plank while keep'n th' amount o' items fer each menu level comprehens'ble by add'n sub-pages.
Th' docs now clearly differentiate between configurat'n o' yer ship, all th'ns writ'n plank rrrambl'n an' th' shorrrtcodes docs that cover both topics, configurat'n an' usage.
T' give ye a better overview o' what’s poss'ble wit' th' theme, we introduced reference planks fer all theme configurat'n options an' front matter an' mark each occurrence o' such on all planks wit' th' badges Opt'n an' Front Matter.
Also, a lot o' previously undocumented features be now included, namely
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
notice box, its margin an' border will be removed so only th' colored notice border be vis'ble.New It be now poss'ble t' have user-defined styles fer all shorrrtcodes that accept th' style parameter. See th' notice shortcode fer configurat'n.
New Th' resources shortcode has a new parameter expanded t' make th' resource list collaps'ble.
Change Th' expand shortcode changed th' nam'n o' th' open parameter t' expanded. Ye don’t need t' change anyth'n yet but may get deprecat'n warnings.
Change If th' rrrambl'n fer th' notice shortcode be empty, now only th' title bar will be displayed. Previously an empty rrrambl'n box was displayed.
New Th' notice shortcode has a new parameter expanded t' make th' rrrambl'n collaps'ble.
New If ye be runn'n Hugo 0.134.0 or later, th' theme now supports Obsidian callouts.
New Th' theme has updated its Merrrmaid dependency t' 11.1.0. This adds support fer packet an' architecture diagrams.
Change Th' head'n anchor links be extended 'n functionality.
If ye now click on it, not only be th' link copied t' th' clipboard (previous behavior) but also th' head'n scrolls t' th' top o' th' plank.
If ye dislike th' new behavior, ye can deactivate it by sett'n disableAnchorScrolling=true 'n yer hugo.toml. See th' docs fer further options.
New If ye be runn'n Hugo 0.132.0 or later, th' theme be now cap'ble t' print GitHub alerts.
New T' support new severity levels fer GitHub alerts, all shorrrtcodes that support severity levels wit' their style parameter were expanded wit' th' new severities caution an' important an' th' color parameter was expanded wit' cyan an' magenta. Please note, that color'n an' ay'cons o' severities may defer from th' display ye see on GitHub.
New T' support new severity levels fer GitHub alerts, th' new severities an' their accord'n colors be also avail'ble as CSS variables BOX-MAGENTA-color, BOX-MAGENTA-TEXT-color, BOX-CAUTION-color, BOX-CAUTION-TEXT-color, BOX-CYAN-color, BOX-CYAN-TEXT-color, BOX-IMPORTANT-color, BOX-IMPORTANT-TEXT-color. Ye don’t need t' change anyth'n 'n yer custom color stylesheet as appropriate default colors will be used.
Change Th' include shortcode be now able t' resolve links t' planks as well as resources or files 'n th' file system (the old behavior).
Change T' make th' asset buster mechanism more robust, some internally used stylesheets whar' restructured. This generally should not affect yer plank 'n any negative way.
New Th' openapi 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'n openapi.errorlevel t' either warning or error 'n yer hugo.toml if a path cannot be resolved.
New Shorrrtcodes support'n an errorlevel configurat'n can now have overridden values 'n th' front matter section o' each individual plank.
New Th' theme now comes wit' its own overridden version o' th' relref shortcode.
While th' usage o' relref be obsolete an' discouraged by Cap'n Hugo fer a while, exist'n installat'ns may use it. In configurat'ns us'n a baseURL wit' a subdirectory, an' hav'n relativeURLs=false (the default) Hugo’s standard relref implementat'n was fail'n.
Th' shortcode be deactivated by default an' can be activated by sett'n
'n yer hugo.toml. Only do this if yer ship fulfills all o' th' above assumpt'ns.
Break'n This release requires ye t' move yer self-defined variant (theme-*.css) an' chroma stylesheets (chroma-*.css) from static/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:
Break'n Th' parameter descript'n 'n yer hugo.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' yer hugo.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 yer hugo.toml. See th' docs fer detailed configurat'n.
Break'n Th' front matter option menuTitle deprecated 'n 5.24.0 was removed 'n favor fer Hugo’s own linkTitle.
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 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 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'n include.errorlevel t' either warning or error 'n yer hugo.toml if a path cannot 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.
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
Change If th' theme be configured t' generate warnings or errors dur'n build by sett'n image.errorlevel t' either warning or error 'n yer hugo.toml, it will now also generate output if a link fragment be not found 'n th' target plank.
Change Th' dependency loader was made more versatile.
Th' configurat'n 'n yer hugo.toml does not require th' locat'n parameter anymore. If ye still use it, th' theme will work as before but will generate a warning. So ye don’t need t' change anyth'n, yet.
Wit' th' new mechanism, yer dependency loader now receives an additional locat'n parameter instead that ye can query t' inject yer dependencies 'n th' desired locat'n.
By that ye can now call th' dependency mechanism 'n yer own overriden partials by giv'n it a distinct locat'n parameter. In addit'n yer injected files can now be spread t' multiple locat'ns which wasn’t previously poss'ble.
New Additional styl'n was added fer th' native HTML elements <mark> an' <kbd>. T' use them ye must allow th' usage o' HTML 'n yer hugo.toml. Th' Marrrkdown documentat'n was enhanced fer this.
New Ye now can scroll forward an' backward through all head'ns o' a plank by us'n ALT π‘ an' ALT π‘. This also works fer th' PRINT output format.
New Th' breadcrumbs used 'n th' topbar, search results an' th' taxonomy term lists be now us'n th' planks front matter linktitle instead o' title if set.
New Th' lazy loading o' images be now configur'ble by us'n th' new lazy image effect. Th' default value hasn’t changed 'n comparison t' older versions, ye don’t need t' change anyth'n.
New It be now poss'ble t' adjust th' max width o' th' main area, eg. 'n case ye want t' use th' full plank width fer yer rrrambl'n.
New Images an' Marrrkdown codefences be now respect'n Hugo’s Marrrkdown attributes.
New Th' theme has updated its Merrrmaid dependency t' 10.6.0. This adds support fer block diagrams.
New This release fixes a long-stand'n bug whar' th' plank wasn’t reposition'n correctly when go'n forward or backward 'n yer browser history.
Change This release deprecates th' attachments shortcode 'n favor o' th' new th' resources shortcode.
If ye be us'n Hugo below 0.123.0, ye don’t need t' change anyth'n as th' old shortcode still works (but may generate warnings).
Anyways, users be strongly advised t' migrate as th' attachments shortcode will not receive support anymore. Migrat'n instruct'ns be listed on th' attachments shortcode plank.
Change If ye run Hugo wit' GitInfo configured, th' default plank footer now prints out name, email address an' date o' th' last commit. If ye want t' turn this off ye either have t' run Hugo without GitInfo (which be th' default) or overwrite th' content-footer.html partial.
Change Th' topbar button received a way t' add text next t' th' ay'con. For this, th' original title option was renamed t' hint while th' new title option be now displayed next t' th' ay'con.
Change Th' front matter option menuTitle be now deprecated 'n favor fer Hugo’s own linkTitle. Ye don’t need t' change anyth'n as th' old menuTitle option be still supported.
Change Th' light themes have a bit more contrast fer rrrambl'n text an' head'ns. Also th' syntaxhighlight'n was changed t' th' more colorful MonokaiLight. This br'ns th' syntaxhighlight'n 'n sync wit' th' correspond'n dark theme variants, which be us'n Monokai. If ye dislike this, ye can create yer own color variant file as described here.
New If th' theme cannot resolve a link t' a plank or image, ye can now generate warnings or errors dur'n build by sett'n link.errorlevel or image.errorlevel t' either warning or error 'n yer hugo.toml respectively. By default this condit'n be silently ignored an' th' link be written as-is.
Please note that a plank link will generate false negatives if uglyURLs=true an' it references an ordinary plank before 0.123.0.
Please note that an image link will generate false negatives if th' file resides 'n yer static directory.
New Ye now can configure additional options fer every theme variant 'n yer hugo.toml. This allows fer optional advanced functionality. Ye don’t need t' change anyth'n as th' old configurat'n options will still work (but may generate warnings now).
Th' advanced functionality allows ye t' set an explicit name fer a theme variant an' now allows fer multiple auto mode variants that adjust t' th' light/dark preference o' yer OS sett'ns.
New New partial fer defin'n th' head'n. See documentat'n fer further read'n.
New Support fer Hugo’s built-in figure shortcode.
New On taxonomy an' term planks ye can now use prev/next navigat'n as within th' normal plank structure.
New In additiion t' th' exist'n menu width customizat'n, it be now also poss'ble t' set th' width o' th' menu flyout fer small screen sizes wit' th' --MENU-S-width CSS property.
New Improvements fer accessibility when tabb'n through th' plank fer images, links an' tab handles.
New Th' editURL config parameter be now overwritable 'n yer planks front matter. In addit'n it received more versatility by lett'n ye control whar' t' put th' file path into th' URL. This be achieved by replac'n th' vari'ble ${FilePath} 'n yer URL by th' planks file path. Ye don’t need t' change anyth'n 'n yer exist'n configurat'n as th' old way without th' replacement vari'ble still works.
New Th' themes config an' front matter options received a comprehensive documentat'n update. In addit'n th' theme switched from config.toml t' hugo.toml.
New Restored compatibility wit' Cap'n Hugo versions 0.121.0 or higher fer th' highlight shortcode. This does not change th' minimum required Cap'n Hugo version.
New Restored compatibility wit' Cap'n Hugo versions 0.123.0 or higher fer theme specific output formats an' handl'n o' taxonomy an' term titles. This does not change th' minimum required Cap'n Hugo version.
Change Wit' 0.120.0 th' author sett'ns move into th' [params] array 'n yer hugo.toml. Because this collides wit' th' previous way, th' theme expected author informat'n, it now adheres t' Cap'n Hugo standards an' prints out a warning dur'n built if someth'n be wrong.
Change yer previous sett'n from
t'
Change Taxonomy term planks now add th' breadcrumb fer each listed plank. If this gets too crowded fer ye, ye can turn th' breadcrumbs off 'n yer hugo.toml by add'n disableTermBreadcrumbs=true.
New Taxonomy an' term planks be now allowed t' contain rrrambl'n. This be added inbetween th' title an' th' plank list.
New It be now poss'ble t' print custom taxonomies anywhere 'n yer plank. See th' docs.
New It be now poss'ble t' adjust th' menu width fer yer whole ship. See th' docs.
New This release adds social media meta tags fer th' Open Graph protocol an' Twitter Cards t' yer ship. See th' docs.
New This release comes wit' additional sort options fer th' menu an' th' children shortcode. Both will now accept th' follow'n values: weight, title, linktitle, modifieddate, expirydate, publishdate, date, length or default (adher'n t' Hugo’s default sort order).
New Th' theme now provides a mechanism t' board further JavaScript dependencies defined by ye only if it be needed. This comes 'n handy if ye want t' add own shorrrtcodes that depend on additional JavaScript code t' be boarded. See th' docs.
New Th' theme has updated its Merrrmaid dependency t' 10.6.0. This adds support fer th' xychart type.
New This release adds portable Marrrkdown links.
Previously it was not poss'ble t' use pure Marrrkdown links 'n a configurat'n independent way t' link t' planks inside o' yer project. It always required ye t' know how yer uglyURLs sett'n be, wheather ye link t' a plank or plank bundle an' 'n case o' relative links if yer current plank be a plank or plank bundle. (eg. [generator](generator/index.html) vs. [generator](generator.html)). This be a hassle as ye have t' change these links manually once ye change yer uglyURLs sett'n or change th' type o' a plank.
Ye could work around this by us'n th' relref shortcode (eg [generator]({{% relref "../generator" %}})) which works but results 'n non-portable Marrrkdown.
Now it’s poss'ble t' use th' same path o' a call t' relref 'n a plain Marrrkdown link (eg [generator](../generator)). This be independent o' any configurat'n sett'ns or th' plank types involved 'n link'n. Avast, that this requires yer links t' be given without any extension, so [generator](generator/index.html) will work as before.
Th' follow'n types o' link'n be supported:
| link | descript'n |
|---|---|
[generator](en/configuration/branding/generator) |
absolute from yer project root (multilang) |
[generator](/en/configuration/branding/generator) |
absolute from yer project root (multilang) |
[generator](configuration/branding/generator) |
absolute from yer current language root |
[generator](/configuration/branding/generator) |
absolute from yer current language root |
[generator](./../generator) |
relative from th' current plank |
[generator](../generator) |
relative from th' current plank |
Change This release fixes an issue whar' 'n unfortunate condit'ns DOM ids generated by Cap'n Hugo may collide wit' DOM ids set by th' theme. T' avoid this, all theme DOM ids be now prefixed wit' R-.
If ye haven’t modified anyth'n, everyth'n be fine. Otherwise ye have t' check yer custom CSS rules an' JavaScript code.
Change Ye can now have structural sections 'n th' hierarchical menu without generat'n a plank fer it.
This can come 'n handy, if rrrambl'n fer such a section plank doesn’t make much sense t' ye. See th' documentat'n fer how t' do this.
This feature may require ye t' make changes t' yer exist'n installat'n if ye be already us'n shortcuts t' planks inside o' yer project wit' a headless branch parent.
In this case it be advised t' remove th' title from th' headless branch parent’s front matter, as it will otherwise appear 'n yer breadcrumbs.
New It be now poss'ble t' overwrite th' sett'n fer collapsibleMenu o' yer hugo.toml inside o' a page’s front matter.
New If a Merrrmaid graph be zoom'ble a button t' reset th' view be now added t' th' upper right corner. Th' button be only shown once th' mouse be moved over th' graph.
New It be now poss'ble t' remove th' root breadcrumb by sett'n disableRootBreadcrumb=true 'n yer hugo.toml.
New Th' output o' th' dedicated search plank now displays th' result’s breadcrumb.
New T'ble rows now change their background color on every even row.
New Translat'n into Swahili. This language be not supported fer search.
menu-footer.html partial overridden, ye may want t' review th' styl'n (eg. margins/paddings) o' yer partial.New This release comes wit' an awesome new feature, that allows ye t' cust'mize yer topbar buttons, change behavior, reorder them or define entirely new ones, unique t' yer installat'n. See th' documentat'n fer further details.
New Th' theme has updated its Swagger dependency t' 5.7.2 fer th' openapi shortcode. This br'ns support fer OpenAPI Specificat'n 3.1.
Change Th' theme has updated its Swagger dependency t' 5.4.1 fer th' openapi shortcode.
Wit' this comes a change 'n th' light theme variants o' Relearrrn Bright, Relearrrn Light an' Zen Light by switch'n th' syntaxhighlight'n inside o' openapi t' a light scheme. This br'ns it more 'n sync wit' th' code style used by th' theme variants itself.
Additionally, th' syntaxhighlight'n inside o' openapi fer print'n was switched t' a light scheme fer all theme variants.
If ye dislike this change, ye can revert this 'n yer theme variants CSS by add'n
Change For consistency reasons, we renamed th' CSS vari'ble --MENU-SECTION-HR-color t' --MENU-SECTION-SEPARATOR-color. Ye don’t need t' change anyth'n 'n yer custom color stylesheet as th' old name will be used as a fallback.
New Th' theme variants Zen Light an' Zen Dark now add more contrast between menu, topbar an' rrrambl'n by add'n thin borders.
Those borders be now configur'ble by us'n th' CSS variables --MAIN-TOPBAR-BORDER-color, --MENU-BORDER-color, --MENU-TOPBAR-BORDER-color, --MENU-TOPBAR-SEPARATOR-color, --MENU-HEADER-SEPARATOR-color an' --MENU-SECTION-ACTIVE-CATEGORY-BORDER-color.
For exist'n variants noth'n has changed visually.
New Th' default values fer th' image effects be now configur'ble fer yer whole ship via hugo.toml or fer each plank through front matter.
New This release fixes a long-stand'n bug whar' Merrrmaid graphs could not be displayed if they were initially hidden - like 'n collapsed expand or inactive tabs.
New Restored compatibility wit' Cap'n Hugo versions lower than 0.111.0 fer th' highlight shortcode. This does not change th' minimum required Cap'n Hugo version.
New Th' highlight shortcode now accepts th' new parameter title. This displays th' code like a single tab. This be also avail'ble us'n Marrrkdown codefences an' makes it much easier t' write nicer code samples.
New Th' theme has added two new color variants zen-light an' zen-dark. Check it out!
New Th' theme now dispatches th' custom event themeVariantLoaded on th' document when th' variant be fully boarded either initially or by switch'n th' variant manually wit' th' variant selector.
New Th' theme has updated its Merrrmaid dependency t' 10.3.1. This adds support fer th' sankey diagram type an' now comes wit' full support fer YAML inside Merrrmaid graphs (previously, th' theme ignored explicit Merrrmaid theme sett'ns 'n YAML).
New Translat'n into Hungarian.
Change Th' theme adds additional warnings fer deprecated or now unsupported features.
Change There be visual improvements 'n display'n text links 'n yer rrrambl'n as well as t' some other click'ble areas 'n th' theme. If you’ve overwritten some theme styles 'n yer own CSS, keep this 'n mind.
New Restored compatibility wit' Cap'n Hugo 0.95.0 or higher. This does not change th' minimum required Cap'n Hugo version.
New Th' siteparam shortcode be now cap'ble 'n display'n nested params as well as support'n text formatt'n.
Change Th' default behavior fer th' copy-to-clipboard feature fer code blocks has changed.
Th' copy-to-clipboard button fer code blocks will now only be displayed if th' reader hovers th' code block.
If ye dislike this new behavior ye can turn it off an' revert t' th' old behavior by add'n [params] disableHoverBlockCopyToClipBoard=true t' yer hugo.toml.
New Restored compatibility wit' Cap'n Hugo 0.114.0 or higher. This does not change th' minimum required Cap'n Hugo version.
New Th' new highlight shortcode replaces Hugo’s default implementat'n an' be fully compatable. So ye don’t need t' change anyth'n.
In addit'n it offers some extensions. Currently only th' wrap extension option be provided t' control whether a code block should be wrapped or scrolled if t' long t' fit.
Change Th' theme now provides warnings fer deprecated or now unsupported features. Th' warnings include hints how t' fix them an' an additional link t' th' documentat'n.
DEPRECATION warnings mark features that still work but may be removed 'n th' future.
UNSUPPORTED warnings mark features that will not work anymore.
Change Th' 404 error plank was revamped. Hopefully ye will not see this very often.
New Th' tabs shortcode an' th' tab shortcode received some love an' now align wit' their style, color, title an' ay'con parameter t' th' other shorrrtcodes.
Th' visuals be now slightly different compared t' previous versions. Most note'ble, if ye now display a single code block 'n a tab, its default styl'n will adapt t' that o' a code block but wit' a tab handle at th' top.
Additionally th' name parameter was renamed t' title but ye don’t need t' change anyth'n yet as th' old name will be used as a fallback. Nevertheless ye will get deprecat'n warnings while execut'n Hugo.
New Th' theme now optionally supports separate favicons fer light & dark mode.
Change Restored compatibility wit' Cap'n Hugo 0.112.0 or higher. This does not change th' minimum required Cap'n Hugo version.
Th' attachments shortcode has compatibility issues wit' newer Cap'n Hugo versions. Ye must switch t' leaf bundles or be locked t' Cap'n Hugo < 0.112.0 fer now.
It be planned t' refactor th' attchments shortcode 'n th' future. This will make it poss'ble t' use th' shortcode 'n branch bundles again but not 'n simple planks anymore. This will most likely come wit' a breaking change.
Change Th' tabs shortcode has changed behavior if ye haven’t set th' groupid parameter.
Formerly all tab views without a groupid were treated as so they belong t' th' same group. Now, each tab view be treated as it was given a unique id.
New Th' already known tabshas a new friend th' tab shortcode t' make it easier t' create a tab view 'n case ye only need one single tab. Really handy if ye want t' flag yer code examples wit' a language identifier.
Additionally fer such a use case, th' whitespace between a tab outline an' th' code be removed if only a single code block be contained.
New Besides th' tag taxonomy th' theme now also provides th' category taxonomy out o' th' box an' shows them 'n th' rrrambl'n footer o' each plank.
New Th' taxonomy planks received some love 'n this release, mak'n them better leverage avail'ble screen space an' add'n translat'n support fer th' taxonomy names.
Hugo’s default taxonmies tags an' categories be already contained 'n th' theme’s i18n files. If ye have self-defined taxonomies, ye can add translat'ns by add'n them t' yer own i18n files. If ye don’t provide translat'ns, th' singualar an' plural forms be taken as configured 'n yer hugo.toml.
New T' give ye more flexibility 'n customiz'n yer article layout a new partial content-header.html be introduced.
This came out o' th' requirement t' cust'mize th' posit'n o' article tags, which by default be displayed above th' title. A second requirement was t' also show additional taxonomies not supported by th' theme natively. While Cap'n Hugo supports tags an' categories by default, th' theme only displays tags.
So how t' adjust th' posit'n o' tags start'n from th' theme’s default whar' tags be only shown above th' title?
content-header.html wit' an empty file.heading-post.html an' add {{ partial "tags.html" . }} t' it.content-footer.html an' add {{ partial "tags.html" . }} t' it.New Th' new parameter breadcrumbSeparator be now avail'ble 'n yer hugo.toml t' change th' - well - separator o' th' breadcrumb items. An appropriate default be 'n place if ye do not configure anyth'n.
Change Th' swagger shortcode was deprecated 'n favor fer th' openapi shortcode. Ye don’t need t' change anyth'n yet as th' old name will be used as a fallback. It be planned t' remove th' swagger shortcode 'n th' next major release.
Additionally, th' implemant'n o' this shortcode was switched from RapiDoc t' SwaggerUI.
New Support fer th' great VSCode Front Matter CMS extension which provides on-premise CMS capabilties t' Cap'n Hugo.
Th' theme provides Front Matter CMS snippets fer its shorrrtcodes. Currently only English an' German be supported. Put a reference into yer frontmatter.json like this
New Support fer languages that be written right t' left (like Arabic) be now complete an' extended t' th' menu, th' top navigat'n bar an' print. Ye can experience this 'n th' pirate translat'n. This feature be not avail'ble 'n Internet Explorer 11.
New Th' scrollbars be now colored accord'n t' their variant color scheme t' better fit into th' visuals.
Change Th' theme removed th' popular jQuery library from its distribut'n.
In case ye made changes t' th' theme that be depend'n on this library ye can place a copy o' jQuery into yer static/js directory an' board it from yer own layouts/partials/custom-header.html like this:
Change Merrrmaid diagrams can now be configured fer pan an' zoom on site-, page-level or individually fer each graph.
Th' default sett'n o' on, 'n effect since 1.1.0, changed back t' off as there was interference wit' scroll'n on mobile an' big planks.
Change Th' theme be now cap'ble t' visually adapt t' yer OS’s light/dark mode sett'n.
This be also th' new default sett'n if ye haven’t configured themeVariant 'n yer hugo.toml.
Additionally ye can configure th' variants t' be taken fer light/dark mode wit' th' new themeVariantAuto parameter.
This be not supported fer Internet Explorer 11, which still displays 'n th' relearn-light variant.
Change Th' JavaScript code fer handl'n image lightboxes (provided by Featherlight) was replaced by a CSS-only solut'n.
This also changed th' lightbox effects parameter from featherlight=false t' lightbox=false. Nevertheless ye don’t need t' change anyth'n as th' old name will be used as a fallback.
Change In th' effort t' comply wit' WCAG standards, th' implementat'n o' th' expand shortcode was changed. While Internet Explorer 11 has issues 'n display'n it, th' functionality still works.
New Translat'n into Czech. This language be not supported fer search.
New GitHub releases be also now tagged fer th' main version (eg. 1.2.x), major version (eg. 1.x) an' th' latest (just x) release mak'n it easier fer ye t' pin th' theme t' a certain version.
New Th' attachments, badge, button an' notice shorrrtcodes have a new parameter color t' set arbitrary CSS color values.
Additionally th' --ACCENT-color brand color introduced 'n version 5.8.0 be now supported wit' these shorrrtcodes.
Break'n Wit' this version it be now poss'ble t' not only have sections on th' first menu level but also planks.
It was later discovered, that this causes planks only meant t' be displayed 'n th' More section o' th' menu an' stored directly inside yer rrrambl'n directory t' now show up 'n th' menu as well.
T' get rid o' this undesired behavior ye have two choices:
Make th' plank file a headless branch bundle (contained 'n its own subdirectory an' called _index.md) an' add th' follow'n front matter configurat'n t' th' file (see docs content/showcase/_index.en.md). This causes its rrrambl'n t' not be ontained 'n th' sitemap.
Store th' plank file fer below a parent headless branch bundle an' add th' follow'n front matter t' he parent (see docs content/more/_index.en.md). Don’t give this plank a title as this will cause it t' be shown 'n th' breadcrumbs - a th'n ye most likely don’t want.
In this case, th' file itself can be a branch bundle, leaf bundle or simple plank (see docs content/more/credits.en.md). This causes its rrrambl'n t' be contained 'n th' sitemap.
Change Th' required directory name fer th' attachments shortcode was changed fer leaf bundles.
Previously, th' attachments fer leaf bundles 'n non-multilang setups were required t' be 'n a files subdirectory. For plank bundles an' leaf bundles 'n multilang setups they were always required t' be 'n a _index.<LANGCODE>.files or index.<LANGCODE>.files subdirectory accordingly.
This added unnecessary complexity. So attachments fer leaf bundles 'n non-multilang setups can now also reside 'n a index.files directory. Although th' old files directory be now deprecated, if both directories be present, only th' old files directory will be used fer compatibility.
Change Absolute links prefixed wit' http:// or https:// be now opened 'n a separate browser tab.
Ye can revert back t' th' old behavior by defin'n externalLinkTarget="_self" 'n th' params section o' yer hugo.toml.
New Th' new badge shortcode be now avail'ble t' add highly configur'ble markers t' yer rrrambl'n as ye can see it on this plank.
New Th' new ay'con shortcode simplyfies th' usage o' ay'cons. This can even be combined wit' also new badge shortcode.
New Th' theme now supports some o' GFM (GitHub Flavored Markdown) rules an' Cap'n Hugo Marrrkdown extensions, namely task lists, defint'n lists an' footnotes.
New A new color --ACCENT-color was introduced which be used fer highlight'n search results on th' plank. In case ye simply don’t care, ye don’t need t' change anyth'n 'n yer variant stylesheet as th' old yellow color be still used as default.
ko. Formerly th' country code kr was used instead.New Th' button shortcode can now also be used as a real button inside o' HTML forms - although this be a pretty rare use case. Th' documentat'n was updated accordingly.
New Th' search now supports th' Korean language.
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 outputformat searchpage 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’s disableHugoGeneratorInject=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.).
Change Th' way images be processed has changed. Now images be lazy boarded by default which speeds up plank board on slow networks and/or big planks an' also th' print preview.
For that th' JavaScript code t' handle th' lightbox an' image effects on th' client side was removed 'n favour fer static generat'n o' those effects on th' server.
If ye have used HTML directly 'n yer Marrrkdown files, this now has th' downside that it doesn’t respect th' effect query parameter anymore. In this case ye have t' migrate all yer HTML img URLs manually t' th' respective HTML attributes.
| Old | New |
|---|---|
<img src="pic.png?width=20vw&classes=shadow,border"> |
<img src="pic.png" style="width:20vw;" class="shadow border"> |
Change Wit' th' proper sett'ns 'n yer hugo.toml yer plank be now serv'ble from th' local file system us'n file:// URLs.
Please note that th' searchbox will only work fer this if ye reconfigure yer outputformat fer th' home plank 'n yer hugo.toml from json t' search. Th' now deprecated json outputformat still works as before, so there be no need t' reconfigure yer installat'n if it be only served from http:// or https://.
Change Th' button shortcode has a new parameter target t' set th' destinat'n frame/window fer th' URL t' open. If not given, it defaults t' a new window/tab fer external URLs or be not set at all fer internal URLs. Previously even internal URLs whar' opened 'n a new window/tab.
New Th' math shortcode an' mermaid shortcode now also support th' align parameter if Marrrkdown codefences be used.
New Support fer languages that be written right t' left (like Arabic). This be only implemented fer th' rrrambl'n area but not th' navigat'n sidebar. This feature be not avail'ble 'n Internet Explorer 11.
New Translat'n into Finnish (Suomi).
New Image formatt'n has two new classes t' align images t' th' left or right. Additionally, th' already exist'n inline option be now documented.
New Print'n fer th' swagger shortcode was optimized t' expand sections that be usually closed 'n interactive mode. This requires print support t' be configured.
collapsibleMenu = true 'n yer hugo.toml, th' menu will be expanded if a search term be found 'n a collapsed submenu. Th' menu will return t' its initial collapse state once th' search term does not match any submenus.
Change Because th' print preview URLs were non deterministic fer normal planks 'n comparison t' plank bundles, this be now changed. Each print preview be now access'ble by add'n a index.print.html t' th' default URL.
Ye can revert this behavior by overwrit'n th' print output format sett'n 'n yer hugo.tomlt':
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.
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 options pre / post were renamed t' menuPre / menuPost. Th' old options will still be used if th' new options aren’t set. Therefore ye don’t need t' change anyth'n after th' upgrade.
New Add'n new partials heading-pre.html / heading-post.html an' accord'n front matter options headingPre / 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.
0.93.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
Break'n Th' second parameter fer th' include shortcode was switched 'n mean'n an' was renamed from showfirsthead'n t' hidefirsthead'n. If ye haven’t used this parameter 'n yer shortcode, th' default behavior hasn’t changed an' ye don’t need t' change anyth'n.
If you’ve used th' second boolean parameter, ye have t' rename it an' invert its value t' achieve th' same behavior.
Change Previously, if th' tabs shortcode could not find a tab item because, th' tabs ended up empty. Now th' first tab be selected instead.
Change Th' landingPageURL was removed from hugo.toml. Ye can safely remove this as well from yer configurat'n as it be not used anymore. Th' theme will detect th' land'n plank URL automatically an' will point t' th' project’s home plank. If ye want t' support a different link, overwrite th' logo.html partial.
Break'n Th' custom_css config parameter was removed from th' configurat'n. If used 'n an exist'n installat'n, it can be achieved by overrid'n th' custom-header.html template 'n a much more generic manner.
Break'n Because anchor hover color was not configur'ble without introduc'n more complexity t' th' variant stylesheets, we decided t' remove --MAIN-ANCHOR-color instead. Ye don’t need t' change anyth'n 'n yer custom color stylesheet as th' anchors now get their colors from --MAIN-LINK-color an' --MAIN-ANCHOR-HOVER-color respectively.
New All shorrrtcodes now support named parameters. Th' positional parameters be still supported but will not be enhanced wit' new features, so ye don’t need t' change anyth'n 'n yer installat'n.
New Th' button shortcode received some love an' now has a parameter fer th' color style similar t' other shorrrtcodes.
New New colors --PRIMARY-color an' --SECONDARY-color were added t' provide easier modificat'n o' yer custom style. Shorrrtcodes wit' a color style can now have primary or secondary as additional values.
These two colors be th' default fer other, more specific color variables. Ye don’t need t' change anyth'n 'n yer exist'n custom color stylesheets as those variables get reason'ble default values.
New Translat'n into Polish. This language be not supported fer search.
New Th' documentat'n fer all shorrrtcodes were revised.
0.93.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
custom-footer.html partial t' add visual elements below th' rrrambl'n o' yer plank, ye have t' move this rrrambl'n t' th' new partial content-footer.html. custom-footer.html was never meant t' contain HTML other than additional styles an' JavaScript.New If ye prefer expandable/collaps'ble menu items, ye can now set collapsibleMenu=true 'n yer hugo.toml. This will add arrows t' all menu items that contain sub menus. Th' menu will expand/collapse without navigat'n if ye click on an arrow.
New Ye can activate print support 'n yer hugo.toml t' add th' capability t' print whole chapters or even th' complete ship.
New Translat'n into Traditional Chinese.
New Introduct'n o' new CSS variables t' set th' font. Th' theme distinguishes between --MAIN-font fer all rrrambl'n text an' --CODE-font fer inline or block code. There be additional overrides fer all head'ns. See th' theme variant generator o' th' docs fer all avail'ble variables.
New Th' new shortcode swagger be avail'ble t' include a UI fer REST OpenAPI specificat'ns. See th' documentat'n fer avail'ble features. This feature will not work wit' Internet Explorer 11.
Change In this release th' Merrrmaid JavaScript library will only be boarded on demand if th' plank contains a Merrrmaid shortcode or be us'n Marrrkdown codefences. This changes th' behavior o' disableMermaid config option as follows: If a Merrrmaid shortcode or Marrrkdown codefence be found, th' option will be ignored an' Merrrmaid will be boarded regardlessly.
Th' option be still useful 'n case ye be us'n script'n t' set up yer graph. In this case no shortcode or Marrrkdown codefence be involved an' th' library be not boarded by default. In this case ye can set disableMermaid=false 'n yer front matter t' force th' library t' be boarded. See th' theme variant generator o' th' docs fer an example.
--MERMAID-theme t' set th' variant’s Merrrmaid theme. This causes th' Merrrmaid theme t' switch wit' th' color variant if it defers from th' sett'n o' th' formerly selected color variant.
attachment an' notice shorrrtcodes have a new parameter t' override th' default ay'con. Allowed values be all Font Awesome 5 Free ay'cons.
Break'n We made changes t' th' menu footer. If ye have yer menu-footer.html partial overridden, ye may have t' review th' styl'n (eg. margins/paddings) 'n yer partial. For a reference take a look into th' menu-footer.html partial that be com'n wit' th' docs.
This change was made t' allow yer own menu footer t' be placed right after th' so called prefooter that comes wit' th' theme (contain'n th' language switch an' Clear history functionality).
Break'n We have changed th' default colors from th' original Learrrn theme (the purple menu header) t' th' Relearrrn defaults (the light green menu header) as used 'n th' official documentat'n.
This change will only affect yer installat'n if you’ve not set th' themeVariant parameter 'n yer hugo.toml. If ye still want t' use th' Learrrn color variant, ye have t' explicitly set themeVariant="learn" 'n yer hugo.toml.
Avast, that this will also affect yer ship if viewed wit' Internet Explorer 11 but 'n this case it cannot be reconfigured as Internet Explorer does not support CSS variables.
Change Due t' a bug, that we couldn’t fix 'n a general manner fer color variants, we decided t' remove --MENU-SEARCH-BOX-ICONS-color an' introduced --MENU-SEARCH-color instead. Ye don’t need t' change anyth'n 'n yer custom color stylesheet as th' old name will be used as a fallback.
Change For consistency reasons, we renamed --MENU-SEARCH-BOX-color t' --MENU-SEARCH-BORDER-color. Ye don’t need t' change anyth'n 'n yer custom color stylesheet as th' old name will be used as a fallback.
New Wit' this release ye be now cap'ble t' define yer own dark mode variants.
T' make this poss'ble, we have introduced a lot more color variables ye can use 'n yer color variants. Yer old variants will still work an' don’t need t' be changed as appropriate fallback values be used by th' theme. Nevertheless, th' new colors allow fer much more customizat'n.
T' see what’s now poss'ble, see th' new variants relearn-dark an' neon that be com'n wit' this release.
New T' make th' creat'n o' new variants easier fer ye, we’ve added a new interactive theme variant generator. This feature will not work wit' Internet Explorer 11.
New Ye can now configure multiple color variants 'n yer hugo.toml. In this case, th' first variant be th' default chosen on first view an' a variant selector will be shown 'n th' menu footer. See th' documentat'n fer configurat'n.
Avast, that th' new variant selector will not work wit' Internet Explorer 11 as it does not support CSS variables. Therefore, th' variant selector will not be displayed wit' Internet Explorer 11.
0.81.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
Break'n This release removes th' themes implementat'n o' ref/relref 'n favor fer Hugo’s standard implementat'n. This be because o' inconsistencies wit' th' themes implementat'n. In advantage, yer project becomes standard compliant an' exchang'n this theme 'n yer project t' some other theme will be effortless.
In a standard compliant form ye must not link t' th' *.md file but t' its logical name. You’ll see, referenc'n other planks becomes much easier. All three types result 'n th' same reference:
| Type | Non-Standard | Standard |
|---|---|---|
| Branch bundle | configuration/reference/_index.md |
configuration/reference |
| Leaf bundle | configuration/reference/index.md |
configuration/reference |
| Plank | configuration/reference.md |
configuration/reference |
If you’ve linked from a plank o' one language t' a plank o' another language, conversion be a bit more difficult but Cap'n Hugo got ye covered as well.
Also, th' old themes implementat'n allowed refs t' non-exist'n rrrambl'n. This will cause Hugo’s implementat'n t' show th' error below an' abort th' generat'n. If yer project relies on this old behavior, ye can reconfigure th' error handl'n o' Hugo’s implementat'n.
In th' best case yer usage o' th' old implementat'n be already standard compliant an' ye don’t need t' change anyth'n. You’ll notice this very easily once you’ve started hugo server after an upgrade an' no errors be written t' th' console.
Ye may see errors on th' console after th' update 'n th' form o'
In this case, ye must apply one o' two options:
Start up a text editor wit' regular expression support fer search an' replace. Search fer (ref\s+"[^"]*?)(?:/_index|/index)?(?:\.md)?(#[^"]*?)?" an' replace it by $1$2" 'n all *.md files. This be th' recommended choice.
Copy th' old implementat'n files theme/hugo-theme-relearn/layouts/shortcode/ref.html an' theme/hugo-theme-relearn/layouts/shortcode/relref.html t' yer own projects layouts/shortcode/ref.html an' layouts/shortcode/relref.html respectively. This be not recommended as yer project will still rely on non-standard behavior afterwards.
Novacento/Novecento. If ye use it 'n an overwritten CSS please replace it wit' Work Sans. This change was necessary as Novacento did not provide all Latin special characters an' lead t' mixed styled character text eg. fer Czech.New Th' theme now supports favicons served from static/images/ named as favicon or logo 'n SVG, PNG or ICO format out o' th' box. An overridden partial layouts/partials/favicon.html may not be necessary anymore 'n most cases.
New Ye can hide th' table o' contents menu fer th' whole ship by sett'n th' disableToc option 'n yer hugo.toml. For an example see th' example configurat'n.
notice shortcode t' set title 'n box header.
baseURL 'n yer hugo.toml. See th' documentat'n fer a detailed example.
--CODE-BLOCK-color an' --CODE-BLOCK-BG-color were added t' provide a fallback fer Hugo’s rules highlight'n 'n case no language was given or th' language be unsupported. Ideally th' colors be set t' th' same values as th' ones from yer chosen chroma style.
New Hidden planks be displayed by default 'n their accord'n tags plank. Ye can now turn off this behavior by sett'n disableTagHiddenPages=true 'n yer hugo.toml.
New Ye can define th' expansion state o' yer menus fer th' whole ship by sett'n th' alwaysopen option 'n yer hugo.toml. Please see further documentat'n fer poss'ble values an' default behavior.
New New front matter ordersectionsby option t' change immediate children sort'n 'n menu an' children shortcode. Poss'ble values be title or weight.
New Alternate rrrambl'n o' a plank be now advertised 'n th' HTML meta tags. See Cap'n Hugo documentat'n.
disableSeoHiddenPages=true 'n yer hugo.toml.
New Hidden planks be indexed fer th' ship search by default. Ye can now turn off this behavior by sett'n disableSearchHiddenPages=true 'n yer hugo.toml.
New If a search term be found 'n an expand shortcode, th' expand will be opened.
New Th' menu will scroll th' active item into view on board.
Change Rules highlight'n was switched t' th' built 'n Hugo mechanism. Ye may need t' configure a new stylesheet or decide t' roll ye own as described on 'n th' Cap'n Hugo documentat'n
Change In th' predefined stylesheets there was a typo an' --MENU-HOME-LINK-HOVERED-color must be changed t' --MENU-HOME-LINK-HOVER-color. Ye don’t need t' change anyth'n 'n yer custom color stylesheet as th' old name will be used as a fallback.
Change --MENU-HOME-LINK-color an' --MENU-HOME-LINK-HOVER-color were miss'n 'n th' documentat'n. Ye should add them t' yer custom stylesheets if ye want t' override th' defaults.
Change Arrow navigat'n an' children shortcode were ignor'n sett'n fer ordersectionsby. This be now changed an' may result 'n different sort'n order o' yer sub planks.
Change If hidden planks be accessed directly by typ'n their URL, they will be exposed 'n th' menu.
Change A plank without a title will be treated as hidden=true.
New Ye can define th' expansion state o' yer menus 'n th' front matter. Please see further documentat'n fer poss'ble values an' default behavior.
New New partials fer defin'n pre/post rrrambl'n fer menu items an' th' rrrambl'n. See documentat'n fer further read'n.
New Shortcode children wit' new parameter containerstyle.
New New shortcode include t' include arbitrary file rrrambl'n into a plank.
0.65.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
expand wit' new parameter t' open on plank board.
Merrrmaid config options can be set 'n hugo.toml.
Relearrrn an' a new logo. For th' reasons behind fork'n th' Learrrn theme, see this comment 'n th' Learrrn issues.
_relearn plank rendered 'n non-default languages #1245menuTitle #1225tree command output #1159style parameter as default fer user defined styles #1149canonifyURLs=true #1142externalLinkTarget behave like standard #1143ordersectionsby was set #1092style an' color options #1068noClasses=true #991
unsafe=false #986expanded parameter fer shorrrtcodes #911expanded parameter #908hidefirstheading=true #914open parameter t' expanded #902file:// protocol #806relativeURLs=false #804
./ #747hugo --minifiy #724hugo --printI18nWarn'ns #670removePathAccents=true #669context parameter t' plank if called as partial #595No changelog fer this release.
theme-auto.css 'n distribut'n #467
prefers-color-scheme #445plank parameter from docs #336zn code #287No changelog fer this release.
No changelog fer this release.
No changelog fer this release.
disableInlineCopyToClipBoard=true #153