mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-12-17 19:33:30 +00:00
5945 lines
501 KiB
HTML
5945 lines
501 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="art-pir" dir="rtl">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="height=device-height, width=device-width, initial-scale=1.0, minimum-scale=1.0">
|
|
<meta name="generator" content="Hugo 0.124.1">
|
|
<meta name="generator" content="Relearn 5.27.0+tip">
|
|
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
|
<meta name="author" content="Sören Weber">
|
|
<meta name="twitter:card" content="summary_large_image">
|
|
<meta name="twitter:image" content="https://mcshelby.github.io/hugo-theme-relearn/images/hero.png">
|
|
<meta name="twitter:title" content="Basics :: Cap'n Hugo Relearrrn Theme">
|
|
<meta name="twitter:description" content="Documentation for Hugo Relearn Theme">
|
|
<meta property="og:url" content="https://mcshelby.github.io/hugo-theme-relearn/pir/basics/index.html">
|
|
<meta property="og:site_name" content="Cap'n Hugo Relearrrn Theme">
|
|
<meta property="og:title" content="Basics :: Cap'n Hugo Relearrrn Theme">
|
|
<meta property="og:description" content="Discover what this Cap'n Hugo theme be all about an' th' core-concepts behind it.">
|
|
<meta property="og:locale" content="art-pir">
|
|
<meta property="og:type" content="website">
|
|
<meta property="og:image" content="https://mcshelby.github.io/hugo-theme-relearn/images/hero.png">
|
|
<title>Basics :: Cap'n Hugo Relearrrn Theme</title>
|
|
<link href="https://mcshelby.github.io/hugo-theme-relearn/basics/index.html" rel="alternate" hreflang="x-default">
|
|
<link href="https://mcshelby.github.io/hugo-theme-relearn/basics/index.html" rel="alternate" hreflang="en">
|
|
<link href="https://mcshelby.github.io/hugo-theme-relearn/pir/basics/index.html" rel="alternate" hreflang="art-pir">
|
|
<link href="https://mcshelby.github.io/hugo-theme-relearn/pir/basics/index.html" rel="canonical" type="text/html" title="Basics :: Cap'n Hugo Relearrrn Theme">
|
|
<link href="/hugo-theme-relearn/pir/basics/index.xml" rel="alternate" type="application/rss+xml" title="Basics :: Cap'n Hugo Relearrrn Theme">
|
|
<link href="/hugo-theme-relearn/images/logo.svg?1712528464" rel="icon" type="image/svg+xml">
|
|
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
|
<link href="/hugo-theme-relearn/css/fontawesome-all.min.css?1712528466" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="/hugo-theme-relearn/css/fontawesome-all.min.css?1712528466" rel="stylesheet"></noscript>
|
|
<link href="/hugo-theme-relearn/css/nucleus.css?1712528466" rel="stylesheet">
|
|
<link href="/hugo-theme-relearn/css/auto-complete.css?1712528466" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="/hugo-theme-relearn/css/auto-complete.css?1712528466" rel="stylesheet"></noscript>
|
|
<link href="/hugo-theme-relearn/css/perfect-scrollbar.min.css?1712528466" rel="stylesheet">
|
|
<link href="/hugo-theme-relearn/css/fonts.css?1712528466" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="/hugo-theme-relearn/css/fonts.css?1712528466" rel="stylesheet"></noscript>
|
|
<link href="/hugo-theme-relearn/css/theme.css?1712528466" rel="stylesheet">
|
|
<link href="/hugo-theme-relearn/css/theme-relearn-auto.css?1712528466" rel="stylesheet" id="R-variant-style">
|
|
<link href="/hugo-theme-relearn/css/chroma-relearn-auto.css?1712528466" rel="stylesheet" id="R-variant-chroma-style">
|
|
<link href="/hugo-theme-relearn/css/variant.css?1712528466" rel="stylesheet">
|
|
<link href="/hugo-theme-relearn/css/print.css?1712528466" rel="stylesheet" media="print">
|
|
<link href="/hugo-theme-relearn/css/format-print.css?1712528466" rel="stylesheet">
|
|
<link href="/hugo-theme-relearn/css/ie.css?1712528466" rel="stylesheet">
|
|
<script src="/hugo-theme-relearn/js/url.js?1712528466"></script>
|
|
<script src="/hugo-theme-relearn/js/variant.js?1712528466"></script>
|
|
<script>
|
|
window.relearn = window.relearn || {};
|
|
window.relearn.relBasePath='..\/..';
|
|
window.relearn.relBaseUri='..\/..\/..';
|
|
window.relearn.absBaseUri='https:\/\/mcshelby.github.io\/hugo-theme-relearn';
|
|
window.index_js_url="/hugo-theme-relearn/pir/index.search.js";
|
|
// variant stuff
|
|
window.relearn.themeVariantModifier='';
|
|
window.variants && variants.init( [ 'relearn-auto', 'relearn-light', 'relearn-dark', 'relearn-bright', 'zen-auto', 'zen-light', 'zen-dark', 'neon', 'learn', 'blue', 'green', 'red' ] );
|
|
// translations
|
|
window.T_Copy_to_clipboard = `Copy t' clipboard`;
|
|
window.T_Copied_to_clipboard = `Copied t' clipboard!`;
|
|
window.T_Copy_link_to_clipboard = `Copy link t' clipboard`;
|
|
window.T_Link_copied_to_clipboard = `Copied link t' clipboard!`;
|
|
window.T_Reset_view = `Rrreset view`;
|
|
window.T_View_reset = `View rrreset!`;
|
|
window.T_No_results_found = `No rrresults found fer "{0}"`;
|
|
window.T_N_results_found = `{1} rrresults found fer "{0}"`;
|
|
</script>
|
|
<style>
|
|
#R-body img.bg-white {
|
|
background-color: white;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="mobile-support print disableInlineCopyToClipboard" data-url="/hugo-theme-relearn/pir/basics/index.html">
|
|
<div id="R-body" class="default-animation">
|
|
<div id="R-body-overlay"></div>
|
|
<nav id="R-topbar">
|
|
<div class="topbar-wrapper">
|
|
<div class="topbar-sidebar-divider"></div>
|
|
<div class="topbar-area topbar-area-start" data-area="start">
|
|
<div class="topbar-button topbar-button-sidebar" data-content-empty="disable" data-width-s="show" data-width-m="hide" data-width-l="hide"><button class="topbar-control" onclick="toggleNav()" type="button" title="Menu (CTRL+ALT+n)"><i class="fa-fw fas fa-bars"></i></button>
|
|
</div>
|
|
</div>
|
|
<ol class="topbar-breadcrumbs breadcrumbs highlightable" itemscope itemtype="http://schema.org/BreadcrumbList"><li
|
|
itemscope itemtype="https://schema.org/ListItem" itemprop="itemListElement"><span itemprop="name">Basics</span><meta itemprop="position" content="1"></li>
|
|
</ol>
|
|
<div class="topbar-area topbar-area-end" data-area="end">
|
|
<div class="topbar-button topbar-button-prev" data-content-empty="disable" data-width-s="show" data-width-m="show" data-width-l="show"><a class="topbar-control" href="/hugo-theme-relearn/pir/index.html" title="Cap'n Hugo Relearrrn Theme (🡒)"><i class="fa-fw fas fa-chevron-left"></i></a>
|
|
</div>
|
|
<div class="topbar-button topbar-button-next" data-content-empty="disable" data-width-s="show" data-width-m="show" data-width-l="show"><a class="topbar-control" href="/hugo-theme-relearn/pir/basics/migration/index.html" title="What's New (🡐)"><i class="fa-fw fas fa-chevron-right"></i></a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
<div id="R-main-overlay"></div>
|
|
<main id="R-body-inner" class="highlightable chapter narrow" tabindex="-1">
|
|
<div class="flex-block-wrapper">
|
|
<article class="chapter">
|
|
<header class="headline">
|
|
</header>
|
|
<div class="article-subheading">T' chapterrr 1</div>
|
|
|
|
<h1 id="basics">Basics</h1>
|
|
|
|
|
|
<p>Discover what this Cap'n Hugo theme be all about an' th' core-concepts behind it.</p>
|
|
|
|
|
|
<footer class="footline">
|
|
</footer>
|
|
</article>
|
|
|
|
<section>
|
|
<h1 class="a11y-only">Subsct'ns o' Basics</h1>
|
|
<article class="default">
|
|
<header class="headline">
|
|
</header>
|
|
|
|
<h1 id="whats-new">What's New</h1>
|
|
|
|
|
|
<div class="box notices cstyle warning">
|
|
<div class="box-label"><i class="fa-fw fas fa-skull-crossbones"></i> Arrr! Pirrrates</div>
|
|
<div class="box-content">
|
|
|
|
<p>Fello' pirrrates, grog made us dizzy! Be awarrre <b>some stuff may look weird</b> in this trrranslat'n. Like <b>Merrrmaids</b>, do'n <b>math or chemistrrry</b> and stuff.</p>
|
|
</div>
|
|
</div>
|
|
<p>This document shows ye what’s new 'n th' latest release an' flags it wit' one o' th' follow'n badges. For a detailed list o' changes, see th' <a href="/hugo-theme-relearn/pir/basics/history/index.html">history plank</a>.</p>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle default badge-with-title"><span class="badge-title"><i class="fa-fw fab fa-hackerrank"></i></span><span class="badge-content" style="background-color: fuchsia;">0.121.0</span></span> Th' minimum required Cap'n Hugo version.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle warning badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-triangle"></i></span><span class="badge-content">Break'n</span></span> A change that requires act'n by ye after upgrad'n t' assure th' ship be still functional.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> A change 'n default behavior that may requires act'n by ye if ye want t' revert it.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Marks new behavior ye might find interest'n or comes configur'ble.</p>
|
|
</li>
|
|
</ul>
|
|
<!--GH-ACTION-RELEASE-MILESTONE-->
|
|
<hr>
|
|
<h2 id="5270">5.27.0 (2024-04-07)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle default badge-with-title"><span class="badge-title"><i class="fa-fw fab fa-hackerrank"></i></span><span class="badge-content" style="background-color: fuchsia;">0.121.0</span></span> This release requires a newer Cap'n Hugo version.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> If th' theme be configured t' generate warnings or errors dur'n build by sett'n <code>image.errorlevel</code> t' either <code>warning</code> or <code>error</code> 'n yer <code>hugo.toml</code>, it will now also generate output if a link fragment be not found 'n th' target plank.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Th' <a href="/hugo-theme-relearn/pir/basics/customization/index.html#own-shortcodes-with-javascript-dependencies">dependency loader</a> was made more versatile.</p>
|
|
<p>Th' configurat'n 'n yer <code>hugo.toml</code> does not require th' <code>locat'n</code> 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.</p>
|
|
<p>Wit' th' new mechanism, yer dependency loader now receives an additional <code>locat'n</code> parameter instead that ye can query t' inject yer dependencies 'n th' desired locat'n.</p>
|
|
<p>By that ye can now call th' dependency mechanism 'n yer own overriden partials by giv'n it a distinct <code>locat'n</code> parameter. In addit'n yer injected files can now be spread t' multiple locat'ns which wasn’t previously poss'ble.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Additional styl'n was added fer th' native HTML elements <code><mark></code> an' <code><kbd></code>. T' use them ye must allow th' <a href="https://gohugo.io/getting-started/configuration-markup/#rendererunsafe" rel="external" target="_blank">usage o' HTML</a> 'n yer <code>hugo.toml</code>. Th' <a href="/hugo-theme-relearn/pir/cont/markdown/index.html#standard-and-extensions">Marrrkdown documentat'n</a> was enhanced fer this.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Ye now can scroll forward an' backward thru all head'ns o' a plank by us'n <kbd>ALT</kbd> <kbd>🡑</kbd> an' <kbd>ALT</kbd> <kbd>🡓</kbd>. This also works fer th' <code>PRINT</code> output format.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' breadcrumbs used 'n th' topbar, search results an' th' taxonomy term lists be now us'n th' planks frontmatter <code>linktitle</code> instead o' <code>title</code> if set.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5260">5.26.0 (2024-03-18)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' lazy load'n o' images be now configur'ble by us'n th' new <code>lazy</code> <a href="/hugo-theme-relearn/pir/cont/imageeffects/index.html">image effect</a>. Th' default value hasn’t changed 'n comparison t' older versions, ye don’t need t' change anyth'n.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> It be now poss'ble t' <a href="/hugo-theme-relearn/pir/basics/customization/index.html#change-the-main-areas-max-width">adjust th' max width o' th' main area</a>, eg. 'n case ye want t' use th' full plank width fer yer rrrambl'n.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Images an' Codefences be now respect'n <a href="https://gohugo.io/content-management/markdown-attributes/" rel="external" target="_blank">Hugo’s Marrrkdown attributes</a>.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' theme has updated its Merrrmaid dependency t' 10.6.0. This adds support fer <a href="/hugo-theme-relearn/pir/shortcodes/mermaid/index.html#block-diagram">block diagrams</a>.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> This release fixes a long outstand'n bug whar' th' plank wasn’t reposition'n correctly when go'n forward or backward 'n yer browser history.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5250">5.25.0 (2024-02-29)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> This release deprecates th' <a href="/hugo-theme-relearn/pir/shortcodes/attachments/index.html"><code>attachments</code> shortcode</a> 'n favor o' th' new th' <a href="/hugo-theme-relearn/pir/shortcodes/resources/index.html"><code>resources</code> shortcode</a>.</p>
|
|
<p>If ye be us'n Hugo below <span class="badge cstyle default badge-with-title"><span class="badge-title"><i class="fa-fw fab fa-hackerrank"></i></span><span class="badge-content" style="background-color: fuchsia;">0.123.0</span></span>, ye don’t need t' change anyth'n as th' old shortcode still works (but may generate warnings).</p>
|
|
<p>Anyways, users be strongly advised t' migrate as th' <code>attachments</code> shortcode will not receive support anymore. Migrat'n instruct'ns be listed on th' <a href="/hugo-theme-relearn/pir/shortcodes/attachments/index.html#migration"><code>attachments</code> shortcode plank</a>.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> If ye run Hugo wit' <a href="https://gohugo.io/methods/page/gitinfo/" rel="external" target="_blank">GitInfo</a> 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' <code>content-footer.html</code> partial.</p>
|
|
</li>
|
|
</ul>
|
|
<h2 id="5240">5.24.0 (2024-02-28)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle default badge-with-title"><span class="badge-title"><i class="fa-fw fab fa-hackerrank"></i></span><span class="badge-content" style="background-color: fuchsia;">0.112.4</span></span> This release requires a newer Cap'n Hugo version.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Th' topbar button received a way t' add text next t' th' ay'con. For this, th' original <code>title</code> opt'n was renamed t' <code>hint</code> while th' new <code>title</code> opt'n be now displayed next t' th' ay'con.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Th' frontmatter opt'n <code>menuTitle</code> be now deprecated 'n favor fer Hugo’s own <code>linkTitle</code>. Ye don’t need t' change anyth'n as th' old <code>menuTitle</code> opt'n be still supported.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> 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' syntaxhighlightn'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 <a href="/hugo-theme-relearn/pir/basics/branding/index.html#modify-shipped-variants">described here</a>.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> If th' theme can not resolve a link t' a plank or image, ye can now generate warnings or errors dur'n build by sett'n <code>link.errorlevel</code> or <code>image.errorlevel</code> t' either <code>warning</code> or <code>error</code> 'n yer <code>hugo.toml</code> respectively. By default this condit'n be silently ignored an' th' link be written as-is.</p>
|
|
<p>Please note that a plank link will generate false negatives if <code>uglyURLs=true</code> an' it references an ordinary plank before <span class="badge cstyle default badge-with-title"><span class="badge-title"><i class="fa-fw fab fa-hackerrank"></i></span><span class="badge-content" style="background-color: fuchsia;">0.123.0</span></span>.</p>
|
|
<p>Please note that an image link will generate false negatives if th' file resides 'n yer <code>static</code> directory.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Ye now can configure additional opt'ns fer every theme variant 'n yer <code>hugo.toml</code>. This allows fer optional <a href="/hugo-theme-relearn/pir/basics/branding/index.html#theme-variant-advanced">advanced functionality</a>. Ye don’t need t' change anyth'n as th' old configurat'n opt'ns will still work (but may generate warnings now).</p>
|
|
<p>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.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> New partial fer defin'n th' head'n. See <a href="/hugo-theme-relearn/pir/basics/customization/index.html#partials">documentat'n</a> fer further read'n.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Support fer Hugo’s built-in <a href="https://gohugo.io/content-management/shortcodes/#figure" rel="external" target="_blank"><code>figure</code> shortcode</a>.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> On taxonomy an' term planks ye can now use prev/next navigat'n as within th' normal plank structure.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> In additiion t' th' exist'n <a href="/hugo-theme-relearn/pir/basics/customization/index.html#change-the-menu-width">menu width customizat'n</a>, it be now also poss'ble t' set th' width o' th' menu flyout fer small screen sizes wit' th' <code>--MENU-WIDTH-S</code> CSS property.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Improvements fer accessibility when tabb'n thru th' plank fer images, links an' tab handles.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' <code>editURL</code> config parameter be now <a href="/hugo-theme-relearn/pir/cont/frontmatter/index.html">overwrit'ble 'n yer planks frontmatter</a>. 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 <code>${FilePath}</code> '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.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' themes <a href="/hugo-theme-relearn/pir/basics/configuration/index.html">config</a> an' <a href="/hugo-theme-relearn/pir/cont/frontmatter/index.html">frontmatter</a> opt'ns received a comprehensive documentat'n update. In addit'n th' theme switched from <code>config.toml</code> t' <code>hugo.toml</code>.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Restored compatibility wit' Cap'n Hugo versions <span class="badge cstyle default badge-with-title"><span class="badge-title"><i class="fa-fw fab fa-hackerrank"></i></span><span class="badge-content" style="background-color: fuchsia;">0.121.0</span></span> or higher fer th' <a href="/hugo-theme-relearn/pir/shortcodes/highlight/index.html"><code>highlight</code> shortcode</a>. This does not change th' minimum required Cap'n Hugo version.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Restored compatibility wit' Cap'n Hugo versions <span class="badge cstyle default badge-with-title"><span class="badge-title"><i class="fa-fw fab fa-hackerrank"></i></span><span class="badge-content" style="background-color: fuchsia;">0.123.0</span></span> or higher fer theme specific <a href="/hugo-theme-relearn/pir/basics/customization/index.html">output formats</a> an' handl'n o' taxonomy an' term titles. This does not change th' minimum required Cap'n Hugo version.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5230">5.23.0 (2023-11-03)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Wit' <span class="badge cstyle default badge-with-title"><span class="badge-title"><i class="fa-fw fab fa-hackerrank"></i></span><span class="badge-content" style="background-color: fuchsia;">0.120.0</span></span> th' author sett'ns move into th' <code>[params]</code> array 'n yer <code>hugo.toml</code>. 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.</p>
|
|
<p>Change yer previous sett'n from</p>
|
|
|
|
<div class="tab-panel" data-tab-group="config-code">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">hugo.</div>
|
|
<button
|
|
data-tab-item="toml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('config-code','toml')"
|
|
>
|
|
<span class="tab-nav-text">toml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="yaml"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','yaml')"
|
|
>
|
|
<span class="tab-nav-text">yaml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="json"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','json')"
|
|
>
|
|
<span class="tab-nav-text">json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="toml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="p">[</span><span class="nx">params</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">author</span> <span class="p">=</span> <span class="s1">'Hugo'</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="yaml"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">params</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">author</span><span class="p">:</span><span class="w"> </span><span class="l">Cap'n Hugo</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="json"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"params"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"author"</span><span class="p">:</span> <span class="s2">"Hugo"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<p>t'</p>
|
|
|
|
<div class="tab-panel" data-tab-group="config-code">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">hugo.</div>
|
|
<button
|
|
data-tab-item="toml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('config-code','toml')"
|
|
>
|
|
<span class="tab-nav-text">toml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="yaml"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','yaml')"
|
|
>
|
|
<span class="tab-nav-text">yaml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="json"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','json')"
|
|
>
|
|
<span class="tab-nav-text">json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="toml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="p">[</span><span class="nx">params</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">[</span><span class="nx">params</span><span class="p">.</span><span class="nx">author</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">name</span> <span class="p">=</span> <span class="s1">'Hugo'</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="yaml"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">params</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">author</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l">Cap'n Hugo</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="json"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"params"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"author"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"Hugo"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Taxonomy <a href="https://gohugo.io/content-management/taxonomies#add-custom-metadata-to-a-taxonomy-or-term" rel="external" target="_blank">term planks</a> now add th' breadcrumb fer each listed plank. If this gets too crowded fer ye, ye can turn th' breadcrumbs off 'n yer <code>hugo.toml</code> by add'n <code>disableTermBreadcrumbs=true</code>.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Taxonomy an' term planks be now allowed t' contain rrrambl'n. This be added inbetween th' title an' th' plank list.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> It be now poss'ble t' print custom taxonomies anywhere 'n yer plank. <a href="/hugo-theme-relearn/pir/cont/taxonomy/index.html#customization">See th' docs</a>.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> It be now poss'ble t' adjust th' menu width fer yer whole ship. <a href="/hugo-theme-relearn/pir/basics/customization/index.html#change-the-menu-width">See th' docs</a>.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> This release adds social media meta tags fer th' Open Graph protocol an' Twitter Cards t' yer ship. <a href="/hugo-theme-relearn/pir/basics/customization/index.html#social-media-meta-tags">See th' docs</a>.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> This release comes wit' additional sort opt'ns fer th' menu an' th' <a href="/hugo-theme-relearn/pir/shortcodes/children/index.html"><code>children</code> shortcode</a>. Both will now accept th' follow'n values: <code>weight</code>, <code>title</code>, <code>linktitle</code>, <code>modifieddate</code>, <code>expirydate</code>, <code>publishdate</code>, <code>date</code>, <code>length</code> or <code>default</code> (adher'n t' Hugo’s default sort order).</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> 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. <a href="/hugo-theme-relearn/pir/basics/customization/index.html#own-shortcodes-with-javascript-dependencies">See th' docs</a>.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' theme has updated its Merrrmaid dependency t' 10.6.0. This adds support fer th' <a href="/hugo-theme-relearn/pir/shortcodes/mermaid/index.html#xychart">xychart type</a>.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> This release adds port'ble Marrrkdown links.</p>
|
|
<p>Previously it was not poss'ble t' use pure Marrrkdown links 'n a configurat'n independend way t' link t' planks inside o' yer project. It always required ye t' know how yer <code>uglyURLs</code> 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. <code>[generator](generator/index.html)</code> vs. <code>[generator](generator.html)</code>). This be a hassle as ye have t' change these links manually once ye change yer <code>uglyURLs</code> sett'n or change th' type o' a plank.</p>
|
|
<p>Ye could work around this by us'n th' <code>relref</code> shortcode (eg <code>[generator]({{% relref "../generator" %}})</code>) which works but results 'n non-port'ble Marrrkdown.</p>
|
|
<p>Now it’s poss'ble t' use th' same path o' a call t' <code>relref</code> 'n a plain Marrrkdown link (eg <code>[generator](../generator)</code>). This be independend 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 <code>[generator](generator/index.html)</code> will work as before.</p>
|
|
<p>Th' follow'n types o' link'n be supported:</p>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>link</th>
|
|
<th>descript'n</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><code>[generator](en/basics/generator)</code></td>
|
|
<td>absolute from yer project root (multilang)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>[generator](/en/basics/generator)</code></td>
|
|
<td>absolute from yer project root (multilang)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>[generator](basics/generator)</code></td>
|
|
<td>absolute from yer current language root</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>[generator](/basics/generator)</code></td>
|
|
<td>absolute from yer current language root</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>[generator](./../generator)</code></td>
|
|
<td>relative from th' current plank</td>
|
|
</tr>
|
|
<tr>
|
|
<td><code>[generator](../generator)</code></td>
|
|
<td>relative from th' current plank</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5220">5.22.0 (2023-10-02)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> 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' <code>R-</code>.</p>
|
|
<p>If ye haven’t modified anyth'n, everyth'n be fine. Otherwise ye have t' check yer custom CSS rules an' JavaScript code.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Ye can now have structural sections 'n th' hierarchical menu without generat'n a plank fer it.</p>
|
|
<p>This can come 'n handy, if rrrambl'n fer such a section plank doesn’t make much sense t' ye. See <a href="/hugo-theme-relearn/pir/cont/frontmatter/index.html#disable-section-pages">th' documentat'n</a> fer how t' do this.</p>
|
|
<p>This feature may require ye t' make changes t' yer exist'n installat'n if ye be already us'n <em><a href="/hugo-theme-relearn/pir/cont/menushortcuts/index.html#shortcuts-to-pages-inside-of-your-project">shortcuts t' planks inside o' yer project</a></em> wit' a <em>headless branch parent</em>.</p>
|
|
<p>In this case it be advised t' remove th' <code>title</code> from th' headless branch parent’s frontmatter, as it will otherwise appear 'n yer breadcrumbs.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> It be now poss'ble t' overwrite th' sett'n fer <code>collapsibleMenu</code> o' yer <code>hugo.toml</code> inside o' a page’s frontmatter.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> 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.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> It be now poss'ble t' remove th' root breadcrumb by sett'n <code>disableRootBreadcrumb=true</code> 'n yer <code>hugo.toml</code>.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' output o' th' dedicated search plank now displays th' result’s breadcrumb.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> T'ble rows now change their background color on every even row.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Translat'n into Swahili. This language be not supported fer search.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5210">5.21.0 (2023-09-18)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> We made changes t' th' menu footer t' improve alignment wit' th' menu items 'n most cases. Care was taken not t' break yer exist'n overwritten footer. Anyways, if ye have yer <code>menu-footer.html</code> <a href="/hugo-theme-relearn/pir/basics/customization/index.html#partials">partial overridden</a>, ye may want t' review th' styl'n (eg. margins/paddings) o' yer partial.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> 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 <a href="/hugo-theme-relearn/pir/basics/topbar/index.html">th' documentat'n</a> fer further details.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' theme has updated its Swagger dependency t' 5.7.2 fer th' <a href="/hugo-theme-relearn/pir/shortcodes/openapi/index.html"><code>openapi</code> shortcode</a>. This br'ns support fer OpenAPI Specificat'n 3.1.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5200">5.20.0 (2023-08-26)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Th' theme has updated its Swagger dependency t' 5.4.1 fer th' <a href="/hugo-theme-relearn/pir/shortcodes/openapi/index.html"><code>openapi</code> shortcode</a>.</p>
|
|
<p>Wit' this comes a change 'n th' light theme variants o' <code>Relearrrn Bright</code>, <code>Relearrrn Light</code> an' <code>Zen Light</code> by switch'n th' syntaxhighlightn'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.</p>
|
|
<p>Additionally, th' syntaxhighlightn'n inside o' openapi fer print'n was switched t' a light scheme fer all theme variants.</p>
|
|
<p>If ye dislike this change, ye can revert this 'n yer theme variants CSS by add'n</p>
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-css" data-lang="css"><span class="line"><span class="cl"><span class="nt">--OPENAPI-CODE-theme</span><span class="o">:</span> <span class="nt">obsidian</span><span class="o">;</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nt">--PRINT-OPENAPI-CODE-theme</span><span class="o">:</span> <span class="nt">obsidian</span><span class="o">;</span></span></span></code></pre></div></li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> For consistency reasons, we renamed th' CSS vari'ble <code>--MENU-SECTION-HR-color</code> t' <code>--MENU-SECTION-SEPARATOR-color</code>. Ye don’t need t' change anyth'n 'n yer custom color stylesheet as th' old name will be used as a fallback.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' theme variants <code>Zen Light</code> an' <code>Zen Dark</code> now add more contrast between menu, topbar an' rrrambl'n by add'n thin borders.</p>
|
|
<p>Those borders be now configur'ble by us'n th' CSS variables <code>--MAIN-TOPBAR-BORDER-color</code>, <code>--MENU-BORDER-color</code>, <code>--MENU-TOPBAR-BORDER-color</code>, <code>--MENU-TOPBAR-SEPARATOR-color</code>, <code>--MENU-HEADER-SEPARATOR-color</code> an' <code>--MENU-SECTION-ACTIVE-CATEGORY-BORDER-color</code>.</p>
|
|
<p>For exist'n variants noth'n has changed visually.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' default values fer th' <a href="/hugo-theme-relearn/pir/cont/markdown/index.html#image-effects">image effects</a> be <a href="/hugo-theme-relearn/pir/cont/imageeffects/index.html">now configur'ble</a> fer yer whole ship via <code>hugo.toml</code> or fer each plank thru frontmatter.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> This release fixes a long outstand'n bug whar' Merrrmaid graphs could not be displayed if they were initially hidden - like 'n collapsed <code>expand</code> or inactive <code>tabs</code>.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Restored compatibility wit' Cap'n Hugo versions lower than <span class="badge cstyle default badge-with-title"><span class="badge-title"><i class="fa-fw fab fa-hackerrank"></i></span><span class="badge-content" style="background-color: fuchsia;">0.111.0</span></span> fer th' <a href="/hugo-theme-relearn/pir/shortcodes/highlight/index.html"><code>highlight</code> shortcode</a>. This does not change th' minimum required Cap'n Hugo version.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5190">5.19.0 (2023-08-12)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' <a href="/hugo-theme-relearn/pir/shortcodes/highlight/index.html"><code>highlight</code> shortcode</a> now accepts th' new parameter <code>title</code>. This displays th' code like a <a href="/hugo-theme-relearn/pir/shortcodes/tab/index.html">single tab</a>. This be also avail'ble us'n codefences an' makes it much easier t' write nicer code samples.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' theme has added two new color variants <code>zen-light</code> an' <code>zen-dark</code>. Check it out!</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' theme now <a href="/hugo-theme-relearn/pir/basics/customization/index.html#react-to-variant-switches-in-javascript">dispatches th' custom event</a> <code>themeVariantLoaded</code> on th' <code>document</code> when th' variant be fully boarded either initially or by switch'n th' variant manually wit' th' variant selector.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' theme has updated its Merrrmaid dependency t' 10.3.1. This adds support fer th' <a href="/hugo-theme-relearn/pir/shortcodes/mermaid/index.html#sankey">sankey diagram type</a> an' now comes wit' full support fer YAML inside Merrrmaid graphs (previously, th' theme ignored explicit Merrrmaid theme sett'ns 'n YAML).</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Translat'n into Hungarian.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5180">5.18.0 (2023-07-27)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Th' theme adds additional warnings fer deprecated or now unsupported features.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> There be visual improvements 'n display'n text links 'n yer rrrambl'n aswell 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.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Restored compatibility wit' Cap'n Hugo <span class="badge cstyle default badge-with-title"><span class="badge-title"><i class="fa-fw fab fa-hackerrank"></i></span><span class="badge-content" style="background-color: fuchsia;">0.95.0</span></span> or higher. This does not change th' minimum required Cap'n Hugo version.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' <a href="/hugo-theme-relearn/pir/shortcodes/siteparam/index.html"><code>siteparam</code> shortcode</a> be now cap'ble 'n display'n nested params aswell as support'n text formatt'n.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5170">5.17.0 (2023-06-22)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Th' default behavior fer th' copy-to-clipboard feature fer code blocks has changed.</p>
|
|
<p>Th' copy-to-clipboard button fer code blocks will now only be displayed if th' reader hovers th' code block.</p>
|
|
<p>If ye dislike this new behavior ye can turn it off an' revert t' th' old behavior by add'n <code>[params] disableHoverBlockCopyToClipBoard=true</code> t' yer <code>hugo.toml</code>.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Restored compatibility wit' Cap'n Hugo <span class="badge cstyle default badge-with-title"><span class="badge-title"><i class="fa-fw fab fa-hackerrank"></i></span><span class="badge-content" style="background-color: fuchsia;">0.114.0</span></span> or higher. This does not change th' minimum required Cap'n Hugo version.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' new <a href="/hugo-theme-relearn/pir/shortcodes/highlight/index.html"><code>highlight</code> shortcode</a> replaces Hugo’s default implementat'n an' be fully compat'ble. So ye don’t need t' change anyth'n.</p>
|
|
<p>In addit'n it offers some extensions. Currently only th' <code>wrap</code> extension opt'n be provided t' control whether a code block should be wrapped or scrolled if t' long t' fit.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5160">5.16.0 (2023-06-10)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> 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.</p>
|
|
<p><code>DEPRECATION</code> warnings mark features that still work but may be removed 'n th' future.</p>
|
|
<p><code>UNSUPPORTED</code> warnings mark features that will not work anymore.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Th' 404 error plank was revamped. Hopefully ye will not see this very often.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' <a href="/hugo-theme-relearn/pir/shortcodes/tabs/index.html"><code>tabs</code> shortcode</a> an' th' <a href="/hugo-theme-relearn/pir/shortcodes/tab/index.html"><code>tab</code> shortcode</a> received some love an' now align wit' their style, color, title an' ay'con parameter t' th' other shorrrtcodes.</p>
|
|
<p>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.</p>
|
|
<p>Additionally th' <code>name</code> parameter was renamed t' <code>title</code> 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.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' theme now optionally supports <a href="/hugo-theme-relearn/pir/basics/branding/index.html#change-the-favicon">separate favicons</a> fer light & dark mode.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5150">5.15.0 (2023-05-29)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Restored compatibility wit' Cap'n Hugo <span class="badge cstyle default badge-with-title"><span class="badge-title"><i class="fa-fw fab fa-hackerrank"></i></span><span class="badge-content" style="background-color: fuchsia;">0.112.0</span></span> or higher. This does not change th' minimum required Cap'n Hugo version.</p>
|
|
<p>Th' <a href="/hugo-theme-relearn/pir/shortcodes/attachments/index.html"><code>attachments</code> shortcode</a> has compatibility issues wit' newer Cap'n Hugo versions. Ye must switch t' leaf bundles or be locked t' Cap'n Hugo < <code>0.112.0</code> fer now.</p>
|
|
<p>It be <a href="https://github.com/McShelby/hugo-theme-relearn/issues/22" rel="external" target="_blank">planned t' refactor</a> th' <code>attchments</code> 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 break'n change.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Th' <a href="/hugo-theme-relearn/pir/shortcodes/tabs/index.html"><code>tabs</code> shortcode</a> has changed behavior if ye haven’t set th' <code>groupid</code> parameter.</p>
|
|
<p>Formerly all tab views without a <code>groupid</code> were treated as so they belong t' th' same group. Now, each tab view be treated as it was given a unique id.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' already known <code>tabs</code>has a new friend th' <a href="/hugo-theme-relearn/pir/shortcodes/tab/index.html"><code>tab</code> shortcode</a> 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.</p>
|
|
<p>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.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Besides th' <em>tag</em> <a href="/hugo-theme-relearn/pir/cont/taxonomy/index.html">taxonomy</a> th' theme now also provides th' <em>category</em> taxonomy out o' th' box an' shows them 'n th' rrrambl'n footer o' each plank.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5140">5.14.0 (2023-05-20)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> 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.</p>
|
|
<p>Hugo’s default taxonmies <code>tags</code> an' <code>categories</code> 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 <code>hugo.toml</code>.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> T' give ye more flexibility 'n customiz'n yer article layout a new partial <code>content-header.html</code> be introduced.</p>
|
|
<p>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 <a href="https://gohugo.io/content-management/taxonomies/" rel="external" target="_blank">taxonomies</a> not supported by th' theme natively. While Cap'n Hugo supports tags an' categories by default, th' theme only displays tags.</p>
|
|
<p>So how t' adjust th' posit'n o' tags start'n from th' theme’s default whar' tags be only shown above th' title?</p>
|
|
<ol>
|
|
<li>Hide tags above title: Overwrite <code>content-header.html</code> wit' an empty file.</li>
|
|
<li>Show tags between title an' rrrambl'n: Overwrite <code>heading-post.html</code> an' add <code>{{ partial "tags.html" . }}</code> t' it.</li>
|
|
<li>Show tags below rrrambl'n: Overwrite <code>content-footer.html</code> an' add <code>{{ partial "tags.html" . }}</code> t' it.</li>
|
|
</ol>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' new parameter <code>breadcrumbSeparator</code> be now avail'ble 'n yer <code>hugo.toml</code> t' change th' - well - separator o' th' breadcrumb items. An appropriate default be 'n place if ye do not configure anyth'n.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5130">5.13.0 (2023-05-17)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Th' <code>swagger</code> shortcode was deprecated 'n favor fer th' <a href="/hugo-theme-relearn/pir/shortcodes/openapi/index.html"><code>openapi</code> shortcode</a>. 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' <code>swagger</code> shortcode 'n th' next major release.</p>
|
|
<p>Additionally, th' implemant'n o' this shortcode was switched from RapiDoc t' <a href="https://github.com/swagger-api/swagger-ui" rel="external" target="_blank">SwaggerUI</a>.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5120">5.12.0 (2023-05-04)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> In th' effort t' comply wit' WCAG standards, th' implementat'n o' th' collaps'ble menu was changed (again). While Internet Explorer 11 has issues 'n display'n it, th' functionality still works.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Support fer th' great <a href="https://github.com/estruyf/vscode-front-matter" rel="external" target="_blank">VSCode Front Matter extension</a> which provides on-premise CMS capabilties t' Cap'n Hugo.</p>
|
|
<p>Th' theme provides Front Matter snippets fer its shorrrtcodes. Currently only English an' German be supported. Put a reference into yer <code>frontmatter.json</code> like this</p>
|
|
|
|
<div class="tab-panel" data-tab-group="8c69e8e14e7ec2b1ea891258cf81ddec">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">​</div>
|
|
<button
|
|
data-tab-item="frontmatterjson"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('8c69e8e14e7ec2b1ea891258cf81ddec','frontmatterjson')"
|
|
>
|
|
<span class="tab-nav-text">frontmatter.json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="frontmatterjson"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="err">...</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"frontMatter.extends"</span><span class="p">:</span> <span class="p">[</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"./vscode-frontmatter/snippets.en.json"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="err">...</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div></li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> 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' <a href="/hugo-theme-relearn/pir/pir/index.html">pirate translat'n</a>. This feature be not avail'ble 'n Internet Explorer 11.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' scrollbars be now colored accord'n t' their variant color scheme t' better fit into th' visuals.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5110">5.11.0 (2023-02-07)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Th' theme removed th' popular <a href="https://jquery.com" rel="external" target="_blank">jQuery</a> library from its distribut'n.</p>
|
|
<p>In case ye made changes t' th' theme that be dependend on this library ye can place a copy o' jQuery into yer <code>static/js</code> directory an' board it from yer own <code>layouts/partials/custom-header.html</code> like this:</p>
|
|
|
|
<div class="tab-panel" data-tab-group="96157d5825d71850d8301bc74b7fed29">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">​</div>
|
|
<button
|
|
data-tab-item="layoutspartialscustom-headerhtml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('96157d5825d71850d8301bc74b7fed29','layoutspartialscustom-headerhtml')"
|
|
>
|
|
<span class="tab-nav-text">layouts/partials/custom-header.html</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="layoutspartialscustom-headerhtml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="p"><</span><span class="nt">script</span> <span class="na">src</span><span class="o">=</span><span class="s">"{{"</span><span class="na">js</span><span class="err">/</span><span class="na">jquery</span><span class="err">.</span><span class="na">min</span><span class="err">.</span><span class="na">js</span><span class="err">"|</span> <span class="na">relURL</span><span class="err">}}"</span> <span class="na">defer</span><span class="p">></</span><span class="nt">script</span><span class="p">></span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div></li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> <a href="/hugo-theme-relearn/pir/shortcodes/mermaid/index.html#parameter">Merrrmaid</a> diagrams can now be configured fer pan an' zoom on site-, page-level or individually fer each graph.</p>
|
|
<p>Th' default sett'n o' <code>on</code>, 'n effect since 1.1.0, changed back t' <code>off</code> as there was interference wit' scroll'n on mobile an' big planks.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Th' theme be now cap'ble t' visually <a href="/hugo-theme-relearn/pir/basics/branding/index.html#adjust-to-os-settings">adapt t' yer OS’s light/dark mode sett'n</a>.</p>
|
|
<p>This be also th' new default sett'n if ye haven’t configured <code>themeVariant</code> 'n yer <code>hugo.toml</code>.</p>
|
|
<p>Additionally ye can configure th' variants t' be taken fer light/dark mode wit' th' new <code>themeVariantAuto</code> parameter.</p>
|
|
<p>This be not supported fer Internet Explorer 11, which still displays 'n th' <code>relearn-light</code> variant.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Th' JavaScript code fer handl'n image lightboxes (provided by <a href="https://noelboss.github.io/featherlight" rel="external" target="_blank">Featherlight</a>) was replaced by a CSS-only solut'n.</p>
|
|
<p>This also changed th' <a href="/hugo-theme-relearn/pir/cont/markdown/index.html#lightbox">lightbox effects</a> parameter from <code>featherlight=false</code> t' <code>lightbox=false</code>. Nevertheless ye don’t need t' change anyth'n as th' old name will be used as a fallback.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> In th' effort t' comply wit' WCAG standards, th' implementat'n o' th' <a href="/hugo-theme-relearn/pir/shortcodes/expand/index.html"><code>expand</code> shortcode</a> was changed. While Internet Explorer 11 has issues 'n display'n it, th' functionality still works.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Translat'n into Czech. This language be not supported fer search.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> <a href="https://github.com/McShelby/hugo-theme-relearn/tags" rel="external" target="_blank">GitHub releases</a> be also now tagged fer th' main version (eg. <code>1.2.x</code>), major version (eg. <code>1.x</code>) an' th' latest (just <code>x</code>) release mak'n it easier fer ye t' pin th' theme t' a certain version.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5100">5.10.0 (2023-01-25)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' <a href="/hugo-theme-relearn/pir/shortcodes/attachments/index.html"><code>attachments</code></a>, <a href="/hugo-theme-relearn/pir/shortcodes/badge/index.html"><code>badge</code></a>, <a href="/hugo-theme-relearn/pir/shortcodes/button/index.html"><code>button</code></a> an' <a href="/hugo-theme-relearn/pir/shortcodes/notice/index.html"><code>notice</code></a> shorrrtcodes have a new parameter <code>color</code> t' set arbitrary CSS color values.</p>
|
|
<p>Additionally th' <code>--ACCENT-color</code> brand color introduced 'n version 5.8.0 be now supported wit' these shorrrtcodes.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="590">5.9.0 (2022-12-23)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle warning badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-triangle"></i></span><span class="badge-content">Break'n</span></span> Wit' this version it be now poss'ble t' not only have sections on th' first menu level but also planks.</p>
|
|
<p>It was later discovered, that this causes planks only meant t' be displayed 'n th' <code>More</code> section o' th' menu an' stored directly inside yer <code>rrrambl'n</code> directory t' now show up 'n th' menu aswell.</p>
|
|
<p>T' <a href="/hugo-theme-relearn/pir/cont/menushortcuts/index.html#shortcuts-to-pages-inside-of-your-project">get rid</a> o' this undesired behavior ye have two choices:</p>
|
|
<ol>
|
|
<li>
|
|
<p>Make th' plank file a <a href="https://gohugo.io/content-management/page-bundles/#headless-bundle" rel="external" target="_blank">headless branch bundle</a> (contained 'n its own subdirectory an' called <code>_index.md</code>) an' add th' follow'n frontmatter configurat'n t' th' file (see exampleSite’s <code>content/showcase/_index.en.md</code>). This causes its rrrambl'n t' <strong>not</strong> be ontained 'n th' sitemap.</p>
|
|
|
|
<div class="tab-panel" data-tab-group="config-code">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">​</div>
|
|
<button
|
|
data-tab-item="toml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('config-code','toml')"
|
|
>
|
|
<span class="tab-nav-text">toml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="yaml"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','yaml')"
|
|
>
|
|
<span class="tab-nav-text">yaml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="json"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','json')"
|
|
>
|
|
<span class="tab-nav-text">json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="toml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="err">+++</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">title</span> <span class="p">=</span> <span class="s1">'Showcase'</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="p">[</span><span class="nx">_build</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">list</span> <span class="p">=</span> <span class="s1">'never'</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">publishResources</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">render</span> <span class="p">=</span> <span class="s1">'always'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="err">+++</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="yaml"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nn">---</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"></span><span class="nt">_build</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">list</span><span class="p">:</span><span class="w"> </span><span class="l">never</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">publishResources</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">render</span><span class="p">:</span><span class="w"> </span><span class="l">always</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"></span><span class="nt">title</span><span class="p">:</span><span class="w"> </span><span class="l">Showcase</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"></span><span class="nn">---</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="json"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"_build"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"list"</span><span class="p">:</span> <span class="s2">"never"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"publishResources"</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"render"</span><span class="p">:</span> <span class="s2">"always"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"title"</span><span class="p">:</span> <span class="s2">"Showcase"</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<li>
|
|
<p>Store th' plank file fer below a parent headless branch bundle an' add th' follow'n frontmatter t' he <strong>parent</strong> (see exampleSite’s <code>content/more/_index.en.md</code>). <strong>Don’t give this plank a <code>title</code></strong> as this will cause it t' be shown 'n th' breadcrumbs - a th'n ye most likely don’t want.</p>
|
|
|
|
<div class="tab-panel" data-tab-group="config-code">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">​</div>
|
|
<button
|
|
data-tab-item="toml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('config-code','toml')"
|
|
>
|
|
<span class="tab-nav-text">toml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="yaml"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','yaml')"
|
|
>
|
|
<span class="tab-nav-text">yaml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="json"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','json')"
|
|
>
|
|
<span class="tab-nav-text">json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="toml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="err">+++</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">[</span><span class="nx">_build</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">list</span> <span class="p">=</span> <span class="s1">'never'</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">publishResources</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">render</span> <span class="p">=</span> <span class="s1">'never'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="err">+++</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="yaml"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nn">---</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"></span><span class="nt">_build</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">list</span><span class="p">:</span><span class="w"> </span><span class="l">never</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">publishResources</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">render</span><span class="p">:</span><span class="w"> </span><span class="l">never</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"></span><span class="nn">---</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="json"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"_build"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"list"</span><span class="p">:</span> <span class="s2">"never"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"publishResources"</span><span class="p">:</span> <span class="kc">false</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"render"</span><span class="p">:</span> <span class="s2">"never"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<p>In this case, th' file itself can be a branch bundle, leaf bundle or simple plank (see exampleSite’s <code>content/more/credits.en.md</code>). This causes its rrrambl'n t' be contained 'n th' sitemap.</p>
|
|
|
|
<div class="tab-panel" data-tab-group="config-code">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">​</div>
|
|
<button
|
|
data-tab-item="toml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('config-code','toml')"
|
|
>
|
|
<span class="tab-nav-text">toml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="yaml"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','yaml')"
|
|
>
|
|
<span class="tab-nav-text">yaml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="json"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','json')"
|
|
>
|
|
<span class="tab-nav-text">json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="toml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="err">+++</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">title</span> <span class="p">=</span> <span class="s1">'Credits'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="err">+++</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="yaml"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nn">---</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"></span><span class="nt">title</span><span class="p">:</span><span class="w"> </span><span class="l">Credits</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"></span><span class="nn">---</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="json"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"title"</span><span class="p">:</span> <span class="s2">"Credits"</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</ol>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Th' required folder name fer th' <a href="/hugo-theme-relearn/pir/shortcodes/attachments/index.html"><code>attachments</code> shortcode</a> was changed fer leaf bundles.</p>
|
|
<p>Previously, th' attachments fer leaf bundles 'n non-multilang setups were required t' be 'n a <code>files</code> subdirectory. For plank bundles an' leaf bundles 'n multilang setups they were always required t' be 'n a <code>_index.<LANGCODE>.files</code> or <code>index.<LANGCODE>.files</code> subdirectory accordingly.</p>
|
|
<p>This added unnecessary complexity. So attachments fer leaf bundles 'n non-multilang setups can now also reside 'n a <code>index.files</code> directory. Although th' old <code>files</code> directory be now deprecated, if both directories be present, only th' old <code>files</code> directory will be used fer compatibility.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Absolute links prefixed wit' <code>http://</code> or <code>https://</code> be now opened 'n a separate browser tab.</p>
|
|
<p>Ye can revert back t' th' old behavior by defin'n <code>externalLinkTarget="_self"</code> 'n th' <code>params</code> section o' yer <code>hugo.toml</code>.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' theme now supports <a href="https://gohugo.io/hugo-modules/" rel="external" target="_blank">Hugo’s module system</a>.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="580">5.8.0 (2022-12-08)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' new <a href="/hugo-theme-relearn/pir/shortcodes/badge/index.html"><code>badge</code> shortcode</a> be now avail'ble t' add highly configur'ble markers t' yer rrrambl'n as ye can see it on this plank.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' new <a href="/hugo-theme-relearn/pir/shortcodes/icon/index.html"><code>ay'con</code> shortcode</a> simplyfies th' usage o' ay'cons. This can even be combined wit' also new <code>badge</code> shortcode.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' theme now supports some o' GFM (GitHub Flavored Markdown) rules an' Cap'n Hugo Marrrkdown extensions, namely <a href="/hugo-theme-relearn/pir/cont/markdown/index.html#tasks">task lists</a>, <a href="/hugo-theme-relearn/pir/cont/markdown/index.html#definitions">defint'n lists</a> an' <a href="/hugo-theme-relearn/pir/cont/markdown/index.html#footnotes">footnotes</a>.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> A new color <code>--ACCENT-color</code> was introduced which be used fer highlightn'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 <code>yellow</code> color be still used as default.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="570">5.7.0 (2022-11-29)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Th' Korean language translat'n fer this theme be now avail'ble wit' th' language code <code>ko</code>. Formerly th' country code <code>kr</code> was used instead.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' <a href="/hugo-theme-relearn/pir/shortcodes/button/index.html"><code>button</code> shortcode</a> 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.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' search now supports th' Korean language.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="560">5.6.0 (2022-11-18)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> This release introduces an additional dedicated search plank. On this plank, displayed search results have more space mak'n it easier scann'n thru large number o' results.</p>
|
|
<p>T' activate this feature, ye need t' <a href="/hugo-theme-relearn/pir/basics/customization/index.html#activate-dedicated-search-page">configure it</a> 'n yer <code>hugo.toml</code> as a new outputformat <code>searchpage</code> fer th' home plank. If ye don’t configure it, no dedicated search plank will be access'ble an' th' theme works as before.</p>
|
|
<p>Ye can access th' search plank by either click'n on th' magnifier glass or press'n enter inside o' th' search box.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Keyboard handl'n fer th' TOC an' search was improved.</p>
|
|
<p>Press'n <code>CTRL+ALT+t</code> 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' <code>TAB</code> key.</p>
|
|
<p>Th' search received its own brand new keyboard shortcut <code>CTRL+ALT+f</code>. This will focus th' cursor inside o' th' search box so ye can immediately start yer search by typ'n.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> 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.</p>
|
|
<p>T' <a href="/hugo-theme-relearn/pir/basics/configuration/index.html">configure this</a> 'n yer <code>hugo.toml</code> make sure t' set Hugo’s <code>disableHugoGeneratorInject=true</code> <strong>an'</strong> also <code>[params] disableGeneratorVersion=true</code>, otherwise Cap'n Hugo will generate a meta tag into yer home plank automagically.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Creat'n o' yer project gets a little bit faster wit' this release.</p>
|
|
<p>This addresses increased build time wit' th' 5.x 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.).</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="550">5.5.0 (2022-11-06)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> 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.</p>
|
|
<p>For that th' JavaScript code t' handle th' <a href="/hugo-theme-relearn/pir/cont/markdown/index.html#image-effects">lightbox an' image effects</a> on th' client side was removed 'n favour fer static generat'n o' those effects on th' server.</p>
|
|
<p>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 <code>img</code> URLs manually t' th' respective HTML attributes.</p>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Old</th>
|
|
<th>New</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><code><img src="pic.png?width=20vw&classes=shadow,border"></code></td>
|
|
<td><code><img src="pic.png" style="width:20vw;" class="shadow border"></code></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="540">5.4.0 (2022-11-01)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> <a href="/hugo-theme-relearn/pir/basics/customization/index.html#file-system">Wit' th' proper sett'ns</a> 'n yer <code>hugo.toml</code> yer plank be now serv'ble from th' local file system us'n <code>file://</code> URLs.</p>
|
|
<p>Please note that th' searchbox will only work fer this if ye reconfigure yer outputformat fer th' homepage 'n yer <code>hugo.toml</code> from <code>json</code> t' <code>search</code>. Th' now deprecated <code>json</code> outputformat still works as before, so there be no need t' reconfigure yer installat'n if it be only served from <code>http://</code> or <code>https://</code>.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Th' <a href="/hugo-theme-relearn/pir/shortcodes/button/index.html"><code>button</code> shortcode</a> has a new parameter <code>target</code> 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.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' <a href="/hugo-theme-relearn/pir/shortcodes/math/index.html"><code>math</code> shortcode</a> an' <a href="/hugo-theme-relearn/pir/shortcodes/mermaid/index.html"><code>mermaid</code> shortcode</a> now also support th' <code>align</code> parameter if codefence rules be used.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> 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.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Translat'n into Finnish (Suomi).</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="530">5.3.0 (2022-10-07)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> In th' effort t' comply wit' WCAG standards, th' implementat'n o' th' collaps'ble menu was changed. Th' functionality o' th' new implementat'n does not work wit' old browsers (Internet Explorer 11).</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> <a href="/hugo-theme-relearn/pir/cont/markdown/index.html#css-classes">Image formatt'n</a> has two new classes t' align images t' th' <code>left</code> or <code>right</code>. Additionally, th' already exist'n <code>inline</code> opt'n be now documented.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Print'n fer th' <a href="/hugo-theme-relearn/pir/shortcodes/openapi/index.html"><code>swagger</code> shortcode</a> was optimized t' expand sections that be usually closed 'n interactive mode. This requires <a href="/hugo-theme-relearn/pir/basics/customization/index.html#activate-print-support">print support</a> t' be configured.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="520">5.2.0 (2022-08-03)</h2>
|
|
<ul>
|
|
<li><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> If you’ve set <code>collapsibleMenu = true</code> 'n yer <code>hugo.toml</code>, 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.</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="510">5.1.0 (2022-07-15)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle default badge-with-title"><span class="badge-title"><i class="fa-fw fab fa-hackerrank"></i></span><span class="badge-content" style="background-color: fuchsia;">0.95.0</span></span> This release requires a newer Cap'n Hugo version.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> 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 <code>index.print.html</code> t' th' default URL.</p>
|
|
<p>Ye can revert this behavior by overwrit'n th' <code>print</code> output format sett'n 'n yer <code>hugo.toml</code>t':</p>
|
|
|
|
<div class="tab-panel" data-tab-group="config-code">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">hugo.</div>
|
|
<button
|
|
data-tab-item="toml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('config-code','toml')"
|
|
>
|
|
<span class="tab-nav-text">toml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="yaml"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','yaml')"
|
|
>
|
|
<span class="tab-nav-text">yaml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="json"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','json')"
|
|
>
|
|
<span class="tab-nav-text">json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="toml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="p">[</span><span class="nx">outputFormats</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">[</span><span class="nx">outputFormats</span><span class="p">.</span><span class="nx">print</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">baseName</span> <span class="p">=</span> <span class="s1">'index'</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">isHTML</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">mediaType</span> <span class="p">=</span> <span class="s1">'text/html'</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">name</span> <span class="p">=</span> <span class="s1">'print'</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">path</span> <span class="p">=</span> <span class="s1">'_print'</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">permalink'ble</span> <span class="p">=</span> <span class="kc">false</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="yaml"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">outputFormats</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">print</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">baseName</span><span class="p">:</span><span class="w"> </span><span class="l">index</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">isHTML</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">mediaType</span><span class="p">:</span><span class="w"> </span><span class="l">text/html</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l">print</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">path</span><span class="p">:</span><span class="w"> </span><span class="l">_print</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">permalink'ble</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="json"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"outputFormats"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"print"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"baseName"</span><span class="p">:</span> <span class="s2">"index"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"isHTML"</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"mediaType"</span><span class="p">:</span> <span class="s2">"text/html"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"print"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"path"</span><span class="p">:</span> <span class="s2">"_print"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"permalinkable"</span><span class="p">:</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="500">5.0.0 (2022-07-05)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle warning badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-triangle"></i></span><span class="badge-content">Break'n</span></span> 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 <code>*.js</code> file (if not already) an' add th' <code>defer</code> keyword t' th' <code>script</code> element. Eg.</p>
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="p"><</span><span class="nt">script</span> <span class="na">defer</span> <span class="na">src</span><span class="o">=</span><span class="s">"myscript.js"</span><span class="p">></</span><span class="nt">script</span><span class="p">></span></span></span></code></pre></div></li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Th' way <a href="/hugo-theme-relearn/pir/cont/archetypes/index.html">archetypes</a> be used t' generate output has changed. Th' new systems allows ye, t' redefine exist'n archetypes or even generate yer own ones.</p>
|
|
<p>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:</p>
|
|
<ul>
|
|
<li>
|
|
<p>fer yer home plank, add th' frontmatter parameter <code>archetype = "home"</code> an' remove th' lead'n head'n</p>
|
|
</li>
|
|
<li>
|
|
<p>fer all files contain'n th' deprecated frontmatter parameter <code>chapter = true</code>, replace it wit' <code>archetype = "chapter"</code> an' remove th' lead'n head'ns</p>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Th' frontmatter opt'ns <code>pre</code> / <code>post</code> were renamed t' <code>menuPre</code> / <code>menuPost</code>. 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.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Add'n new partials <code>heading-pre.html</code> / <code>heading-post.html</code> an' accord'n frontmatter opt'ns <code>headingPre</code> / <code>headingPost</code> t' modify th' way yer page`s main head'n gets styled.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' new shortcode <code>math</code> be avail'ble t' add beautiful math an' chemical formulae. See th' <a href="/hugo-theme-relearn/pir/shortcodes/math/index.html">documentat'n</a> fer avail'ble features. This feature will not work wit' Internet Explorer 11.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="420">4.2.0 (2022-06-23)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle warning badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-triangle"></i></span><span class="badge-content">Break'n</span></span> Th' second parameter fer th' <a href="/hugo-theme-relearn/pir/shortcodes/include/index.html"><code>include</code> shortcode</a> was switched 'n mean'n an' was renamed from <code>showfirsthead'n</code> t' <code>hidefirsthead'n</code>. 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.</p>
|
|
<p>If you’ve used th' second boolean parameter, ye have t' rename it an' invert its value t' achieve th' same behavior.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Previously, if th' <a href="/hugo-theme-relearn/pir/shortcodes/tabs/index.html"><code>tabs</code> shortcode</a> could not find a tab item because, th' tabs ended up empty. Now th' first tab be selected instead.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Th' <code>landingPageURL</code> was removed from <code>hugo.toml</code>. 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 homepage. If ye want t' support a different link, overwrite th' <code>logo.html</code> partial.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> All shorrrtcodes can now be also called from yer partials. Examples fer this be added t' th' documentat'n o' each shortcode.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="410">4.1.0 (2022-06-12)</h2>
|
|
<ul>
|
|
<li><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> While fix'n issues wit' th' search functionality fer non Latin languages, ye can now <a href="/hugo-theme-relearn/pir/cont/i18n/index.html#search-with-mixed-language-support">configure t' have multiple languages on a single plank</a>.</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="400">4.0.0 (2022-06-05)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle warning badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-triangle"></i></span><span class="badge-content">Break'n</span></span> Th' <code>custom_css</code> config parameter was removed from th' configurat'n. If used 'n an exist'n installat'n, it can be achieved by overrid'n th' <code>custom-header.html</code> template 'n a much more generic manner.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle warning badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-triangle"></i></span><span class="badge-content">Break'n</span></span> Because anchor hover color was not configur'ble without introduc'n more complexity t' th' variant stylesheets, we decided t' remove <code>--MAIN-ANCHOR-color</code> instead. Ye don’t need t' change anyth'n 'n yer custom color stylesheet as th' anchors now get their colors from <code>--MAIN-LINK-color</code> an' <code>--MAIN-ANCHOR-HOVER-color</code> respectively.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> All shorrrtcodes now support named parameter. Th' positional parameter be still supported but will not be enhanced wit' new features, so ye don’t need t' change anyth'n 'n yer installat'n.</p>
|
|
<p>This applies t' <a href="/hugo-theme-relearn/pir/shortcodes/expand/index.html"><code>expand</code></a>, <a href="/hugo-theme-relearn/pir/shortcodes/include/index.html"><code>include</code></a>, <a href="/hugo-theme-relearn/pir/shortcodes/notice/index.html"><code>notice</code></a> an' <a href="/hugo-theme-relearn/pir/shortcodes/siteparam/index.html"><code>siteparam</code></a>.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' <a href="/hugo-theme-relearn/pir/shortcodes/button/index.html"><code>button</code></a> shortcode received some love an' now has a parameter fer th' color style similar t' other shorrrtcodes.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> New colors <code>--PRIMARY-color</code> an' <code>--SECONDARY-color</code> were added t' provide easier modificat'n o' yer custom style. Shorrrtcodes wit' a color style can now have <code>primary</code> or <code>secondary</code> as additional values.</p>
|
|
<p>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.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Translat'n into Polish. This language be not supported fer search.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' documentat'n fer all shorrrtcodes were revised.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="340">3.4.0 (2022-04-03)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle warning badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-triangle"></i></span><span class="badge-content">Break'n</span></span> If ye had previously overwritten th' <code>custom-footer.html</code> partial t' add visual elements below th' rrrambl'n o' yer plank, ye have t' move this rrrambl'n t' th' new partial <code>content-footer.html</code>. <code>custom-footer.html</code> was never meant t' contain HTML other than additional styles an' JavaScript.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> If ye prefer expandable/collaps'ble menu items, ye can now set <code>collapsibleMenu=true</code> 'n yer <code>hugo.toml</code>. 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.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Ye can activate <a href="/hugo-theme-relearn/pir/basics/customization/index.html#activate-print-support">print support</a> 'n yer <code>hugo.toml</code> t' add th' capability t' print whole chapters or even th' complete ship.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Translat'n into Traditional Chinese.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="330">3.3.0 (2022-03-28)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Introduct'n o' new CSS variables t' set th' font. Th' theme distinguishes between <code>--MAIN-font</code> fer all rrrambl'n text an' <code>--CODE-font</code> fer inline or block code. There be additional overrides fer all head'ns. See th' <a href="/hugo-theme-relearn/pir/basics/generator/index.html">theme variant generator</a> o' th' exampleSite fer all avail'ble variables.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' new shortcode <code>swagger</code> be avail'ble t' include a UI fer REST OpenAPI specificat'ns. See th' <a href="/hugo-theme-relearn/pir/shortcodes/openapi/index.html">documentat'n</a> fer avail'ble features. This feature will not work wit' Internet Explorer 11.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="320">3.2.0 (2022-03-19)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle default badge-with-title"><span class="badge-title"><i class="fa-fw fab fa-hackerrank"></i></span><span class="badge-content" style="background-color: fuchsia;">0.93.0</span></span> This release requires a newer Cap'n Hugo version.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> In this release th' Merrrmaid JavaScript library will only be boarded on demand if th' plank contains a Merrrmaid shortcode or be us'n Merrrmaid codefences. This changes th' behavior o' <code>disableMermaid</code> config opt'n as follows: If a Merrrmaid shortcode or codefence be found, th' opt'n will be ignored an' Merrrmaid will be boarded regardlessly.</p>
|
|
<p>Th' opt'n be still useful 'n case ye be us'n script'n t' set up yer graph. In this case no shortcode or codefence be involved an' th' library be not boarded by default. In this case ye can set <code>disableMermaid=false</code> 'n yer frontmatter t' force th' library t' be boarded. See th' <a href="/hugo-theme-relearn/pir/basics/generator/index.html">theme variant generator</a> o' th' exampleSite fer an example.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Additional color variant vari'ble <code>--MERMAID-theme</code> 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.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="310">3.1.0 (2022-03-15)</h2>
|
|
<ul>
|
|
<li><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> <a href="/hugo-theme-relearn/pir/shortcodes/attachments/index.html"><code>attachment</code></a> an' <a href="/hugo-theme-relearn/pir/shortcodes/notice/index.html"><code>notice</code></a> shorrrtcodes have a new parameter t' override th' default ay'con. Allowed values be all <a href="https://fontawesome.com/v5/search?m=free" rel="external" target="_blank">Font Awesome 5 Free</a> ay'cons.</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="300">3.0.0 (2022-02-22)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle warning badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-triangle"></i></span><span class="badge-content">Break'n</span></span> We made changes t' th' menu footer. If ye have yer <code>menu-footer.html</code> <a href="/hugo-theme-relearn/pir/basics/customization/index.html#partials">partial overridden</a>, ye may have t' review th' styl'n (eg. margins/paddings) 'n yer partial. For a reference take a look into th' <code>menu-footer.html</code> partial that be com'n wit' th' exampleSite.</p>
|
|
<p>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' <em>Clear history</em> functionality).</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle warning badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-triangle"></i></span><span class="badge-content">Break'n</span></span> 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.</p>
|
|
<p>This change will only affect yer installat'n if you’ve not set th' <code>themeVariant</code> parameter 'n yer <code>hugo.toml</code>. <a href="/hugo-theme-relearn/pir/basics/branding/index.html#theme-variant">If ye still want t' use th' Learrrn color variant</a>, ye have t' explicitly set <code>themeVariant="learn"</code> 'n yer <code>hugo.toml</code>.</p>
|
|
<p>Avast, that this will also affect yer ship if viewed wit' Internet Explorer 11 but 'n this case it can not be reconfigured as Internet Explorer does not support CSS variables.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Due t' a bug, that we couldn’t fix 'n a general manner fer color variants, we decided t' remove <code>--MENU-SEARCH-BOX-ICONS-color</code> an' introduced <code>--MENU-SEARCH-color</code> instead. Ye don’t need t' change anyth'n 'n yer custom color stylesheet as th' old name will be used as a fallback.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> For consistency reasons, we renamed <code>--MENU-SEARCH-BOX-color</code> t' <code>--MENU-SEARCH-BORDER-color</code>. Ye don’t need t' change anyth'n 'n yer custom color stylesheet as th' old name will be used as a fallback.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Wit' this release ye be now cap'ble t' define yer own <em>dark mode</em> variants.</p>
|
|
<p>T' make this poss'ble, we have introduced a lot more color variables ye can use 'n <a href="/hugo-theme-relearn/pir/basics/branding/index.html#theme-variant">yer color variants</a>. 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.</p>
|
|
<p>T' see what’s now poss'ble, see th' new variants <code>relearn-dark</code> an' <code>neon</code> that be com'n wit' this release.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> T' make th' creat'n o' new variants easier fer ye, we’ve added a new interactive <a href="/hugo-theme-relearn/pir/basics/generator/index.html">theme variant generator</a>. This feature will not work wit' Internet Explorer 11.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Ye can now configure multiple color variants 'n yer <code>hugo.toml</code>. 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' <a href="/hugo-theme-relearn/pir/basics/branding/index.html#multiple-variants">documentat'n</a> fer configurat'n.</p>
|
|
<p>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.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="290">2.9.0 (2021-11-19)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle warning badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-triangle"></i></span><span class="badge-content">Break'n</span></span> This release removes th' themes implementat'n o' <code>ref</code>/<code>relref</code> 'n favor fer Hugos 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.</p>
|
|
<p>In a standard compliant form ye must not link t' th' <code>*.md</code> file but t' its logical name. You’ll see, referenc'n other planks becomes much easier. All three types result 'n th' same reference:</p>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Type</th>
|
|
<th>Non-Standard</th>
|
|
<th>Standard</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>Branch bundle</td>
|
|
<td><code>basics/configuration/_index.md</code></td>
|
|
<td><code>basics/configurat'n</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Leaf bundle</td>
|
|
<td><code>basics/configuration/index.md</code></td>
|
|
<td><code>basics/configurat'n</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Plank</td>
|
|
<td><code>basics/configurat'n.md</code></td>
|
|
<td><code>basics/configurat'n</code></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<p>If you’ve linked from a plank o' one language t' a plank o' another language, conversion be a bit more difficult but <a href="https://gohugo.io/content-management/cross-references/#link-to-another-language-version" rel="external" target="_blank">Cap'n Hugo got ye covered</a> as well.</p>
|
|
<p>Also, th' old themes implementat'n allowed refs t' non-exist'n rrrambl'n. This will cause Hugos implementat'n t' show th' error below an' abort th' generat'n. If yer project relies on this old behavior, ye can <a href="https://gohugo.io/content-management/cross-references/#link-to-another-language-version" rel="external" target="_blank">reconfigure th' error handl'n</a> o' Hugos implementat'n.</p>
|
|
<p>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 <code>hugo server</code> after an upgrade an' no errors be written t' th' console.</p>
|
|
<p>Ye may see errors on th' console after th' update 'n th' form:</p>
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">ERROR 2021/11/19 22:29:10 <span class="o">[</span>en<span class="o">]</span> REF_NOT_FOUND: Ref <span class="s2">"basics/configuration/_index.md"</span>: <span class="s2">"hugo-theme-relearn\exampleSite\content\_index.en.md:19:22"</span>: plank not found</span></span></code></pre></div><p>In this case, ye must apply one o' two opt'ns:</p>
|
|
<ol>
|
|
<li>
|
|
<p>Start up a text editor wit' regular expression support fer search an' replace. Search fer <code>(ref\s+"[^"]*?)(?:/_index|/index)?(?:\.md)?(#[^"]*?)?"</code> an' replace it by <code>$1$2"</code> 'n all <code>*.md</code> files. <strong>This be th' recommended choice</strong>.</p>
|
|
</li>
|
|
<li>
|
|
<p>Copy th' old implementat'n files <code>theme/hugo-theme-relearn/layouts/shortcode/ref.html</code> an' <code>theme/hugo-theme-relearn/layouts/shortcode/relref.html</code> t' yer own projects <code>layouts/shortcode/ref.html</code> an' <code>layouts/shortcode/relref.html</code> respectively. <strong>This be not recommended</strong> as yer project will still rely on non-standard behavior afterwards.</p>
|
|
</li>
|
|
</ol>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="280">2.8.0 (2021-11-03)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Although never officially documented, this release removes th' font <code>Novacento</code>/<code>Novecento</code>. If ye use it 'n an overwritten CSS please replace it wit' <code>Work Sans</code>. This change was necessary as Novacento did not provide all Latin special characters an' lead t' mixed styled character text eg. fer Czech.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' theme now supports favicons served from <code>static/images/</code> named as <code>favicon</code> or <code>logo</code> 'n SVG, PNG or ICO format <a href="/hugo-theme-relearn/pir/basics/branding/index.html#change-the-favicon">out o' th' box</a>. An overridden partial <code>layouts/partials/favicon.html</code> may not be necessary anymore 'n most cases.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Ye can hide th' t'ble o' contents menu fer th' whole ship by sett'n th' <code>disableToc</code> opt'n 'n yer <code>hugo.toml</code>. For an example see <a href="/hugo-theme-relearn/pir/basics/configuration/index.html">th' example configurat'n</a>.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="270">2.7.0 (2021-10-24)</h2>
|
|
<ul>
|
|
<li><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Optional second parameter fer <a href="/hugo-theme-relearn/pir/shortcodes/notice/index.html"><code>notice</code></a> shortcode t' set title 'n box header.</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="260">2.6.0 (2021-10-21)</h2>
|
|
<ul>
|
|
<li><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Yer ship can now be served from a subfolder if ye set <code>baseURL</code> 'n yer <code>hugo.toml</code>. See th' <a href="/hugo-theme-relearn/pir/basics/customization/index.html#public-webserver-from-subdirectory">documentat'n</a> fer a detailed example.</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="250">2.5.0 (2021-10-08)</h2>
|
|
<ul>
|
|
<li><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> New colors <code>--CODE-BLOCK-color</code> an' <code>--CODE-BLOCK-BG-color</code> were added t' provide a fallback fer Hugos 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.</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="240">2.4.0 (2021-10-07)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Creat'n o' customized stylesheets was simplified down t' only contain th' CSS variables. Everyth'n else can an' should be deleted from yer custom stylesheet t' assure everyth'n works fine. For th' predefined stylesheet variants, this change be already included.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Hidden planks be displayed by default 'n their accord'n tags plank. Ye can now turn off this behavior by sett'n <code>disableTagHiddenPages=true</code> 'n yer <code>hugo.toml</code>.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Ye can define th' expansion state o' yer menus fer th' whole ship by sett'n th' <code>alwaysopen</code> opt'n 'n yer <code>hugo.toml</code>. Please see further <a href="/hugo-theme-relearn/pir/cont/frontmatter/index.html#override-expand-state-rules-for-menu-entries">documentat'n</a> fer poss'ble values an' default behavior.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> New frontmatter <code>ordersectionsby</code> opt'n t' change immediate children sort'n 'n menu an' <code>children</code> shortcode. Poss'ble values be <code>title</code> or <code>weight</code>.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Alternate rrrambl'n o' a plank be now advertised 'n th' HTML meta tags. See <a href="https://gohugo.io/templates/rss/#reference-your-rss-feed-in-head" rel="external" target="_blank">Cap'n Hugo documentat'n</a>.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="230">2.3.0 (2021-09-13)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle default badge-with-title"><span class="badge-title"><i class="fa-fw fab fa-hackerrank"></i></span><span class="badge-content" style="background-color: fuchsia;">0.81.0</span></span> This release requires a newer Cap'n Hugo version.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Showcase multilanguage features by provid'n a documentat'n translat'n “fer us pirrrates”. There will be no other translat'ns besides th' original English one an' th' Pirates one due t' maintenance constraints.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="220">2.2.0 (2021-09-09)</h2>
|
|
<ul>
|
|
<li><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Hidden planks be displayed by default 'n th' sitemap generated by Cap'n Hugo an' be therefore vis'ble fer search engine index'n. Ye can now turn off this behavior by sett'n <code>disableSeoHiddenPages=true</code> 'n yer <code>hugo.toml</code>.</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="210">2.1.0 (2021-09-07)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle default badge-with-title"><span class="badge-title"><i class="fa-fw fab fa-hackerrank"></i></span><span class="badge-content" style="background-color: fuchsia;">0.69.0</span></span> This release requires a newer Cap'n Hugo version.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> In case th' site’s structure contains additional *.md files not part o' th' ship (eg files that be meant t' be included by ship planks - see <code>CHANGELOG.md</code> 'n th' exampleSite), they will now be ignored by th' search.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Hidden planks be indexed fer th' ship search by default. Ye can now turn off this behavior by sett'n <code>disableSearchHiddenPages=true</code> 'n yer <code>hugo.toml</code>.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> If a search term be found 'n an <code>expand</code> shortcode, th' expand will be opened.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Th' menu will scroll th' active item into view on board.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="200">2.0.0 (2021-08-28)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Rules highlight'n was switched t' th' <a href="https://gohugo.io/content-management/syntax-highlighting/" rel="external" target="_blank">built 'n Hugo mechanism</a>. Ye may need t' configure a new stylesheet or decide t' roll ye own as described on 'n th' Cap'n Hugo documentat'n</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> In th' predefined stylesheets there was a typo an' <code>--MENU-HOME-LINK-HOVERED-color</code> must be changed t' <code>--MENU-HOME-LINK-HOVER-color</code>. Ye don’t need t' change anyth'n 'n yer custom color stylesheet as th' old name will be used as a fallback.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> <code>--MENU-HOME-LINK-color</code> an' <code>--MENU-HOME-LINK-HOVER-color</code> were miss'n 'n th' documentat'n. Ye should add them t' yer custom stylesheets if ye want t' override th' defaults.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> Arrow navigat'n an' <code>children</code> shortcode were ignor'n sett'n fer <code>ordersectionsby</code>. This be now changed an' may result 'n different sort'n order o' yer sub planks.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> If hidden planks be accessed directly by typ'n their URL, they will be exposed 'n th' menu.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle note badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-circle"></i></span><span class="badge-content">Change</span></span> A plank without a <code>title</code> will be treated as <code>hidden=true</code>.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Ye can define th' expansion state o' yer menus 'n th' frontmatter. Please see further <a href="/hugo-theme-relearn/pir/cont/frontmatter/index.html#override-expand-state-rules-for-menu-entries">documentat'n</a> fer poss'ble values an' default behavior.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> New partials fer defin'n pre/post rrrambl'n fer menu items an' th' rrrambl'n. See <a href="/hugo-theme-relearn/pir/basics/customization/index.html#partials">documentat'n</a> fer further read'n.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Shortcode <a href="/hugo-theme-relearn/pir/shortcodes/children/index.html"><code>children</code></a> wit' new parameter <code>containerstyle</code>.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> New shortcode <a href="/hugo-theme-relearn/pir/shortcodes/include/index.html"><code>include</code></a> t' include arbitrary file rrrambl'n into a plank.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="120">1.2.0 (2021-07-26)</h2>
|
|
<ul>
|
|
<li><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Shortcode <a href="/hugo-theme-relearn/pir/shortcodes/expand/index.html"><code>expand</code></a> wit' new parameter t' open on plank board.</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="110">1.1.0 (2021-07-02)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle warning badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-exclamation-triangle"></i></span><span class="badge-content">Break'n</span></span> <a href="/hugo-theme-relearn/pir/shortcodes/mermaid/index.html">Merrrmaid</a> diagrams can now be panned an' zoomed. This isn’t configur'ble yet.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> <a href="/hugo-theme-relearn/pir/shortcodes/mermaid/index.html#configuration"><code>Merrrmaid</code></a> config opt'ns can be set 'n <code>hugo.toml</code>.</p>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="100">1.0.0 (2021-07-01)</h2>
|
|
<ul>
|
|
<li>
|
|
<p><span class="badge cstyle default badge-with-title"><span class="badge-title"><i class="fa-fw fab fa-hackerrank"></i></span><span class="badge-content" style="background-color: fuchsia;">0.65.0</span></span> Th' requirement fer th' Cap'n Hugo version o' this theme be th' same as fer th' Learrrn theme version 2.5.0 on 2021-07-01.</p>
|
|
</li>
|
|
<li>
|
|
<p><span class="badge cstyle info badge-with-title"><span class="badge-title"><i class="fa-fw fas fa-plus-circle"></i></span><span class="badge-content">New</span></span> Initial fork o' th' <a href="https://github.com/matcornic/hugo-theme-learn" rel="external" target="_blank">Learrrn theme</a> based on Learrrn 2.5.0 on 2021-07-01. This introduces no new features besides a global rename t' <code>Relearrrn</code> an' a new logo. For th' reasons behind fork'n th' Learrrn theme, see <a href="https://github.com/matcornic/hugo-theme-learn/issues/442#issuecomment-907863495" rel="external" target="_blank">this comment</a> 'n th' Learrrn issues.</p>
|
|
</li>
|
|
</ul>
|
|
|
|
|
|
<footer class="footline">
|
|
</footer>
|
|
</article>
|
|
|
|
<article class="default">
|
|
<header class="headline">
|
|
</header>
|
|
|
|
<h1 id="requirrrements">Requirrrements</h1>
|
|
|
|
|
|
<p>Thanks t' th' simplicity o' Cap'n Hugo, this plank be as empty as this theme needs requirements.</p>
|
|
<p>Just download at least version <span class="badge cstyle default badge-with-title"><span class="badge-title"><i class="fa-fw fab fa-hackerrank"></i></span><span class="badge-content" style="background-color: fuchsia;">0.121.0</span></span> o' th' <a href="https://gohugo.io/getting-started/installing/" rel="external" target="_blank">Cap'n Hugo binary</a> fer yer OS (Windows, Linux, Mac).</p>
|
|
<figure><a href="https://gohugo.io"><img src="/hugo-theme-relearn/basics/requirements/magic.gif"
|
|
alt="Magic"></a><figcaption>
|
|
<p>It’s a kind o' magic</p>
|
|
</figcaption>
|
|
</figure>
|
|
|
|
|
|
<footer class="footline">
|
|
<div class=" taxonomy-categories term-list cstyle " title="Categorrries" style="--VARIABLE-TAGS-BG-color: var(--INTERNAL-TAG-BG-color);">
|
|
<i class="fa-fw fas fa-layer-group"></i>
|
|
<ul>
|
|
<li><a class="term-link" href="/hugo-theme-relearn/pir/categories/basic/index.html">Basic</a></li>
|
|
</ul>
|
|
</div>
|
|
</footer>
|
|
</article>
|
|
|
|
<article class="default">
|
|
<header class="headline">
|
|
<div class=" taxonomy-tags term-list cstyle tags" title="Tag-a-taggs" style="--VARIABLE-TAGS-BG-color: var(--INTERNAL-TAG-BG-color);">
|
|
<ul>
|
|
<li><a class="term-link" href="/hugo-theme-relearn/pir/tags/documentatn/index.html">Documentat'n</a></li>
|
|
</ul>
|
|
</div>
|
|
</header>
|
|
|
|
<h1 id="installatn">Installat'n</h1>
|
|
|
|
|
|
<p>Th' follow'n steps be here t' help ye initialize yer new website. If ye don’t know Cap'n Hugo at all, we strongly suggest ye learn more about it by follow'n this <a href="https://gohugo.io/overview/quickstart/" rel="external" target="_blank">great documentat'n fer beginners</a>.</p>
|
|
|
|
<div class="box notices cstyle tip">
|
|
<div class="box-label"><i class="fa-fw fas fa-lightbulb"></i> Smarrrt Arrrse</div>
|
|
<div class="box-content">
|
|
|
|
<p>Th' follow'n tutorial leads ye thru th' steps o' creat'n a first, minimal new ship.</p>
|
|
<p>Ye don’t need t' edit any files besides yer <code>hugo.toml</code> an' only need t' execute th' commands 'n th' given order.</p>
|
|
</div>
|
|
</div>
|
|
<h2 id="create-your-project">Create yer project</h2>
|
|
<p>Cap'n Hugo provides a <code>new</code> command t' create a new website:</p>
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new ship my-new-site</span></span></code></pre></div><p>Aft that change into th' directory:</p>
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl"><span class="nb">cd</span> my-new-site</span></span></code></pre></div><p>Every upcom'n command will be executed from inside yer new site’s root.</p>
|
|
<h2 id="install-the-theme">Install th' theme</h2>
|
|
<h3 id="from-download">From Download</h3>
|
|
<p>Ye can <a href="https://github.com/McShelby/hugo-theme-relearn/archive/main.zip" rel="external" target="_blank">download th' theme as .zip</a> file an' extract it into them <code>themes/hugo-theme-relearn</code> directory.</p>
|
|
<h3 id="with-hugos-module-system">Wit' Hugo’s Module System</h3>
|
|
<p>Install th' Relearrrn theme by follow'n <a href="https://gohugo.io/hugo-modules/use-modules/#use-a-module-for-a-theme" rel="external" target="_blank">this documentat'n</a> us'n Hugo’s module system.</p>
|
|
<p>This theme’s repository be: <a href="https://github.com/McShelby/hugo-theme-relearn.git" rel="external" target="_blank">https://github.com/McShelby/hugo-theme-relearn.git</a></p>
|
|
<h3 id="using-git-or-git-submodules">Us'n Git or Git Submodules</h3>
|
|
<p>If ye install th' theme from yer git repository or GitHub, ye have several opt'ns.</p>
|
|
<p>If ye use th' <code>head</code> o' th' <code>main</code> branch, ye be us'n th' development version. Usually it be fully functional but can break from time t' time. We try t' fix newly introduced bugs 'n this version as soon as poss'ble.</p>
|
|
<p>Additionally ye can checkout one o' th' tagged versions. These tagged versions correspond t' an official <a href="https://github.com/McShelby/hugo-theme-relearn/releases" rel="external" target="_blank">releases from th' GitHub repository</a>.</p>
|
|
<p>Besides th' usual version tags (eg <code>1.2.3</code>) there be also tags fer th' main version (eg. <code>1.2.x</code>), major version (eg. <code>1.x</code>) an' th' latest (just <code>x</code>) released version mak'n it easier fer ye t' pin th' theme t' a certain version.</p>
|
|
<h2 id="basic-configuration">Basic Configurat'n</h2>
|
|
<p>When build'n th' website, ye can set a theme by us'n <code>--theme</code> opt'n. However, we suggest ye modify th' configurat'n file <code>hugo.toml</code> an' set th' theme as th' default.</p>
|
|
|
|
<div class="tab-panel" data-tab-group="config-code">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">hugo.</div>
|
|
<button
|
|
data-tab-item="toml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('config-code','toml')"
|
|
>
|
|
<span class="tab-nav-text">toml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="yaml"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','yaml')"
|
|
>
|
|
<span class="tab-nav-text">yaml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="json"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','json')"
|
|
>
|
|
<span class="tab-nav-text">json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="toml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="nx">theme</span> <span class="p">=</span> <span class="s1">'hugo-theme-relearn'</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="yaml"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">theme</span><span class="p">:</span><span class="w"> </span><span class="l">hugo-theme-relearn</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="json"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"theme"</span><span class="p">:</span> <span class="s2">"hugo-theme-relearn"</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<h2 id="create-your-home-page">Create yer Home Plank</h2>
|
|
<p>If ye don’t create a home plank, yet, th' theme will generate a placeholder text wit' instruct'ns how t' proceed.</p>
|
|
<p>Start yer journey by fill'n th' home plank wit' rrrambl'n</p>
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new --kind home _index.md</span></span></code></pre></div><p>By open'n th' given file, ye should see th' property <code>archetype=home</code> on top, mean'n this plank be a home plank. Th' Relearrrn theme provides <a href="/hugo-theme-relearn/pir/cont/archetypes/index.html">some archetypes</a> t' create those skeleton files fer yer website.</p>
|
|
<p>Obviously ye better should change th' page’s rrrambl'n.</p>
|
|
<h2 id="create-your-first-chapter-page">Create yer First Chapter Plank</h2>
|
|
<p>Chapters be planks that contain other child planks. It has a special layout style an' usually just contains th' <em>title</em> an' a <em>brief abstract</em> o' th' section.</p>
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-md" data-lang="md"><span class="line"><span class="cl"><span class="gh"># Basics
|
|
</span></span></span><span class="line"><span class="cl"><span class="gh"></span>
|
|
</span></span><span class="line"><span class="cl">Discover what this Cap'n Hugo theme be all about an' th' core concepts behind it.</span></span></code></pre></div><p>renders as</p>
|
|
<p><a href="#R-image-b433700c72b6df4f9c8fccd38721bc57" class="lightbox-link"><img alt="A Chapter" class="bg-white border lazy lightbox noshadow figure-image" loading="lazy" src="/hugo-theme-relearn/basics/installation/chapter.png?width=60pc" style=" height: auto; width: 60pc;"></a>
|
|
<a href="javascript:history.back();" class="lightbox-back" id="R-image-b433700c72b6df4f9c8fccd38721bc57"><img alt="A Chapter" class="bg-white border lazy lightbox noshadow lightbox-image" loading="lazy" src="/hugo-theme-relearn/basics/installation/chapter.png?width=60pc"></a></p>
|
|
<p>Begin by creat'n yer first chapter plank wit' th' follow'n command:</p>
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new --kind chapter basics/_index.md</span></span></code></pre></div><p>By open'n th' given file, ye should see th' property <code>archetype=chapter</code> on top, mean'n this plank be a <em>chapter</em>.</p>
|
|
<p>Th' <code>weight</code> number will be used t' generate th' subtitle o' th' chapter plank, set th' number t' a consecutive value start'n at 1 fer each new chapter level.</p>
|
|
<h2 id="create-your-first-content-pages">Create yer First Rrrambl'n Planks</h2>
|
|
<p>Then, create rrrambl'n planks inside th' previously created chapter. Here be two ways t' create rrrambl'n 'n th' chapter:</p>
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new basics/first-content.md
|
|
</span></span><span class="line"><span class="cl">hugo new basics/second-content/_index.md</span></span></code></pre></div><p>Feel free t' edit those files by add'n some sample rrrambl'n an' replac'n th' <code>title</code> value 'n th' beginn'n o' th' files.</p>
|
|
<h2 id="launching-the-website-locally">Launch'n th' Website Locally</h2>
|
|
<p>Launch by us'n th' follow'n command:</p>
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo serve</span></span></code></pre></div><p>Go t' <code>http://localhost:1313</code></p>
|
|
<p>Ye should notice three th'ns:</p>
|
|
<ol>
|
|
<li>Th' home plank contains some basic text.</li>
|
|
<li>Ye have a left-side <strong>Basics</strong> menu, contain'n two submenus wit' names equal t' th' <code>title</code> properties 'n th' previously created files.</li>
|
|
<li>When ye run <code>hugo serve</code> yer plank refreshes automatically when ye change a rrrambl'n plank. Neat!</li>
|
|
</ol>
|
|
<h2 id="build-the-website">Build th' Website</h2>
|
|
<p>When yer ship be ready t' deploy, run th' follow'n command:</p>
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo</span></span></code></pre></div><p>A <code>public</code> folder will be generated, contain'n all rrrambl'n an' assets fer yer website. It can now be deployed on any web server.</p>
|
|
<p>Now it’s time t' deploy yer plank by simply upload'n yer project t' some webserver or by us'n one o' <a href="https://gohugo.io/hosting-and-deployment/" rel="external" target="_blank">Hugo’s many deployment opt'ns</a>.</p>
|
|
|
|
|
|
<footer class="footline">
|
|
</footer>
|
|
</article>
|
|
|
|
<article class="default">
|
|
<header class="headline">
|
|
<div class=" taxonomy-tags term-list cstyle tags" title="Tag-a-taggs" style="--VARIABLE-TAGS-BG-color: var(--INTERNAL-TAG-BG-color);">
|
|
<ul>
|
|
<li><a class="term-link" href="/hugo-theme-relearn/pir/tags/config/index.html">Config</a></li>
|
|
</ul>
|
|
</div>
|
|
</header>
|
|
|
|
<h1 id="configurrratn">Configurrrat'n</h1>
|
|
|
|
|
|
<p>On top o' <a href="https://gohugo.io/overview/configuration/" rel="external" target="_blank">Hugo’s global configurat'n opt'ns</a>, th' Relearrrn theme lets ye define further opt'ns unique t' th' theme 'n yer <code>hugo.toml</code>.</p>
|
|
<p>Avast that some o' these opt'ns be explained 'n detail 'n other sections o' this documentat'n.</p>
|
|
<h2 id="all-config-options">All config opt'ns</h2>
|
|
<p>Th' values reflect th' opt'ns active 'n this documentat'n. Th' defaults can be taken from th' <a href="/hugo-theme-relearn/pir/basics/configuration/index.html#annotated-config-options">annotated example</a> below.</p>
|
|
|
|
<div class="tab-panel" data-tab-group="config-code">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">hugo.</div>
|
|
<button
|
|
data-tab-item="toml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('config-code','toml')"
|
|
>
|
|
<span class="tab-nav-text">toml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="yaml"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','yaml')"
|
|
>
|
|
<span class="tab-nav-text">yaml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="json"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','json')"
|
|
>
|
|
<span class="tab-nav-text">json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="toml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="p">[</span><span class="nx">params</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">additionalContentLanguage</span> <span class="p">=</span> <span class="p">[</span><span class="s1">'en'</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">alwaysopen</span> <span class="p">=</span> <span class="s1">''</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">breadcrumbSeparator</span> <span class="p">=</span> <span class="s1">'>'</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">collapsibleMenu</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">customMathJaxURL</span> <span class="p">=</span> <span class="s1">''</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">customMermaidURL</span> <span class="p">=</span> <span class="s1">''</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">customOpenapiURL</span> <span class="p">=</span> <span class="s1">''</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">descript'n</span> <span class="p">=</span> <span class="s1">'Documentat'n fer Cap'n Hugo Relearrrn Theme'</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">disableAssetsBust'n</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">disableBreadcrumb</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">disableExplicitIndexURLs</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">disableGeneratorVersion</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">disableHoverBlockCopyToClipBoard</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">disableInlineCopyToClipBoard</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">disableLandingPageButton</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">disableLanguageSwitchingButton</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">disableMathJax</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">disableMermaid</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">disableNextPrev</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">disableOpenapi</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">disableRandomIds</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">disableRootBreadcrumb</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">disableSearch</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">disableSearchHiddenPages</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">disableSeoHiddenPages</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">disableShortcutsTitle</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">disableTagHiddenPages</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">disableTermBreadcrumbs</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">disableToc</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">editURL</span> <span class="p">=</span> <span class="s1">'https://github.com/McShelby/hugo-theme-relearn/edit/main/exampleSite/content/${FilePath}'</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">externalLinkTarget</span> <span class="p">=</span> <span class="s1">'_blank'</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">highlightWrap</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">images</span> <span class="p">=</span> <span class="p">[</span><span class="s1">'images/hero.png'</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">mathJaxInitialize</span> <span class="p">=</span> <span class="s1">'{}'</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">mermaidInitialize</span> <span class="p">=</span> <span class="s1">'{ "securityLevel": "loose" }'</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">mermaidZoom</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">ordersectionsby</span> <span class="p">=</span> <span class="s1">'weight'</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">showVisitedLinks</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">themeVariantModifier</span> <span class="p">=</span> <span class="s1">''</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">titleSeparator</span> <span class="p">=</span> <span class="s1">'::'</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"> <span class="p">[</span><span class="nx">params</span><span class="p">.</span><span class="nx">author</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">name</span> <span class="p">=</span> <span class="s1">'Sören Weber'</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"> <span class="p">[</span><span class="nx">params</span><span class="p">.</span><span class="nx">image</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">errorlevel</span> <span class="p">=</span> <span class="s1">'warning'</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"> <span class="p">[</span><span class="nx">params</span><span class="p">.</span><span class="nx">imageEffects</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">border</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">lazy</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">lightbox</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">shadow</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"> <span class="p">[</span><span class="nx">params</span><span class="p">.</span><span class="nx">link</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">errorlevel</span> <span class="p">=</span> <span class="s1">'warning'</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"> <span class="p">[</span><span class="nx">params</span><span class="p">.</span><span class="nx">social</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">facebook_admin</span> <span class="p">=</span> <span class="s1">''</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">twitter</span> <span class="p">=</span> <span class="s1">''</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">params</span><span class="p">.</span><span class="nx">themeVariant</span><span class="p">]]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">auto</span> <span class="p">=</span> <span class="p">[]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">identifier</span> <span class="p">=</span> <span class="s1">'relearn-auto'</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">name</span> <span class="p">=</span> <span class="s1">'Relearn Light/Dark'</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">params</span><span class="p">.</span><span class="nx">themeVariant</span><span class="p">]]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">identifier</span> <span class="p">=</span> <span class="s1">'relearn-light'</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">params</span><span class="p">.</span><span class="nx">themeVariant</span><span class="p">]]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">identifier</span> <span class="p">=</span> <span class="s1">'relearn-dark'</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">params</span><span class="p">.</span><span class="nx">themeVariant</span><span class="p">]]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">identifier</span> <span class="p">=</span> <span class="s1">'relearn-bright'</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">params</span><span class="p">.</span><span class="nx">themeVariant</span><span class="p">]]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">auto</span> <span class="p">=</span> <span class="p">[</span><span class="s1">'zen-light'</span><span class="p">,</span> <span class="s1">'zen-dark'</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">identifier</span> <span class="p">=</span> <span class="s1">'zen-auto'</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">name</span> <span class="p">=</span> <span class="s1">'Zen Light/Dark'</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">params</span><span class="p">.</span><span class="nx">themeVariant</span><span class="p">]]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">identifier</span> <span class="p">=</span> <span class="s1">'zen-light'</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">params</span><span class="p">.</span><span class="nx">themeVariant</span><span class="p">]]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">identifier</span> <span class="p">=</span> <span class="s1">'zen-dark'</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">params</span><span class="p">.</span><span class="nx">themeVariant</span><span class="p">]]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">identifier</span> <span class="p">=</span> <span class="s1">'neon'</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">params</span><span class="p">.</span><span class="nx">themeVariant</span><span class="p">]]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">identifier</span> <span class="p">=</span> <span class="s1">'learn'</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">params</span><span class="p">.</span><span class="nx">themeVariant</span><span class="p">]]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">identifier</span> <span class="p">=</span> <span class="s1">'blue'</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">params</span><span class="p">.</span><span class="nx">themeVariant</span><span class="p">]]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">identifier</span> <span class="p">=</span> <span class="s1">'green'</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">params</span><span class="p">.</span><span class="nx">themeVariant</span><span class="p">]]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">identifier</span> <span class="p">=</span> <span class="s1">'red'</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="yaml"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">params</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">additionalContentLanguage</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">en</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">alwaysopen</span><span class="p">:</span><span class="w"> </span><span class="s2">""</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">author</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l">Sören Weber</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">breadcrumbSeparator</span><span class="p">:</span><span class="w"> </span><span class="s1">'>'</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">collapsibleMenu</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">customMathJaxURL</span><span class="p">:</span><span class="w"> </span><span class="s2">""</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">customMermaidURL</span><span class="p">:</span><span class="w"> </span><span class="s2">""</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">customOpenapiURL</span><span class="p">:</span><span class="w"> </span><span class="s2">""</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">descript'n</span><span class="p">:</span><span class="w"> </span><span class="l">Documentat'n fer Cap'n Hugo Relearrrn Theme</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">disableAssetsBust'n</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">disableBreadcrumb</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">disableExplicitIndexURLs</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">disableGeneratorVersion</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">disableHoverBlockCopyToClipBoard</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">disableInlineCopyToClipBoard</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">disableLandingPageButton</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">disableLanguageSwitchingButton</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">disableMathJax</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">disableMermaid</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">disableNextPrev</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">disableOpenapi</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">disableRandomIds</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">disableRootBreadcrumb</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">disableSearch</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">disableSearchHiddenPages</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">disableSeoHiddenPages</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">disableShortcutsTitle</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">disableTagHiddenPages</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">disableTermBreadcrumbs</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">disableToc</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">editURL</span><span class="p">:</span><span class="w"> </span><span class="l">https://github.com/McShelby/hugo-theme-relearn/edit/main/exampleSite/content/${FilePath}</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">externalLinkTarget</span><span class="p">:</span><span class="w"> </span><span class="l">_blank</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">highlightWrap</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">image</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">errorlevel</span><span class="p">:</span><span class="w"> </span><span class="l">warning</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">imageEffects</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">border</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">lazy</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">lightbox</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">shadow</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">images</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">images/hero.png</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">link</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">errorlevel</span><span class="p">:</span><span class="w"> </span><span class="l">warning</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">mathJaxInitialize</span><span class="p">:</span><span class="w"> </span><span class="s1">'{}'</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">mermaidInitialize</span><span class="p">:</span><span class="w"> </span><span class="s1">'{ "securityLevel": "loose" }'</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">mermaidZoom</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">ordersectionsby</span><span class="p">:</span><span class="w"> </span><span class="l">weight</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">showVisitedLinks</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">social</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">facebook_admin</span><span class="p">:</span><span class="w"> </span><span class="s2">""</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">twitter</span><span class="p">:</span><span class="w"> </span><span class="s2">""</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">themeVariant</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="nt">auto</span><span class="p">:</span><span class="w"> </span><span class="p">[]</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">identifier</span><span class="p">:</span><span class="w"> </span><span class="l">relearn-auto</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l">Relearrrn Light/Dark</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="nt">identifier</span><span class="p">:</span><span class="w"> </span><span class="l">relearn-light</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="nt">identifier</span><span class="p">:</span><span class="w"> </span><span class="l">relearn-dark</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="nt">identifier</span><span class="p">:</span><span class="w"> </span><span class="l">relearn-bright</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="nt">auto</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">zen-light</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">zen-dark</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">identifier</span><span class="p">:</span><span class="w"> </span><span class="l">zen-auto</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l">Zen Light/Dark</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="nt">identifier</span><span class="p">:</span><span class="w"> </span><span class="l">zen-light</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="nt">identifier</span><span class="p">:</span><span class="w"> </span><span class="l">zen-dark</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="nt">identifier</span><span class="p">:</span><span class="w"> </span><span class="l">neon</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="nt">identifier</span><span class="p">:</span><span class="w"> </span><span class="l">learn</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="nt">identifier</span><span class="p">:</span><span class="w"> </span><span class="l">blue</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="nt">identifier</span><span class="p">:</span><span class="w"> </span><span class="l">green</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="nt">identifier</span><span class="p">:</span><span class="w"> </span><span class="l">red</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">themeVariantModifier</span><span class="p">:</span><span class="w"> </span><span class="s2">""</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">titleSeparator</span><span class="p">:</span><span class="w"> </span><span class="s1">'::'</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="json"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"params"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"additionalContentLanguage"</span><span class="p">:</span> <span class="p">[</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"en"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">],</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"alwaysopen"</span><span class="p">:</span> <span class="s2">""</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"author"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"Sören Weber"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"breadcrumbSeparator"</span><span class="p">:</span> <span class="s2">"\u003e"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"collapsibleMenu"</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"customMathJaxURL"</span><span class="p">:</span> <span class="s2">""</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"customMermaidURL"</span><span class="p">:</span> <span class="s2">""</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"customOpenapiURL"</span><span class="p">:</span> <span class="s2">""</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"description"</span><span class="p">:</span> <span class="s2">"Documentat'n fer Cap'n Hugo Relearrrn Theme"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"disableAssetsBusting"</span><span class="p">:</span> <span class="kc">false</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"disableBreadcrumb"</span><span class="p">:</span> <span class="kc">false</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"disableExplicitIndexURLs"</span><span class="p">:</span> <span class="kc">false</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"disableGeneratorVersion"</span><span class="p">:</span> <span class="kc">false</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"disableHoverBlockCopyToClipBoard"</span><span class="p">:</span> <span class="kc">false</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"disableInlineCopyToClipBoard"</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"disableLandingPageButton"</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"disableLanguageSwitchingButton"</span><span class="p">:</span> <span class="kc">false</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"disableMathJax"</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"disableMermaid"</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"disableNextPrev"</span><span class="p">:</span> <span class="kc">false</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"disableOpenapi"</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"disableRandomIds"</span><span class="p">:</span> <span class="kc">false</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"disableRootBreadcrumb"</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"disableSearch"</span><span class="p">:</span> <span class="kc">false</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"disableSearchHiddenPages"</span><span class="p">:</span> <span class="kc">false</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"disableSeoHiddenPages"</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"disableShortcutsTitle"</span><span class="p">:</span> <span class="kc">false</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"disableTagHiddenPages"</span><span class="p">:</span> <span class="kc">false</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"disableTermBreadcrumbs"</span><span class="p">:</span> <span class="kc">false</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"disableToc"</span><span class="p">:</span> <span class="kc">false</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"editURL"</span><span class="p">:</span> <span class="s2">"https://github.com/McShelby/hugo-theme-relearn/edit/main/exampleSite/content/${FilePath}"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"externalLinkTarget"</span><span class="p">:</span> <span class="s2">"_blank"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"highlightWrap"</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"image"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"errorlevel"</span><span class="p">:</span> <span class="s2">"warning"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"imageEffects"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"border"</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"lazy"</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"lightbox"</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"shadow"</span><span class="p">:</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"images"</span><span class="p">:</span> <span class="p">[</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"images/hero.png"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">],</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"link"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"errorlevel"</span><span class="p">:</span> <span class="s2">"warning"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"mathJaxInitialize"</span><span class="p">:</span> <span class="s2">"{}"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"mermaidInitialize"</span><span class="p">:</span> <span class="s2">"{ \"securityLevel\": \"loose\" }"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"mermaidZoom"</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"ordersectionsby"</span><span class="p">:</span> <span class="s2">"weight"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"showVisitedLinks"</span><span class="p">:</span> <span class="kc">true</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"social"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"facebook_admin"</span><span class="p">:</span> <span class="s2">""</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"twitter"</span><span class="p">:</span> <span class="s2">""</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"themeVariant"</span><span class="p">:</span> <span class="p">[</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"auto"</span><span class="p">:</span> <span class="p">[],</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"identifier"</span><span class="p">:</span> <span class="s2">"relearn-auto"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"Relearn Light/Dark"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"identifier"</span><span class="p">:</span> <span class="s2">"relearn-light"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"identifier"</span><span class="p">:</span> <span class="s2">"relearn-dark"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"identifier"</span><span class="p">:</span> <span class="s2">"relearn-bright"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"auto"</span><span class="p">:</span> <span class="p">[</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"zen-light"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"zen-dark"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">],</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"identifier"</span><span class="p">:</span> <span class="s2">"zen-auto"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"Zen Light/Dark"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"identifier"</span><span class="p">:</span> <span class="s2">"zen-light"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"identifier"</span><span class="p">:</span> <span class="s2">"zen-dark"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"identifier"</span><span class="p">:</span> <span class="s2">"neon"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"identifier"</span><span class="p">:</span> <span class="s2">"learn"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"identifier"</span><span class="p">:</span> <span class="s2">"blue"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"identifier"</span><span class="p">:</span> <span class="s2">"green"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"identifier"</span><span class="p">:</span> <span class="s2">"red"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">],</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"themeVariantModifier"</span><span class="p">:</span> <span class="s2">""</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"titleSeparator"</span><span class="p">:</span> <span class="s2">"::"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<h2 id="annotated-config-options">Annotated config opt'ns</h2>
|
|
|
|
<div class="tab-panel" data-tab-group="5ec7c0af368481acde00589d488dfed4">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">​</div>
|
|
<button
|
|
data-tab-item="hugotoml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('5ec7c0af368481acde00589d488dfed4','hugotoml')"
|
|
>
|
|
<span class="tab-nav-text">hugo.toml</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="hugotoml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="p">[</span><span class="nx">params</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># If an opt'n value be said t' be not set, ye can achieve th' same behavior</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># by given it an empty str'n value.</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c">###############################################################################</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Cap'n Hugo</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># These opt'ns usually apply t' other themes aswell.</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Th' author o' yer ship.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: not set</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># This will be used 'n HTML meta tags, th' opengraph protocol an' twitter</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># cards.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Ye can also set `author.email` if ye want t' publish this informat'n.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">author</span><span class="p">.</span><span class="nx">name</span> <span class="p">=</span> <span class="s2">"Sören Weber"</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Th' social media image o' yer ship.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: not set</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># This be used fer generat'n social media meta informat'n fer th' opengraph</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># protocol an' twitter cards.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># This can be overridden 'n th' page's frontmatter.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">images</span> <span class="p">=</span> <span class="p">[</span> <span class="s2">"images/hero.png"</span> <span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Th' descript'n o' yer ship.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: not set</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># This be used fer generat'n HTML meta tags, social media meta informat'n</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># fer th' opengraph protocol an' twitter cards.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># This can be overridden 'n th' page's frontmatter.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">descript'n</span> <span class="p">=</span> <span class="s2">"Documentat'n fer Cap'n Hugo Relearrrn Theme"</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Admin opt'ns fer social media.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: not set</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Configurat'n fer th' Open Graph protocol an' Twitter Cards adhere t' Hugo's</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># implementat'n. See th' Cap'n Hugo docs fer poss'ble values.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">social</span><span class="p">.</span><span class="nx">facebook_admin</span> <span class="p">=</span> <span class="s2">""</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">social</span><span class="p">.</span><span class="nx">twitter</span> <span class="p">=</span> <span class="s2">""</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c">###############################################################################</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Relearrrn Theme</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># These opt'ns be specific t' th' Relearrrn theme.</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c">#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Brand'n</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># These opt'ns set yer overall visual apperance.</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Used color variants.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: "auto"</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># This sets one or more color variants, avail'ble t' yer readers t' choose</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># from. Ye can</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># - set a single value eg. "zen-light"</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># - an array like [ "neon", "learn" ]</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># - an array wit' opt'ns like [ { identifier = "neon" },{ identifier = "learn" } ]</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Th' last form allows t' set further opt'ns fer each variant.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Th' `identifier` be mandatory. Ye can also set `name` which overrides th'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># value displayed 'n th' variant selector.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># If th' array has more than one entry, a variant selector</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># be shown 'n th' lower part o' th' menu. Th' first entry 'n th' array be th'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># default variant, used fer first time visitors.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Th' theme ships wit' th' follow'n variants: "relearn-bright",</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># "relearn-light", "relearn-dark", "zen-light", "zen-dark", "neon", "learn",</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># "blue", "green", "red". In addit'n ye can use auto mode variants. See th'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># docs fer a detailed explainat'n.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Ye can also define yer own variants. See th' docs how this works. Also,</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># th' docs provide an interactive theme generator t' help ye wit' this task.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">themeVariant</span> <span class="p">=</span> <span class="p">[</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span> <span class="nx">identifier</span> <span class="p">=</span> <span class="s2">"relearn-auto"</span><span class="p">,</span> <span class="nx">name</span> <span class="p">=</span> <span class="s2">"Relearn Light/Dark"</span><span class="p">,</span> <span class="nx">auto</span> <span class="p">=</span> <span class="p">[]</span> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span> <span class="nx">identifier</span> <span class="p">=</span> <span class="s2">"relearn-light"</span> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span> <span class="nx">identifier</span> <span class="p">=</span> <span class="s2">"relearn-dark"</span> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span> <span class="nx">identifier</span> <span class="p">=</span> <span class="s2">"relearn-bright"</span> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span> <span class="nx">identifier</span> <span class="p">=</span> <span class="s2">"zen-auto"</span><span class="p">,</span> <span class="nx">name</span> <span class="p">=</span> <span class="s2">"Zen Light/Dark"</span><span class="p">,</span> <span class="nx">auto</span> <span class="p">=</span> <span class="p">[</span> <span class="s2">"zen-light"</span><span class="p">,</span> <span class="s2">"zen-dark"</span> <span class="p">]</span> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span> <span class="nx">identifier</span> <span class="p">=</span> <span class="s2">"zen-light"</span> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span> <span class="nx">identifier</span> <span class="p">=</span> <span class="s2">"zen-dark"</span> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span> <span class="nx">identifier</span> <span class="p">=</span> <span class="s2">"neon"</span> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span> <span class="nx">identifier</span> <span class="p">=</span> <span class="s2">"learn"</span> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span> <span class="nx">identifier</span> <span class="p">=</span> <span class="s2">"blue"</span> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span> <span class="nx">identifier</span> <span class="p">=</span> <span class="s2">"green"</span> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span> <span class="nx">identifier</span> <span class="p">=</span> <span class="s2">"red"</span> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Filename suffix fer variant files.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: not set</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Th' theme modifies th' variant stylesheets dur'n build an' tries t' store</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># them wit' th' same file name. In certain installat'ns it was observed, that</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Cap'n Hugo could not overwrite these files due t' permission issues. If ye</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># experience this, ye can first try t' set th' `--noChmod` opt'n fer Cap'n Hugo.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># If this still doesn't help ye can set this opt'n t' eg. ".gen". This will</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># be used as a suffix fer these generated files, caus'n them t' be newly</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># created instead o' overwrit'n th' exist'n ones.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">themeVariantModifier</span> <span class="p">=</span> <span class="s2">""</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c">#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># General</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># These opt'ns be defin'n general, non visual behavior.</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Avoid new asset URLs on build.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: false</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># By default JavaScript-files an' CSS-files get a unique ID on each rebuild.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># This makes sure, th' user always has th' latest version an' not some stale</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># copy o' his browser cache. Anyways, it can be desire'ble t' turn this</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># off 'n certain circumstances. For example if ye have Hugo's dev server</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># runn'n. Also some proxies dislike this optimizat'n.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">disableAssetsBust'n</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Avoid generator meta tags.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: false</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Set this t' true if ye want t' dis'ble generat'n fer generator meta tags</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># o' Cap'n Hugo an' th' theme 'n yer HTML head. In tihs case also don't forget t'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># set Hugo's disableHugoGeneratorInject=true. Otherwise Cap'n Hugo will generate a</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># meta tag into yer home plank anyways.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">disableGeneratorVersion</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Avoid unique IDs.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: false</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># In various situat'ns th' theme generates non st'ble unique ids t' be used</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># 'n HTML fragment links. This can be undesir'ble fer example when test'n</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># th' output fer changes. If ye dis'ble th' random id generat'n, th' theme</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># may not funct'n correctly anymore.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">disableRandomIds</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Multilanguage rrrambl'n.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: not set</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># If yer planks contain further languages besides th' main one used, add all</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># those auxiliary languages here. This will create a search index wit'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># support fer all used languages o' yer ship.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># This be handy fer example if ye be writ'n 'n Spanish but have lots o'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># source code on yer plank which typically uses English terminology.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">additionalContentLanguage</span> <span class="p">=</span> <span class="p">[</span> <span class="s2">"en"</span> <span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Additional code dependencies.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: See hugo.toml o' th' theme</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Th' theme provides a mechanism t' board further JavaScript an' CSS</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># dependencies on demand only if they be needed. This comes 'n handy if ye</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># want t' add own shorrrtcodes that depend on additional code t' be boarded.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># See th' docs how this works.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># [relearn.dependencies]</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c">#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Topbar</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># These opt'ns modify th' topbar appearance.</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Hide th' t'ble o' contents button.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: false</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># If th' TOC button be hidden, also th' keyboard shortcut be disabled.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># This can be overridden 'n th' page's frontmatter.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">disableToc</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Hide th' breadcrumbs.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: false</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># If th' breadcrumbs be hidden, th' title o' th' displayed plank will still be</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># shown 'n th' topbar.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">disableBreadcrumb</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Hide Next an' Previous navigat'n buttons.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: false</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># If th' navigat'n buttons be hidden, also th' keyboard shortcuts be</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># disabled.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">disableNextPrev</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Th' URL prefix t' edit a plank.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: not set</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># If set, an edit button will be shown 'n th' topbar. If th' button be hidden,</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># also th' keyboard shortcuts be disabled. Th' value can contain th' macro</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># `${FilePath}` which will be replaced by th' file path o' yer displayed plank.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># If no `${FilePath}` be given 'n th' value, th' value be treated as if th'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># `${FilePath}` was appended at th' end o' th' value. This can be overridden</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># 'n th' planks frontmatter. This be useful if ye want t' give th' opportunity</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># fer people t' create merge request fer yer rrrambl'n.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">editURL</span> <span class="p">=</span> <span class="s2">"https://github.com/McShelby/hugo-theme-relearn/edit/main/exampleSite/content/${FilePath}"</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c">#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Menu</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># These opt'ns modify th' menu apperance.</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Hide th' search box.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: false</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># If th' searc box be sisabled, th' search functionality be disabled too.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># This will also cause th' keyboard shortcut t' be disabled an' th' dedicated</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># search plank be not linked although it mighty be configured.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">disableSearch</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Hide th' Home entry.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: false</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># If shown, a Home button will appear below th' search bar an' th' main menu.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># It links t' yer th' home plank o' th' current language.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">disableLandingPageButton</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Th' order o' main menu submenus.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: "weight"</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Submenus can be ordered by "weight", "title", "linktitle", "modifieddate",</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># "expirydate", "publishdate", "date", "length" or "default" (adher'n t'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Hugo's default sort order). This can be overridden 'n th' planks frontmatter.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">ordersectionsby</span> <span class="p">=</span> <span class="s2">"weight"</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Th' initial expand state o' submenus.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: not set</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># This controls whether submenus will be expanded (true), or collapsed (false)</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># 'n th' menu. If not set, th' first menu level be set t' false, all others</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># levels be set t' true. This can be overridden 'n th' page's frontmatter.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># If th' displayed plank has submenus, they will always been displayed expanded</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># regardless o' this opt'n.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">alwaysopen</span> <span class="p">=</span> <span class="s2">""</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Shows expander fer submenus.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: false</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># If set t' true, a submenu 'n th' sidebar will be displayed 'n a collaps'ble</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># tree view an' a click'ble expander be set 'n front o' th' entry.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># This can be overridden 'n th' page's frontmatter.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">collapsibleMenu</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Shows checkmarks fer visited planks o' th' main menu.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: false</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># This also causes th' display o' th' `Clear History` entry 'n th' lower part</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># o' th' menu t' remove all checkmarks. Th' checkmarks will also been removed</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># if ye regenerate yer ship as th' ids be not st'ble.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">showVisitedLinks</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Hide head'n above th' shortcut menu.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: false</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Th' title fer th' head'n can be overwritten 'n yer i18n files. See Hugo's</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># documentat'n how t' do this.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">disableShortcutsTitle</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Hide th' language switcher.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: false</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># If ye have more than one language configured, a language switcher be</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># displayed 'n th' lower part o' th' menu. This opit'n lets ye explicitly</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># turn this behavior off.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">disableLanguageSwitchingButton</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c">#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Hidden planks</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># These opt'ns configure how hidden planks be treated.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># A plank flagged as hidden, be only removed from th' main menu if ye be</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># currently not on this plank or th' hidden plank be not part o' current page's</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># ancestors. For all other functionality 'n Hugo a hidden plank behaves like any</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># other plank if not otherwise configured.</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Hide hidden planks from search.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: false</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Hides hidden planks from th' suggest'ns o' th' search box an' th' dedicated</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># search plank.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">disableSearchHiddenPages</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Hide hidden planks fer web crawlers.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: false</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Avoids hidden planks from show'n up 'n th' sitemap an' on Google (et all),</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># otherwise they may be indexed by search engines</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">disableSeoHiddenPages</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Hide hidden planks fer taxonomies.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: false</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Hides hidden planks from show'n up on th' taxonomy an' terms planks. If this</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># reduces term counters t' zero, an empty but not linked term plank will be</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># created anyhow.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">disableTagHiddenPages</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c">#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Rrrambl'n</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># These opt'ns modify how yer rrrambl'n be displayed.</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Title separator.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: "::"</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Changes th' title separator used when concatenat'n th' plank title wit' th'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># ship title. This be consistently used throughout th' theme.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">titleSeparator</span> <span class="p">=</span> <span class="s2">"::"</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Breadcrumb separator.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: ">"</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Changes th' breadcrumb separator used 'n th' topbars breadcrumb area an' fer</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># search results an' term planks.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">breadcrumbSeparator</span> <span class="p">=</span> <span class="s2">">"</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Hide th' root breadcrumb.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: false</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Th' root breadcrumb be usually th' home plank o' yer ship. Because this be</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># always access'ble by click'n on th' logo, ye may want t' reduce clutter</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># by remov'n this from yer breadcrumb.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">disableRootBreadcrumb</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Hide breadcrumbs term planks.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: false</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># If ye have lots o' taxonomy terms, th' term planks may seem cluttered wit'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># breadcrumbs t' ye, so this be th' opt'n t' turn off breadcrumbs on term</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># planks. Only th' plank title will then be shown on th' term planks.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">disableTermBreadcrumbs</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c">#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Highlight</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># These opt'ns configure how code be displayed.</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Hide copy-to-clipboard fer inline code.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: false</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># This removes th' copy-to-clipboard button from yer inline code.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">disableInlineCopyToClipBoard</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Always show copy-to-clipboard fer block code.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: false</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Th' theme only shows th' copy-to-clipboard button if ye hover over th' code</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># block. Set this t' true t' dis'ble th' hover effect an' always show th'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># button.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">disableHoverBlockCopyToClipBoard</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Wrap fer code blocks.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: true</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># By default lines o' code blocks wrap around if th' line be too long t' be</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># displayed on screen. If ye dislike this behavior, ye can reconfigure it</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># here.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Avast that lines always wrap 'n print mode regardless o' this opt'n.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># This can be overridden 'n th' page's frontmatter or given as a parameter t'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># individual code blocks.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">highlightWrap</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c">#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Images</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># These opt'ns configure how images be displayed.</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># What t' do when local image link be not resolved.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: ""</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Ye can control what should happen if a local image can not be resolved t' as</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># a resource. If not set, th' unresolved link be written as given into th' result'n</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># output. If set t' `warning` th' same happens an' an additional warning be</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># printed. If set t' `error` an error message be printed an' th' build be</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># aborted.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Please note that this can not resolve files inside o' yer `static` directory.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">image</span><span class="p">.</span><span class="nx">errorlevel</span> <span class="p">=</span> <span class="s2">"warning"</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Image effects.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># See th' documentat'n fer how ye can even add yer own arbitrary effects t'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># th' list.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># All effects can be overridden 'n th' page's frontmatter or thru URL parameter</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># given t' th' image. See th' documentat'n fer details.</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: false</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">imageEffects</span><span class="p">.</span><span class="nx">border</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: true</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">imageEffects</span><span class="p">.</span><span class="nx">lazy</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: true</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">imageEffects</span><span class="p">.</span><span class="nx">lightbox</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: false</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">imageEffects</span><span class="p">.</span><span class="nx">shadow</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c">#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Links</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># These opt'ns configure how links be displayed.</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># What t' do when local plank link be not resolved.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: ""</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Ye can control what should happen if a local link can not be resolved t' a</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># plank. If not set, th' unresolved link be written as given into th' result'n</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># output. If set t' `warning` th' same happens an' an additional warning be</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># printed. If set t' `error` an error message be printed an' th' build be</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># aborted.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Please note that wit' Cap'n Hugo < 0.123.0 + `uglyURLs=true` this can lead t' false</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># negatives.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">link</span><span class="p">.</span><span class="nx">errorlevel</span> <span class="p">=</span> <span class="s2">"warning"</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># How t' open external links.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: "_blank"</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># For external links ye can define how they be opened 'n yer browser. All</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># values fer th' HTML `target` attribute o' th' `a` element be allowed. Th'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># default value opens external links 'n a separate browser tab. If ye want</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># t' open those links 'n th' same tab, use "_self".</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">externalLinkTarget</span> <span class="p">=</span> <span class="s2">"_blank"</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Generate link URLs th' Cap'n Hugo way.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: false</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># If set t' true, th' theme behaves like a standard Cap'n Hugo installat'n an'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># appends no index.html t' prettyURLs. As a trade off, yer build project will</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># not be serv'ble from th' file system.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">disableExplicitIndexURLs</span> <span class="p">=</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c">#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># MathJax</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># These opt'ns configure how math formulae be displayed.</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Initializat'n opt'ns fer MathJax.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: not set</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># A JSON value. See th' MathJaxdocumentat'n fer poss'ble parameter.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># This can be overridden 'n th' page's frontmatter.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">mathJaxInitialize</span> <span class="p">=</span> <span class="s2">"{}"</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Only board MathJax if needed.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: true</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># If a Math shortcode be found, th' opt'n will be ignored an'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># MathJax will be boarded regardlessly. Th' opt'n be still useful 'n case ye</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># be us'n script'n t' set up yer graph. In this case no shortcode or</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># codefence be involved an' th' library be not boarded by default. In this case</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># ye can set `disableMathJax=false` 'n yer frontmatter t' force th' library t'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># be boarded.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># This can be overridden 'n th' page's frontmatter.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">disableMathJax</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># URL fer external MathJax library.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: not set</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Specifies th' remote locat'n o' th' MathJax library. By default th' shipped</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># version will be used.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># This can be overridden 'n th' page's frontmatter.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">customMathJaxURL</span> <span class="p">=</span> <span class="s2">""</span> <span class="c"># "https://unpkg.com/mathjax/es5/tex-mml-chtml.js"</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c">#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Merrrmaid</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># These opt'ns configure how Merrrmaid graphs be displayed.</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Make graphs pan'ble an' zoom'ble</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: false</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># For huge graphs it can be helpful t' make them zoom'ble. Zoom'ble graphs come</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># wit' a reset button fer th' zoom.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># This can be overridden 'n th' page's frontmatter or given as a parameter t'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># individual graphs.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">mermaidZoom</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Initializat'n opt'ns fer Merrrmaid.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: not set</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># A JSON value. See th' Merrrmaid documentat'n fer poss'ble parameter.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># This can be overridden 'n th' page's frontmatter.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">mermaidInitialize</span> <span class="p">=</span> <span class="s2">"{ \"securityLevel\": \"loose\" }"</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Only board Merrrmaid if needed.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: true</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># If a Merrrmaid shortcode or codefence be found, th' opt'n will be ignored an'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Merrrmaid will be boarded regardlessly. Th' opt'n be still useful 'n case ye</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># be us'n script'n t' set up yer graph. In this case no shortcode or</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># codefence be involved an' th' library be not boarded by default. In this case</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># ye can set `disableMermaid=false` 'n yer frontmatter t' force th' library t'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># be boarded.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># This can be overridden 'n th' page's frontmatter.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">disableMermaid</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># URL fer external Merrrmaid library.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: not set</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Specifies th' remote locat'n o' th' Merrrmaid library. By default th' shipped</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># version will be used.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># This can be overridden 'n th' page's frontmatter.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">customMermaidURL</span> <span class="p">=</span> <span class="s2">""</span> <span class="c"># "https://unpkg.com/mermaid/dist/mermaid.min.js"</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c">#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># OpenApi</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># These opt'ns configure how OpenAPI specificat'ns be displayed.</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Only board OpenAPI if needed.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: true</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># If a OpenAPI shortcode be found, th' opt'n will be ignored an'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># OpenAPI will be boarded regardlessly. Th' opt'n be still useful 'n case ye</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># be us'n script'n t' set up yer graph. In this case no shortcode or</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># codefence be involved an' th' library be not boarded by default. In this case</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># ye can set `disableOpenapi=false` 'n yer frontmatter t' force th' library t'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># be boarded.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># This can be overridden 'n th' page's frontmatter.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">disableOpenapi</span> <span class="p">=</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="c"># URL fer external OpenAPI library.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Default: not set</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># Specifies th' remote locat'n o' th' OpenAPI library. By default th' shipped</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># version will be used.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="c"># This can be overridden 'n th' page's frontmatter.</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">customOpenapiURL</span> <span class="p">=</span> <span class="s2">""</span> <span class="c"># "https://unpkg.com/swagger-ui-dist/swagger-ui-bundle.js"</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<footer class="footline">
|
|
</footer>
|
|
</article>
|
|
|
|
<article class="default">
|
|
<header class="headline">
|
|
</header>
|
|
|
|
<h1 id="brrrandn">Brrrand'n</h1>
|
|
|
|
|
|
<p>Th' Relearrrn theme provides configurat'n opt'ns t' change yer site’s colors, favicon an' logo. This allows ye t' easily align yer ship visuals t' yer desired style. Most o' these opt'ns be exposed thru so called color variants.</p>
|
|
<p>A color variant lets ye cust'mize various visual effects o' yer ship like almost any color, used fonts, color schemes o' print, rules highligtn'n, Merrrmaid an' th' OpenAPI shortcode, etc. It contains o' a CSS file an' optional configurat'n opt'ns 'n yer <code>hugo.toml</code>.</p>
|
|
<p>Th' Relearrrn theme ships wit' a wide set o' different color variants. Ye can use them as-is, copy them over an' use them as a start'n point fer yer customizat'ns or just create completely new variants unique t' yer ship. Th' <a href="/hugo-theme-relearn/pir/basics/generator/index.html">interactive variant generator</a> may help ye wit' this task.</p>
|
|
<p>Once configured 'n yer <code>hugo.toml</code>, ye can select them wit' th' variant selector at th' bottom o' th' menu.</p>
|
|
<h2 id="theme-variant">Change th' Variant (Simple)</h2>
|
|
<h3 id="single-variant">Single Variant</h3>
|
|
<p>Set th' <code>themeVariant</code> value t' th' name o' yer theme file. That’s it! Yer ship will be displayed 'n this variant only.</p>
|
|
|
|
<div class="tab-panel" data-tab-group="config-code">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">hugo.</div>
|
|
<button
|
|
data-tab-item="toml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('config-code','toml')"
|
|
>
|
|
<span class="tab-nav-text">toml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="yaml"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','yaml')"
|
|
>
|
|
<span class="tab-nav-text">yaml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="json"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','json')"
|
|
>
|
|
<span class="tab-nav-text">json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="toml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="p">[</span><span class="nx">params</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">themeVariant</span> <span class="p">=</span> <span class="s1">'relearn-light'</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="yaml"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">params</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">themeVariant</span><span class="p">:</span><span class="w"> </span><span class="l">relearn-light</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="json"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"params"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"themeVariant"</span><span class="p">:</span> <span class="s2">"relearn-light"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="box notices cstyle note">
|
|
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Avast</div>
|
|
<div class="box-content">
|
|
|
|
<p>Yer theme variant file must reside 'n yer site’s <code>static/css</code> directory or 'n th' theme’s <code>static/css</code> directory an' th' file name must start wit' <code>theme-</code> an' end wit <code>.css</code>. In th' above example, th' path o' yer theme file must be <code>static/css/theme-relearn-light.css</code>.</p>
|
|
<p>If ye want t' make changes t' a shipped color variant, create a copy 'n yer site’s <code>static/css</code> directory. Don’t edit th' file 'n th' theme’s directory!</p>
|
|
</div>
|
|
</div>
|
|
<h3 id="multiple-variants">Multiple Variants</h3>
|
|
<p>Ye can also set multiple variants. In this case, th' first variant be th' default chosen on first view an' a variant selector will be shown 'n th' menu footer if th' array contains more than one entry.</p>
|
|
|
|
<div class="tab-panel" data-tab-group="config-code">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">hugo.</div>
|
|
<button
|
|
data-tab-item="toml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('config-code','toml')"
|
|
>
|
|
<span class="tab-nav-text">toml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="yaml"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','yaml')"
|
|
>
|
|
<span class="tab-nav-text">yaml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="json"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','json')"
|
|
>
|
|
<span class="tab-nav-text">json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="toml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="p">[</span><span class="nx">params</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">themeVariant</span> <span class="p">=</span> <span class="p">[</span><span class="s1">'relearn-light'</span><span class="p">,</span> <span class="s1">'relearn-dark'</span><span class="p">]</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="yaml"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">params</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">themeVariant</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">relearn-light</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">relearn-dark</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="json"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"params"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"themeVariant"</span><span class="p">:</span> <span class="p">[</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"relearn-light"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"relearn-dark"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="box notices cstyle tip">
|
|
<div class="box-label"><i class="fa-fw fas fa-lightbulb"></i> Smarrrt Arrrse</div>
|
|
<div class="box-content">
|
|
|
|
<p>Th' theme provides an advanced configurat'n mode, combin'n th' functionality fer multiple variants wit' th' below possibilities o' adjust'n t' yer OS sett'ns an' rules highlightn'n an' even more!</p>
|
|
<p>Although all opt'ns documented here be still work'n, th' advanced configurat'n opt'ns be th' recommended way t' configure yer color variants. <a href="/hugo-theme-relearn/pir/basics/branding/index.html#theme-variant-advanced">See below</a>.</p>
|
|
</div>
|
|
</div>
|
|
<h2 id="adjust-to-os-settings">Adjust t' OS Sett'ns</h2>
|
|
<p>Ye can also cause th' ship t' adjust t' yer OS sett'ns fer light/dark mode. Just set th' <code>themeVariant</code> t' <code>auto</code> t' become an auto mode variant. That’s it.</p>
|
|
<p>Ye can use th' <code>auto</code> value wit' th' single or multiple variants opt'n. If ye be us'n multiple variants, ye can drop <code>auto</code> at any posit'n 'n th' option’s array, but usually it makes sense t' set it 'n th' first posit'n an' make it th' default.</p>
|
|
|
|
<div class="tab-panel" data-tab-group="config-code">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">hugo.</div>
|
|
<button
|
|
data-tab-item="toml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('config-code','toml')"
|
|
>
|
|
<span class="tab-nav-text">toml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="yaml"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','yaml')"
|
|
>
|
|
<span class="tab-nav-text">yaml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="json"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','json')"
|
|
>
|
|
<span class="tab-nav-text">json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="toml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="p">[</span><span class="nx">params</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">themeVariant</span> <span class="p">=</span> <span class="p">[</span><span class="s1">'auto'</span><span class="p">,</span> <span class="s1">'red'</span><span class="p">]</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="yaml"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">params</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">themeVariant</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">auto</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">red</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="json"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"params"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"themeVariant"</span><span class="p">:</span> <span class="p">[</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"auto"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"red"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<p>If ye don’t configure anyth'n else, th' theme will default t' use <code>relearn-light</code> fer light mode an' <code>relearn-dark</code> fer dark mode. These defaults be overwritten by th' first two non-auto opt'ns o' yer <code>themeVariant</code> opt'n if present.</p>
|
|
<p>In th' above example, ye would end wit' <code>red</code> fer light mode an' th' default o' <code>relearn-dark</code> fer dark mode.</p>
|
|
<p>If ye don’t like that behavior, ye can explicitly set <code>themeVariantAuto</code>. Th' first entry 'n th' array be th' color variant fer light mode, th' second fer dark mode.</p>
|
|
|
|
<div class="tab-panel" data-tab-group="config-code">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">hugo.</div>
|
|
<button
|
|
data-tab-item="toml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('config-code','toml')"
|
|
>
|
|
<span class="tab-nav-text">toml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="yaml"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','yaml')"
|
|
>
|
|
<span class="tab-nav-text">yaml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="json"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','json')"
|
|
>
|
|
<span class="tab-nav-text">json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="toml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="p">[</span><span class="nx">params</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">themeVariantAuto</span> <span class="p">=</span> <span class="p">[</span><span class="s1">'learn'</span><span class="p">,</span> <span class="s1">'neon'</span><span class="p">]</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="yaml"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">params</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">themeVariantAuto</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">learn</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">neon</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="json"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"params"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"themeVariantAuto"</span><span class="p">:</span> <span class="p">[</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"learn"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"neon"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<h2 id="change-the-favicon">Change th' Favicon</h2>
|
|
<p>If yer favicon be a SVG, PNG or ICO, just drop yer image 'n yer site’s <code>static/images/</code> directory an' name it <code>favicon.svg</code>, <code>favicon.png</code> or <code>favicon.ico</code> respectively.</p>
|
|
<p>If ye want t' adjust yer favicon accord'n t' yer OS sett'ns fer light/dark mode, add th' image files <code>static/images/favicon-light.svg</code> an' <code>static/images/favicon-dark.svg</code> t' yer site’s directory, respectively, correspond'n t' yer file format. In case some o' th' files be miss'n, th' theme falls back t' <code>favicon.svg</code> fer each miss'n file. All supplied favicons must be o' th' same file format.</p>
|
|
<p>If no favicon file be found, th' theme will lookup th' alternative filename <code>logo</code> 'n th' same locat'n an' will repeat th' search fer th' list o' supported file types.</p>
|
|
<p>If ye need t' change this default behavior, create a new file <code>layouts/partials/favicon.html</code> 'n yer site’s directory an' write someth'n like this:</p>
|
|
|
|
<div class="tab-panel" data-tab-group="bc6c9adffcd8aab840a5b386f1bcf904">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">​</div>
|
|
<button
|
|
data-tab-item="layoutspartialsfaviconhtml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('bc6c9adffcd8aab840a5b386f1bcf904','layoutspartialsfaviconhtml')"
|
|
>
|
|
<span class="tab-nav-text">layouts/partials/favicon.html</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="layoutspartialsfaviconhtml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-html" data-lang="html"><span class="line"><span class="cl"><span class="p"><</span><span class="nt">link</span> <span class="na">rel</span><span class="o">=</span><span class="s">"icon"</span> <span class="na">href</span><span class="o">=</span><span class="s">"/images/favicon.bmp"</span> <span class="na">type</span><span class="o">=</span><span class="s">"image/bmp"</span><span class="p">></span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div><h2 id="change-the-logo">Change th' Logo</h2>
|
|
<p>Create a new file 'n <code>layouts/partials/logo.html</code> o' yer ship. Then write any HTML ye want. Ye could use an <code>img</code> HTML tag an' reference an image created under th' <em>static</em> folder, or ye could paste a SVG definit'n!</p>
|
|
|
|
<div class="box notices cstyle note">
|
|
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Avast</div>
|
|
<div class="box-content">
|
|
|
|
<p>Th' size o' th' logo will adapt automatically.</p>
|
|
</div>
|
|
</div>
|
|
<h2 id="syntax-highlightning">Rules Highlightn'n</h2>
|
|
<p>If ye want t' switch th' rules highlight'n theme together wit' yer color variant, ye need t' configure yer installat'n <a href="https://gohugo.io/content-management/syntax-highlighting/" rel="external" target="_blank">accord'n t' Hugo’s documentat'n</a> an' provide a rules highlight'n stylesheet file.</p>
|
|
<p>Ye can use a one o' th' shipped stylesheet files or use Cap'n Hugo t' generate a file fer ye. Th' file must be written t' <code>static/css/chroma-<NAME>.css</code>. T' use it wit' yer color variant ye have t' define <code>--CODE-theme: <NAME></code> 'n th' color variant stylesheet file.</p>
|
|
<p>For an example, take a look into <a href="https://github.com/McShelby/hugo-theme-relearn/blob/main/static/css/theme-relearn-light.css" rel="external" target="_blank"><code>theme-relearn-light.css</code></a> an' <a href="https://github.com/McShelby/hugo-theme-relearn/blob/main/exampleSite/config/_default/hugo.toml" rel="external" target="_blank"><code>hugo.toml</code></a> o' th' exampleSite.</p>
|
|
<h2 id="theme-variant-advanced">Change th' Variant (Advanced)</h2>
|
|
<p>Th' theme offers a new way t' configure theme variants an' all o' th' aspects above inside o' a single configurat'n item. This comes wit' some features previously unsupported.</p>
|
|
<p>Like wit' th' <a href="/hugo-theme-relearn/pir/basics/branding/index.html#multiple-variants">multiple variants</a> opt'n, ye be defin'n yer theme variants 'n an array but now <em>not by simple str'ns</em> <strong>but 'n a t'ble wit' subopt'ns</strong>.</p>
|
|
<p>Again, 'n this case, th' first variant be th' default chosen on first view an' a variant selector will be shown 'n th' menu footer if th' array contains more than one entry.</p>
|
|
|
|
<div class="tab-panel" data-tab-group="config-code">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">hugo.</div>
|
|
<button
|
|
data-tab-item="toml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('config-code','toml')"
|
|
>
|
|
<span class="tab-nav-text">toml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="yaml"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','yaml')"
|
|
>
|
|
<span class="tab-nav-text">yaml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="json"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','json')"
|
|
>
|
|
<span class="tab-nav-text">json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="toml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="p">[</span><span class="nx">params</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">themeVariant</span> <span class="p">=</span> <span class="p">[</span><span class="s1">'relearn-light'</span><span class="p">,</span> <span class="s1">'relearn-dark'</span><span class="p">]</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="yaml"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">params</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">themeVariant</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">relearn-light</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">relearn-dark</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="json"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"params"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"themeVariant"</span><span class="p">:</span> <span class="p">[</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"relearn-light"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"relearn-dark"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<p>ye now write it that way:</p>
|
|
|
|
<div class="tab-panel" data-tab-group="config-code">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">hugo.</div>
|
|
<button
|
|
data-tab-item="toml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('config-code','toml')"
|
|
>
|
|
<span class="tab-nav-text">toml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="yaml"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','yaml')"
|
|
>
|
|
<span class="tab-nav-text">yaml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="json"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','json')"
|
|
>
|
|
<span class="tab-nav-text">json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="toml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="p">[</span><span class="nx">params</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">params</span><span class="p">.</span><span class="nx">themeVariant</span><span class="p">]]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">identifier</span> <span class="p">=</span> <span class="s1">'relearn-light'</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">params</span><span class="p">.</span><span class="nx">themeVariant</span><span class="p">]]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">identifier</span> <span class="p">=</span> <span class="s1">'relearn-dark'</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="yaml"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">params</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">themeVariant</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="nt">identifier</span><span class="p">:</span><span class="w"> </span><span class="l">relearn-light</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="nt">identifier</span><span class="p">:</span><span class="w"> </span><span class="l">relearn-dark</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="json"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"params"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"themeVariant"</span><span class="p">:</span> <span class="p">[</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"identifier"</span><span class="p">:</span> <span class="s2">"relearn-light"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"identifier"</span><span class="p">:</span> <span class="s2">"relearn-dark"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<p>Th' <code>identifier</code> opt'n be mandatory an' equivalent t' th' str'n 'n th' first example. Further opt'ns can be configured, see th' t'ble below.</p>
|
|
<h3 id="parameter">Parameter</h3>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Default</th>
|
|
<th>Notes</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>identifier</td>
|
|
<td><em><empty></em></td>
|
|
<td>Must correspond t' th' name o' a color variant either 'n yer site’s or th' theme’s directory 'n th' form <code>static/css/theme-<IDENTIFIER>.css</code>.</td>
|
|
</tr>
|
|
<tr>
|
|
<td>name</td>
|
|
<td>see notes</td>
|
|
<td>Th' name t' be displayed 'n th' variant selector. If not set, th' identifier be used 'n a human read'ble form.</td>
|
|
</tr>
|
|
<tr>
|
|
<td>auto</td>
|
|
<td><em><empty></em></td>
|
|
<td>If set, th' variant be treated as an <a href="/hugo-theme-relearn/pir/basics/branding/index.html#adjust-to-os-settings">auto mode variant</a>. It has th' same behavior as th' <code>themeVariantAuto</code> opt'n. Th' first entry 'n th' array be th' color variant fer light mode, th' second fer dark mode. Defin'n auto mode variants wit' th' advanced opt'ns has th' benefit that ye can now have multiple auto mode variants instead o' just one wit' th' simple opt'ns.</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h3 id="example-configuration-of-this-site">Example Configurat'n o' This Ship</h3>
|
|
|
|
<div class="tab-panel" data-tab-group="config-code">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">hugo.</div>
|
|
<button
|
|
data-tab-item="toml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('config-code','toml')"
|
|
>
|
|
<span class="tab-nav-text">toml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="yaml"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','yaml')"
|
|
>
|
|
<span class="tab-nav-text">yaml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="json"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','json')"
|
|
>
|
|
<span class="tab-nav-text">json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="toml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="p">[</span><span class="nx">params</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">params</span><span class="p">.</span><span class="nx">themeVariant</span><span class="p">]]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">auto</span> <span class="p">=</span> <span class="p">[]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">identifier</span> <span class="p">=</span> <span class="s1">'relearn-auto'</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">name</span> <span class="p">=</span> <span class="s1">'Relearn Light/Dark'</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">params</span><span class="p">.</span><span class="nx">themeVariant</span><span class="p">]]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">identifier</span> <span class="p">=</span> <span class="s1">'relearn-light'</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">params</span><span class="p">.</span><span class="nx">themeVariant</span><span class="p">]]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">identifier</span> <span class="p">=</span> <span class="s1">'relearn-dark'</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">params</span><span class="p">.</span><span class="nx">themeVariant</span><span class="p">]]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">auto</span> <span class="p">=</span> <span class="p">[</span><span class="s1">'zen-light'</span><span class="p">,</span> <span class="s1">'zen-dark'</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">identifier</span> <span class="p">=</span> <span class="s1">'zen-auto'</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">name</span> <span class="p">=</span> <span class="s1">'Zen Light/Dark'</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">params</span><span class="p">.</span><span class="nx">themeVariant</span><span class="p">]]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">identifier</span> <span class="p">=</span> <span class="s1">'zen-light'</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">params</span><span class="p">.</span><span class="nx">themeVariant</span><span class="p">]]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">identifier</span> <span class="p">=</span> <span class="s1">'zen-dark'</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">params</span><span class="p">.</span><span class="nx">themeVariant</span><span class="p">]]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">identifier</span> <span class="p">=</span> <span class="s1">'neon'</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="yaml"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">params</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">themeVariant</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="nt">auto</span><span class="p">:</span><span class="w"> </span><span class="p">[]</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">identifier</span><span class="p">:</span><span class="w"> </span><span class="l">relearn-auto</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l">Relearrrn Light/Dark</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="nt">identifier</span><span class="p">:</span><span class="w"> </span><span class="l">relearn-light</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="nt">identifier</span><span class="p">:</span><span class="w"> </span><span class="l">relearn-dark</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="nt">auto</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">zen-light</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">zen-dark</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">identifier</span><span class="p">:</span><span class="w"> </span><span class="l">zen-auto</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l">Zen Light/Dark</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="nt">identifier</span><span class="p">:</span><span class="w"> </span><span class="l">zen-light</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="nt">identifier</span><span class="p">:</span><span class="w"> </span><span class="l">zen-dark</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="nt">identifier</span><span class="p">:</span><span class="w"> </span><span class="l">neon</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="json"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"params"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"themeVariant"</span><span class="p">:</span> <span class="p">[</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"auto"</span><span class="p">:</span> <span class="p">[],</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"identifier"</span><span class="p">:</span> <span class="s2">"relearn-auto"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"Relearn Light/Dark"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"identifier"</span><span class="p">:</span> <span class="s2">"relearn-light"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"identifier"</span><span class="p">:</span> <span class="s2">"relearn-dark"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"auto"</span><span class="p">:</span> <span class="p">[</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"zen-light"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"zen-dark"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">],</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"identifier"</span><span class="p">:</span> <span class="s2">"zen-auto"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"Zen Light/Dark"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"identifier"</span><span class="p">:</span> <span class="s2">"zen-light"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"identifier"</span><span class="p">:</span> <span class="s2">"zen-dark"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"identifier"</span><span class="p">:</span> <span class="s2">"neon"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<h2 id="modify-shipped-variants">Modify Shipped Variants</h2>
|
|
<p>In case ye like a shipped variant but only want t' tweak some aspects, ye have two choices:</p>
|
|
<ol>
|
|
<li>
|
|
<p>Copy an' change</p>
|
|
<p>Ye can copy th' shipped variant file from th' theme’s <code>static/css</code> directory t' th' site’s <code>static/css</code> directory an' either store it wit' th' same name or give it a new name. Edit th' sett'ns an' save th' new file. Afterwards ye can use it 'n yer <code>hugo.toml</code> by th' choosen name.</p>
|
|
</li>
|
|
<li>
|
|
<p>Create an' import</p>
|
|
<p>Ye can create a new variant file 'n th' site’s <code>static/css</code> directory an' give it a new name. Import th' shipped variant, add th' sett'ns ye want t' change an' save th' new file. Afterwards ye can use it 'n yer <code>hugo.toml</code> by th' choosen name.</p>
|
|
<p>For example, ye want t' use th' <code>relearn-light</code> variant but want t' change th' rules highlightn'n schema t' th' one used 'n th' <code>neon</code> variant. For that, create a new <code>static/css/theme-my-brand'n.css</code> 'n yer site’s directory an' add th' follow'n lines:</p>
|
|
|
|
<div class="tab-panel" data-tab-group="c3a12c2583f1d2796709117c5dca9763">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">​</div>
|
|
<button
|
|
data-tab-item="staticcsstheme-my-brandingcss"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('c3a12c2583f1d2796709117c5dca9763','staticcsstheme-my-brandingcss')"
|
|
>
|
|
<span class="tab-nav-text">static/css/theme-my-brand'n.css</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="staticcsstheme-my-brandingcss"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-css" data-lang="css"><span class="line"><span class="cl"><span class="p">@</span><span class="k">import</span> <span class="s2">"theme-relearn-light.css"</span><span class="p">;</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"><span class="p">:</span><span class="nd">root</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nv">--CODE-theme</span><span class="p">:</span> <span class="n">neon</span><span class="p">;</span> <span class="c">/* name o' th' chroma stylesheet file */</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nv">--CODE-BLOCK-color</span><span class="p">:</span> <span class="nb">rgba</span><span class="p">(</span> <span class="mi">226</span><span class="p">,</span> <span class="mi">228</span><span class="p">,</span> <span class="mi">229</span><span class="p">,</span> <span class="mi">1</span> <span class="p">);</span> <span class="c">/* fallback color fer code text */</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nv">--CODE-BLOCK-BG-color</span><span class="p">:</span> <span class="nb">rgba</span><span class="p">(</span> <span class="mi">40</span><span class="p">,</span> <span class="mi">42</span><span class="p">,</span> <span class="mi">54</span><span class="p">,</span> <span class="mi">1</span> <span class="p">);</span> <span class="c">/* fallback color fer code background */</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div><p>Afterwards put this 'n yer <code>hugo.toml</code> t' use yer new variant:</p>
|
|
|
|
<div class="tab-panel" data-tab-group="config-code">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">hugo.</div>
|
|
<button
|
|
data-tab-item="toml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('config-code','toml')"
|
|
>
|
|
<span class="tab-nav-text">toml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="yaml"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','yaml')"
|
|
>
|
|
<span class="tab-nav-text">yaml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="json"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','json')"
|
|
>
|
|
<span class="tab-nav-text">json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="toml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="p">[</span><span class="nx">params</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">themeVariant</span> <span class="p">=</span> <span class="s1">'my-branding'</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="yaml"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">params</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">themeVariant</span><span class="p">:</span><span class="w"> </span><span class="l">my-brand'n</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="json"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"params"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"themeVariant"</span><span class="p">:</span> <span class="s2">"my-branding"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<p>In comparison t' <em>copy an' change</em>, this has th' advantage that ye profit from any adjustments t' th' <code>relearn-light</code> variant but keep yer modificat'ns.</p>
|
|
</li>
|
|
</ol>
|
|
|
|
|
|
<footer class="footline">
|
|
<div class=" taxonomy-categories term-list cstyle " title="Categorrries" style="--VARIABLE-TAGS-BG-color: var(--INTERNAL-TAG-BG-color);">
|
|
<i class="fa-fw fas fa-layer-group"></i>
|
|
<ul>
|
|
<li><a class="term-link" href="/hugo-theme-relearn/pir/categories/custom/index.html">Custom</a></li>
|
|
<li><a class="term-link" href="/hugo-theme-relearn/pir/categories/theming/index.html">Theming</a></li>
|
|
</ul>
|
|
</div>
|
|
</footer>
|
|
</article>
|
|
|
|
<article class="default">
|
|
<header class="headline">
|
|
</header>
|
|
|
|
<h1 id="customizatn">Customizat'n</h1>
|
|
|
|
|
|
<h2 id="usage-scenarios">Usage scenarios</h2>
|
|
<p>Th' theme be us'ble 'n different scenarios, requir'n th' follow'n mandatory sett'ns 'n yer <code>hugo.toml</code>. All sett'ns not mentioned can be set t' yer lik'n.</p>
|
|
<h3 id="public-webserver-from-root">Public Webserver from Root</h3>
|
|
|
|
<div class="tab-panel" data-tab-group="config-code">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">hugo.</div>
|
|
<button
|
|
data-tab-item="toml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('config-code','toml')"
|
|
>
|
|
<span class="tab-nav-text">toml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="yaml"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','yaml')"
|
|
>
|
|
<span class="tab-nav-text">yaml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="json"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','json')"
|
|
>
|
|
<span class="tab-nav-text">json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="toml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="nx">baseURL</span> <span class="p">=</span> <span class="s1">'https://example.com/'</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="yaml"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">baseURL</span><span class="p">:</span><span class="w"> </span><span class="l">https://example.com/</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="json"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"baseURL"</span><span class="p">:</span> <span class="s2">"https://example.com/"</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<h3 id="public-webserver-from-subdirectory">Public Webserver from Subdirectory</h3>
|
|
|
|
<div class="tab-panel" data-tab-group="config-code">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">hugo.</div>
|
|
<button
|
|
data-tab-item="toml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('config-code','toml')"
|
|
>
|
|
<span class="tab-nav-text">toml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="yaml"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','yaml')"
|
|
>
|
|
<span class="tab-nav-text">yaml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="json"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','json')"
|
|
>
|
|
<span class="tab-nav-text">json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="toml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="nx">baseURL</span> <span class="p">=</span> <span class="s1">'https://example.com/mysite/'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">relativeURLs</span> <span class="p">=</span> <span class="kc">false</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="yaml"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">baseURL</span><span class="p">:</span><span class="w"> </span><span class="l">https://example.com/mysite/</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"></span><span class="nt">relativeURLs</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="json"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"baseURL"</span><span class="p">:</span> <span class="s2">"https://example.com/mysite/"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"relativeURLs"</span><span class="p">:</span> <span class="kc">false</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<h3 id="private-webserver-lan">Private Webserver (LAN)</h3>
|
|
<p>Th' same sett'ns as wit' any o' th' public webserver usage scenarios or</p>
|
|
|
|
<div class="tab-panel" data-tab-group="config-code">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">hugo.</div>
|
|
<button
|
|
data-tab-item="toml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('config-code','toml')"
|
|
>
|
|
<span class="tab-nav-text">toml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="yaml"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','yaml')"
|
|
>
|
|
<span class="tab-nav-text">yaml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="json"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','json')"
|
|
>
|
|
<span class="tab-nav-text">json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="toml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="nx">baseURL</span> <span class="p">=</span> <span class="s1">'/'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">relativeURLs</span> <span class="p">=</span> <span class="kc">true</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="yaml"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">baseURL</span><span class="p">:</span><span class="w"> </span><span class="l">/</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"></span><span class="nt">relativeURLs</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="json"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"baseURL"</span><span class="p">:</span> <span class="s2">"/"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"relativeURLs"</span><span class="p">:</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<h3 id="file-system">File System</h3>
|
|
|
|
<div class="tab-panel" data-tab-group="config-code">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">hugo.</div>
|
|
<button
|
|
data-tab-item="toml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('config-code','toml')"
|
|
>
|
|
<span class="tab-nav-text">toml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="yaml"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','yaml')"
|
|
>
|
|
<span class="tab-nav-text">yaml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="json"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','json')"
|
|
>
|
|
<span class="tab-nav-text">json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="toml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="nx">baseURL</span> <span class="p">=</span> <span class="s1">'/'</span>
|
|
</span></span><span class="line"><span class="cl"><span class="nx">relativeURLs</span> <span class="p">=</span> <span class="kc">true</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="yaml"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">baseURL</span><span class="p">:</span><span class="w"> </span><span class="l">/</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"></span><span class="nt">relativeURLs</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="json"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"baseURL"</span><span class="p">:</span> <span class="s2">"/"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"relativeURLs"</span><span class="p">:</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="box notices cstyle warning">
|
|
<div class="box-label"><i class="fa-fw fas fa-exclamation-triangle"></i> Arrr</div>
|
|
<div class="box-content">
|
|
|
|
<p>Us'n a <code>baseURL</code> wit' a subdirectory an' <code>relativeURLs=true</code> be mutally exclusive due t' th' fact, that <a href="https://github.com/gohugoio/hugo/issues/12130" rel="external" target="_blank">Cap'n Hugo does not apply th' <code>baseURL</code> correctly</a>.</p>
|
|
<p>If ye need both, ye have t' generate yer ship twice but wit' different sett'ns into separate directories.</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="box notices cstyle note">
|
|
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Avast</div>
|
|
<div class="box-content">
|
|
|
|
<p>Sublemental planks (like <code>sitemap.xml</code>, <code>rss.xml</code>) an' generated social media links inside o' yer planks will always be generated wit' absolute URLs an' will not work if ye set <code>relativeURLs=true</code>.</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="box notices cstyle info">
|
|
<div class="box-label"><i class="fa-fw fas fa-info-circle"></i> Ahoi</div>
|
|
<div class="box-content">
|
|
|
|
<p>If ye be us'n <code>uglyURLs=false</code> (Hugo’s default), th' theme will append an additional <code>index.html</code> t' all plank links t' make yer ship be serv'ble from th' file system. If ye don’t care about th' file system an' only serve yer plank via a webserver ye can generate th' links without this:</p>
|
|
<div class="tab-panel" data-tab-group="config-code">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">hugo.</div>
|
|
<button
|
|
data-tab-item="toml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('config-code','toml')"
|
|
>
|
|
<span class="tab-nav-text">toml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="yaml"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','yaml')"
|
|
>
|
|
<span class="tab-nav-text">yaml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="json"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','json')"
|
|
>
|
|
<span class="tab-nav-text">json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="toml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="p">[</span><span class="nx">params</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">disableExplicitIndexURLs</span> <span class="p">=</span> <span class="kc">true</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="yaml"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">params</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">disableExplicitIndexURLs</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="json"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"params"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"disableExplicitIndexURLs"</span><span class="p">:</span> <span class="kc">true</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<h2 id="activate-search">Activate search</h2>
|
|
<p>If not already present, add th' follow'n lines 'n yer <code>hugo.toml</code> file.</p>
|
|
|
|
<div class="tab-panel" data-tab-group="config-code">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">hugo.</div>
|
|
<button
|
|
data-tab-item="toml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('config-code','toml')"
|
|
>
|
|
<span class="tab-nav-text">toml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="yaml"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','yaml')"
|
|
>
|
|
<span class="tab-nav-text">yaml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="json"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','json')"
|
|
>
|
|
<span class="tab-nav-text">json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="toml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="p">[</span><span class="nx">outputs</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">home</span> <span class="p">=</span> <span class="p">[</span><span class="s1">'html'</span><span class="p">,</span> <span class="s1">'rss'</span><span class="p">,</span> <span class="s1">'search'</span><span class="p">]</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="yaml"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">outputs</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">home</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">html</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">rss</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">search</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="json"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"outputs"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"home"</span><span class="p">:</span> <span class="p">[</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"html"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"rss"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"search"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<p>This will generate a search index file at th' root o' yer public folder ready t' be consumed by th' Lunr search library. Avast that th' <code>search</code> outputformat was named <code>json</code> 'n previous releases but was implemented differently. Although <code>json</code> still works, it be now deprecated.</p>
|
|
|
|
<div class="box notices cstyle note">
|
|
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Avast</div>
|
|
<div class="box-content">
|
|
|
|
<p>If ye want t' use th' search feature from th' file system, migrat'n from an older installat'n o' th' theme, make sure t' change yer outputformat fer th' homepage from th' now deprecated <code>json</code> t' <code>search</code> <a href="/hugo-theme-relearn/pir/basics/customization/index.html#activate-search">as seen below</a>.</p>
|
|
</div>
|
|
</div>
|
|
<h3 id="activate-dedicated-search-page">Activate dedicated search plank</h3>
|
|
<p>Ye can add a dedicated search plank fer yer plank by add'n th' <code>searchpage</code> outputformat t' yer home plank by add'n th' follow'n lines 'n yer <code>hugo.toml</code> file. This will cause Cap'n Hugo t' generate a new file <code>http://example.com/mysite/search.html</code>.</p>
|
|
|
|
<div class="tab-panel" data-tab-group="config-code">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">hugo.</div>
|
|
<button
|
|
data-tab-item="toml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('config-code','toml')"
|
|
>
|
|
<span class="tab-nav-text">toml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="yaml"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','yaml')"
|
|
>
|
|
<span class="tab-nav-text">yaml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="json"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','json')"
|
|
>
|
|
<span class="tab-nav-text">json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="toml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="p">[</span><span class="nx">outputs</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">home</span> <span class="p">=</span> <span class="p">[</span><span class="s1">'html'</span><span class="p">,</span> <span class="s1">'rss'</span><span class="p">,</span> <span class="s1">'search'</span><span class="p">,</span> <span class="s1">'searchpage'</span><span class="p">]</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="yaml"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">outputs</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">home</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">html</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">rss</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">search</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">searchpage</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="json"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"outputs"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"home"</span><span class="p">:</span> <span class="p">[</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"html"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"rss"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"search"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"searchpage"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<p>Ye can access this plank by either click'n on th' magnifier glass or by typ'n some search term an' press'n <code>ENTER</code> inside o' th' menu’s search box .</p>
|
|
<p><a href="#R-image-103f9e30953ae57dd14e3af24fff7b90" class="lightbox-link"><img alt="Screenshot o' th' dedicated search page" class="bg-white border lazy lightbox noshadow figure-image" loading="lazy" src="/hugo-theme-relearn/basics/customization/search_page.png?&width=60pc" style=" height: auto; width: 60pc;"></a>
|
|
<a href="javascript:history.back();" class="lightbox-back" id="R-image-103f9e30953ae57dd14e3af24fff7b90"><img alt="Screenshot o' th' dedicated search page" class="bg-white border lazy lightbox noshadow lightbox-image" loading="lazy" src="/hugo-theme-relearn/basics/customization/search_page.png?&width=60pc"></a></p>
|
|
|
|
<div class="box notices cstyle note">
|
|
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Avast</div>
|
|
<div class="box-content">
|
|
|
|
<p>T' have Cap'n Hugo create th' dedicated search plank successfully, ye must not generate th' URL <code>http://example.com/mysite/search.html</code> from yer own rrrambl'n. This can happen if ye set <code>uglyURLs=true</code> 'n yer <code>hugo.toml</code> an' defin'n a Marrrkdown file <code>content/search.md</code>.</p>
|
|
<p>T' make sure, there be no duplicate rrrambl'n fer any given URL o' yer project, run <code>hugo --printPathWarn'ns</code>.</p>
|
|
</div>
|
|
</div>
|
|
<h2 id="activate-print-support">Activate print support</h2>
|
|
<p>Ye can activate print support t' add th' capability t' print whole chapters or even th' complete ship. Just add th' <code>print</code> output format t' yer home, section an' plank 'n yer <code>hugo.toml</code> as seen below:</p>
|
|
|
|
<div class="tab-panel" data-tab-group="config-code">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">hugo.</div>
|
|
<button
|
|
data-tab-item="toml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('config-code','toml')"
|
|
>
|
|
<span class="tab-nav-text">toml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="yaml"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','yaml')"
|
|
>
|
|
<span class="tab-nav-text">yaml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="json"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','json')"
|
|
>
|
|
<span class="tab-nav-text">json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="toml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="p">[</span><span class="nx">outputs</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">home</span> <span class="p">=</span> <span class="p">[</span><span class="s1">'html'</span><span class="p">,</span> <span class="s1">'rss'</span><span class="p">,</span> <span class="s1">'print'</span><span class="p">,</span> <span class="s1">'search'</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">plank</span> <span class="p">=</span> <span class="p">[</span><span class="s1">'html'</span><span class="p">,</span> <span class="s1">'rss'</span><span class="p">,</span> <span class="s1">'print'</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">section</span> <span class="p">=</span> <span class="p">[</span><span class="s1">'html'</span><span class="p">,</span> <span class="s1">'rss'</span><span class="p">,</span> <span class="s1">'print'</span><span class="p">]</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="yaml"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">outputs</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">home</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">html</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">rss</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">print</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">search</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">plank</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">html</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">rss</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">print</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">section</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">html</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">rss</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="l">print</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="json"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"outputs"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"home"</span><span class="p">:</span> <span class="p">[</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"html"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"rss"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"print"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"search"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">],</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"page"</span><span class="p">:</span> <span class="p">[</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"html"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"rss"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"print"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">],</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"section"</span><span class="p">:</span> <span class="p">[</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"html"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"rss"</span><span class="p">,</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s2">"print"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<p>This will add a little printer ay'con 'n th' top bar. It will switch th' plank t' print preview when clicked. Ye can then send this plank t' th' printer by us'n yer browser’s usual print functionality.</p>
|
|
|
|
<div class="box notices cstyle note">
|
|
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Avast</div>
|
|
<div class="box-content">
|
|
|
|
<p>Th' result'n URL will not be <a href="https://gohugo.io/templates/output-formats/#configure-output-formats" rel="external" target="_blank">configured ugly</a> 'n terms o' <a href="https://gohugo.io/content-management/urls/#ugly-urls" rel="external" target="_blank">Hugo’s URL handl'n</a> even if you’ve set <code>uglyURLs=true</code> 'n yer <code>hugo.toml</code>. This be due t' th' fact that fer one mime type only one suffix can be configured.</p>
|
|
<p>Nevertheless, if you’re unhappy wit' th' result'n URLs ye can manually redefine <code>outputFormats.print</code> 'n yer own <code>hugo.toml</code> t' yer lik'n.</p>
|
|
</div>
|
|
</div>
|
|
<h2 id="home-button-configuration">Home Button Configurat'n</h2>
|
|
<p>If th' <code>disableLandingPageButton</code> opt'n be set t' <code>false</code>, a Home button will appear
|
|
on th' left menu. It be an alternative fer click'n on th' logo. T' edit th'
|
|
appearance, ye will have t' configure th' <code>landingPageName</code> fer th' defined languages:</p>
|
|
|
|
<div class="tab-panel" data-tab-group="config-code">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">hugo.</div>
|
|
<button
|
|
data-tab-item="toml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('config-code','toml')"
|
|
>
|
|
<span class="tab-nav-text">toml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="yaml"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','yaml')"
|
|
>
|
|
<span class="tab-nav-text">yaml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="json"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','json')"
|
|
>
|
|
<span class="tab-nav-text">json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="toml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="p">[</span><span class="nx">languages</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">[</span><span class="nx">languages</span><span class="p">.</span><span class="nx">en</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">[</span><span class="nx">languages</span><span class="p">.</span><span class="nx">en</span><span class="p">.</span><span class="nx">params</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">landingPageName</span> <span class="p">=</span> <span class="s2">"<i class='fa-fw fas fa-home'></i> Home"</span>
|
|
</span></span><span class="line"><span class="cl">
|
|
</span></span><span class="line"><span class="cl"> <span class="p">[</span><span class="nx">languages</span><span class="p">.</span><span class="nx">pir</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">[</span><span class="nx">languages</span><span class="p">.</span><span class="nx">pir</span><span class="p">.</span><span class="nx">params</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">landingPageName</span> <span class="p">=</span> <span class="s2">"<i class='fa-fw fas fa-home'></i> Arrr! Homme"</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="yaml"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">languages</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">en</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">params</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">landingPageName</span><span class="p">:</span><span class="w"> </span><span class="l"><i class='fa-fw fas fa-home'></i> Home</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">pir</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">params</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">landingPageName</span><span class="p">:</span><span class="w"> </span><span class="l"><i class='fa-fw fas fa-home'></i> Arrr! Homme</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="json"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"languages"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"en"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"params"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"landingPageName"</span><span class="p">:</span> <span class="s2">"\u003ci class='fa-fw fas fa-home'\u003e\u003c/i\u003e Home"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">},</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"pir"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"params"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"landingPageName"</span><span class="p">:</span> <span class="s2">"\u003ci class='fa-fw fas fa-home'\u003e\u003c/i\u003e Arrr! Homme"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<p>If this opt'n be not configured fer a specific language, they will get their default values:</p>
|
|
|
|
<div class="tab-panel" data-tab-group="config-code">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">​</div>
|
|
<button
|
|
data-tab-item="toml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('config-code','toml')"
|
|
>
|
|
<span class="tab-nav-text">toml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="yaml"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','yaml')"
|
|
>
|
|
<span class="tab-nav-text">yaml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="json"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','json')"
|
|
>
|
|
<span class="tab-nav-text">json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="toml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="nx">landingPageName</span> <span class="p">=</span> <span class="s2">"<i class='fa-fw fas fa-home'></i> Home"</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="yaml"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">landingPageName</span><span class="p">:</span><span class="w"> </span><span class="l"><i class='fa-fw fas fa-home'></i> Home</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="json"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"landingPageName"</span><span class="p">:</span> <span class="s2">"\u003ci class='fa-fw fas fa-home'\u003e\u003c/i\u003e Home"</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<p>Th' home button be go'n t' look like this:</p>
|
|
<p><a href="#R-image-8ef9b61564ac8225c969ba071be5c530" class="lightbox-link"><img alt="Default Home Button" class="bg-white border lazy lightbox noshadow figure-image" loading="lazy" src="/hugo-theme-relearn/basics/customization/home_button_defaults.png?width=18.75rem" style=" height: auto; width: 18.75rem;"></a>
|
|
<a href="javascript:history.back();" class="lightbox-back" id="R-image-8ef9b61564ac8225c969ba071be5c530"><img alt="Default Home Button" class="bg-white border lazy lightbox noshadow lightbox-image" loading="lazy" src="/hugo-theme-relearn/basics/customization/home_button_defaults.png?width=18.75rem"></a></p>
|
|
<h2 id="social-media-meta-tags">Social Media Meta Tags</h2>
|
|
<p>Ye can add social media meta tags fer th' <a href="https://gohugo.io/templates/internal/#open-graph" rel="external" target="_blank">Open Graph</a> protocol an' <a href="https://gohugo.io/templates/internal/#twitter-cards" rel="external" target="_blank">Twitter Cards</a> t' yer ship. These be configured as mentioned 'n th' Cap'n Hugo docs.</p>
|
|
<h2 id="change-the-menu-width">Change th' Menu Width</h2>
|
|
<p>Th' menu width adjusts automatically fer different screen sizes.</p>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Screen Width</th>
|
|
<th>Menu Width</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>S</td>
|
|
<td>< 48rem</td>
|
|
<td>14.375rem</td>
|
|
</tr>
|
|
<tr>
|
|
<td>M</td>
|
|
<td>48rem - 60rem</td>
|
|
<td>14.375rem</td>
|
|
</tr>
|
|
<tr>
|
|
<td>L</td>
|
|
<td>>= 60rem</td>
|
|
<td>18.75rem</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<p>Th' values fer th' screen width breakpoints aren’t configur'ble.</p>
|
|
<p>If ye want t' adjust th' menu width ye can define th' follow'n CSS variables 'n yer <code>custom-header.html</code>. Avast that <code>--MENU-WIDTH-S</code> applies t' th' menu flyout width 'n mobile mode fer small screen sizes.</p>
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-css" data-lang="css"><span class="line"><span class="cl"><span class="p">:</span><span class="nd">root</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nv">--MENU-WIDTH-S</span><span class="p">:</span> <span class="mf">14.375</span><span class="kt">rem</span><span class="p">;</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nv">--MENU-WIDTH-M</span><span class="p">:</span> <span class="mf">14.375</span><span class="kt">rem</span><span class="p">;</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nv">--MENU-WIDTH-L</span><span class="p">:</span> <span class="mf">18.75</span><span class="kt">rem</span><span class="p">;</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div><h2 id="change-the-main-areas-max-width">Change th' Main Area’s Max Width</h2>
|
|
<p>By default th' main area width will only grow t' a certain extent if more vertical screen space be avail'ble. This be done fer readability purposes as long line be usually harder t' read.</p>
|
|
<p>If ye be unhappy wit' th' default, ye can define th' follow'n CSS vari'ble 'n yer <code>custom-header.html</code> an' set th' value t' yer lik'n. If ye want t' use all avail'ble space, select a really big value like <code>1000rem</code>;</p>
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-css" data-lang="css"><span class="line"><span class="cl"><span class="p">:</span><span class="nd">root</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nv">--MAIN-WIDTH-MAX</span><span class="p">:</span> <span class="mf">80.25</span><span class="kt">rem</span><span class="p">;</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div><h2 id="own-shortcodes-with-javascript-dependencies">Own Shorrrtcodes wit' JavaScript Dependencies</h2>
|
|
<p>Certain shorrrtcodes make use o' additional dependencies like JavaScript an' CSS files. Th' theme only loads these dependencies if th' shortcode be used. T' do so correctly th' theme adds management code 'n various files.</p>
|
|
<p>Ye can ye use this mechanism 'n yer own shorrrtcodes. Say ye want t' add a shortcode <code>myshortcode</code> that also requires th' <code>jquery</code> JavaScript library.</p>
|
|
<ol>
|
|
<li>
|
|
<p>Write th' shortcode file <code>layouts/shortcodes/myshortcode.html</code> an' add th' follow'n line</p>
|
|
|
|
<div class="tab-panel" data-tab-group="2ad9295398ba9e5e61246d11ca038034">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">​</div>
|
|
<button
|
|
data-tab-item="layoutsshortcodesmyshortcodehtml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('2ad9295398ba9e5e61246d11ca038034','layoutsshortcodesmyshortcodehtml')"
|
|
>
|
|
<span class="tab-nav-text">layouts/shortcodes/myshortcode.html</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="layoutsshortcodesmyshortcodehtml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-go" data-lang="go"><span class="line"><span class="cl"><span class="p">{{</span><span class="o">-</span> <span class="p">.</span><span class="nx">Plank</span><span class="p">.</span><span class="nx">Store</span><span class="p">.</span><span class="nx">Set</span> <span class="s">"hasMyShortcode"</span> <span class="kc">true</span> <span class="p">}}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div></li>
|
|
<li>
|
|
<p>Add th' follow'n snippet t' yer <code>hugo.toml</code></p>
|
|
|
|
<div class="tab-panel" data-tab-group="config-code">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">hugo.</div>
|
|
<button
|
|
data-tab-item="toml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('config-code','toml')"
|
|
>
|
|
<span class="tab-nav-text">toml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="yaml"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','yaml')"
|
|
>
|
|
<span class="tab-nav-text">yaml</span>
|
|
</button>
|
|
<button
|
|
data-tab-item="json"
|
|
class="tab-nav-button tab-panel-style cstyle initial"
|
|
onclick="switchTab('config-code','json')"
|
|
>
|
|
<span class="tab-nav-text">json</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="toml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="p">[</span><span class="nx">params</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">[</span><span class="nx">params</span><span class="p">.</span><span class="nx">relearn</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">[</span><span class="nx">params</span><span class="p">.</span><span class="nx">relearn</span><span class="p">.</span><span class="nx">dependencies</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">[</span><span class="nx">params</span><span class="p">.</span><span class="nx">relearn</span><span class="p">.</span><span class="nx">dependencies</span><span class="p">.</span><span class="nx">myshortcode</span><span class="p">]</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">name</span> <span class="p">=</span> <span class="s1">'MyShortcode'</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="yaml"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">params</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">relearn</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">dependencies</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">myshortcode</span><span class="p">:</span><span class="w">
|
|
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l">MyShortcode</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<div
|
|
data-tab-item="json"
|
|
class="tab-content tab-panel-style cstyle initial">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"params"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"relearn"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"dependencies"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"myshortcode"</span><span class="p">:</span> <span class="p">{</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nt">"name"</span><span class="p">:</span> <span class="s2">"MyShortcode"</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p">}</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<li>
|
|
<p>Add th' dependency loader file <code>layouts/partials/dependencies/myshortcode.html</code>. Th' loader file will be called from multiple locat'ns inside o' th' theme wit' th' parameter <code>plank</code> contain'n th' current <a href="https://gohugo.io/methods/page/" rel="external" target="_blank">plank</a> vari'ble an' <code>locat'n</code> wit' one o' th' currently defined locat'ns</p>
|
|
<ul>
|
|
<li><code>header</code>: if called at th' end o' th' HTML <code>head</code> element</li>
|
|
<li><code>footer</code>: if called at th' end o' th' HTML <code>body</code> element</li>
|
|
</ul>
|
|
|
|
<div class="tab-panel" data-tab-group="423e26a863b96c6cd48787ee7598423e">
|
|
<div class="tab-nav">
|
|
<div class="tab-nav-title">​</div>
|
|
<button
|
|
data-tab-item="layoutspartialsdependenciesmyshortcodehtml"
|
|
class="tab-nav-button tab-panel-style cstyle initial active" tabindex="-1"
|
|
onclick="switchTab('423e26a863b96c6cd48787ee7598423e','layoutspartialsdependenciesmyshortcodehtml')"
|
|
>
|
|
<span class="tab-nav-text">layouts/partials/dependencies/myshortcode.html</span>
|
|
</button>
|
|
</div>
|
|
<div class="tab-content-container">
|
|
<div
|
|
data-tab-item="layoutspartialsdependenciesmyshortcodehtml"
|
|
class="tab-content tab-panel-style cstyle initial active">
|
|
<div class="tab-content-text">
|
|
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-go" data-lang="go"><span class="line"><span class="cl"><span class="p">{{</span><span class="o">-</span> <span class="k">if</span> <span class="nx">eq</span> <span class="p">.</span><span class="nx">locat'n</span> <span class="s">"footer"</span> <span class="p">}}</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="p"><</span><span class="nx">script</span> <span class="nx">src</span><span class="p">=</span><span class="s">"https://www.unpkg.com/jquery/dist/jquery.js"</span><span class="p">><</span><span class="o">/</span><span class="nx">script</span><span class="p">></span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">{{</span><span class="o">-</span> <span class="nx">end</span> <span class="p">}}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
</div>
|
|
</div></li>
|
|
</ol>
|
|
<p>Character cas'n be relevant!</p>
|
|
<ul>
|
|
<li>th' <code>name</code> sett'n 'n yer <code>hugo.toml</code> must match th' key (that needs t' be prefixed wit' a <code>has</code>) ye used fer th' store 'n yer <code>layouts/shortcodes/myshortcode.html</code>.</li>
|
|
<li>th' key on <code>params.relearn.dependencies</code> 'n yer <code>hugo.toml</code> must match th' base file name o' yer loader file.</li>
|
|
</ul>
|
|
<p>See th' <code>math</code>, <code>mermaid</code> an' <code>openapi</code> shorrrtcodes fer examples.</p>
|
|
|
|
<div class="box notices cstyle note">
|
|
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Avast</div>
|
|
<div class="box-content">
|
|
|
|
<p>If ye be really into customizat'n o' th' theme an' want t' use th' dependency loader fer yer own locat'ns, ye can do this by simply call'n it from inside o' yer overriden partials</p>
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-go" data-lang="go"><span class="line"><span class="cl"><span class="p">{{</span><span class="o">-</span> <span class="nx">partial</span> <span class="s">"dependencies.html"</span> <span class="p">(</span><span class="nx">dict</span> <span class="s">"page"</span> <span class="p">.</span> <span class="s">"location"</span> <span class="s">"mylocation"</span><span class="p">)</span> <span class="p">}}</span></span></span></code></pre></div></div>
|
|
</div>
|
|
<h2 id="output-formats">Output Formats</h2>
|
|
<p>Certain parts o' th' theme can be changed fer support o' yer own <a href="https://gohugo.io/templates/output-formats/" rel="external" target="_blank">output formats</a>. Eg. if ye define a new output format <code>PLAINTEXT</code> 'n yer <code>hugo.toml</code>, ye can add a file <code>layouts/partials/header.plaintext.html</code> t' change th' way, th' plank header should look like fer that output format.</p>
|
|
<h2 id="react-to-variant-switches-in-javascript">React t' Variant Switches 'n JavaScript</h2>
|
|
<p>Once a color variant be fully boarded, either initially or by switch'n th' color variant manually wit' th' variant selector, th' custom event <code>themeVariantLoaded</code> on th' <code>document</code> will be dispatched. Ye can add an event listener an' react t' changes.</p>
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-javascript" data-lang="javascript"><span class="line"><span class="cl"><span class="nb">document</span><span class="p">.</span><span class="nx">addEventListener</span><span class="p">(</span> <span class="s1">'themeVariantLoaded'</span><span class="p">,</span> <span class="kd">funct'n</span><span class="p">(</span> <span class="nx">e</span> <span class="p">){</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="nx">console</span><span class="p">.</span><span class="nx">log</span><span class="p">(</span> <span class="nx">e</span><span class="p">.</span><span class="nx">detail</span><span class="p">.</span><span class="nx">variant</span> <span class="p">);</span> <span class="c1">// `relearn-light`
|
|
</span></span></span><span class="line"><span class="cl"><span class="c1"></span><span class="p">});</span></span></span></code></pre></div><h2 id="partials">Partials</h2>
|
|
<p>Th' Relearrrn theme has been built t' be as configur'ble as poss'ble by defin'n multiple <a href="https://gohugo.io/templates/partials/" rel="external" target="_blank">partials</a></p>
|
|
<p>In <code>themes/hugo-theme-relearn/layouts/partials/</code>, ye will find all th' partials defined fer this theme. If ye need t' overwrite someth'n, don’t change th' code directly. Instead <a href="https://gohugo.io/themes/customizing/" rel="external" target="_blank">follow this plank</a>. You’d create a new partial 'n th' <code>layouts/partials</code> folder o' yer local project. This partial will have th' priority.</p>
|
|
<p>This theme defines th' follow'n partials :</p>
|
|
<ul>
|
|
<li><code>header.html</code>: th' header o' th' plank. See <a href="/hugo-theme-relearn/pir/basics/customization/index.html#output-formats">output-formats</a></li>
|
|
<li><code>footer.html</code>: th' footer o' th' plank. See <a href="/hugo-theme-relearn/pir/basics/customization/index.html#output-formats">output-formats</a></li>
|
|
<li><code>body.html</code>: th' body o' th' plank. Th' body may contain o' one or many articles. See <a href="/hugo-theme-relearn/pir/basics/customization/index.html#output-formats">output-formats</a></li>
|
|
<li><code>article.html</code>: th' output fer a single article, can contain elements around yer rrrambl'n. See <a href="/hugo-theme-relearn/pir/basics/customization/index.html#output-formats">output-formats</a></li>
|
|
<li><code>menu.html</code>: left menu. <em>Not meant t' be overwritten</em></li>
|
|
<li><code>search.html</code>: search box. <em>Not meant t' be overwritten</em></li>
|
|
<li><code>custom-header.html</code>: custom headers 'n plank. Meant t' be overwritten when add'n CSS imports. Don’t forget t' include <code>style</code> HTML tag directive 'n yer file.</li>
|
|
<li><code>custom-footer.html</code>: custom footer 'n plank. Meant t' be overwritten when add'n JavaScript. Don’t forget t' include <code>javascript</code> HTML tag directive 'n yer file.</li>
|
|
<li><code>favicon.html</code>: th' favicon</li>
|
|
<li><code>head'n.html</code>: side-wide configurat'n t' change th' planks title head'ns.</li>
|
|
<li><code>heading-pre.html</code>: side-wide configurat'n t' prepend t' planks title head'ns. If ye override this, it be yer responsibility t' take th' page’s <code>headingPre</code> sett'n into account.</li>
|
|
<li><code>heading-post.html</code>: side-wide configurat'n t' append t' planks title head'ns. If ye override this, it be yer responsibility t' take th' page’s <code>headingPost</code> sett'n into account.</li>
|
|
<li><code>logo.html</code>: th' logo, on top left hand corner</li>
|
|
<li><code>meta.html</code>: HTML meta tags, if ye want t' change default behavior</li>
|
|
<li><code>menu-pre.html</code>: side-wide configurat'n t' prepend t' menu items. If ye override this, it be yer responsibility t' take th' page’s <code>menuPre</code> sett'n into account.</li>
|
|
<li><code>menu-post.html</code>: side-wide configurat'n t' append t' menu items. If ye override this, it be yer responsibility t' take th' page’s <code>menuPost</code> sett'n into account.</li>
|
|
<li><code>menu-footer.html</code>: footer o' th' left menu</li>
|
|
<li><code>toc.html</code>: t'ble o' contents</li>
|
|
<li><code>rrrambl'n.html</code>: th' rrrambl'n plank itself. This can be overridden if ye want t' display page’s meta data above or below th' rrrambl'n.</li>
|
|
<li><code>content-header.html</code>: header above th' title, has a default implementat'n but ye can overwrite it if ye don’t like it.</li>
|
|
<li><code>content-footer.html</code>: footer below th' rrrambl'n, has a default implementat'n but ye can overwrite it if ye don’t like it.</li>
|
|
</ul>
|
|
|
|
|
|
<footer class="footline">
|
|
</footer>
|
|
</article>
|
|
|
|
<article class="default">
|
|
<header class="headline">
|
|
</header>
|
|
|
|
<h1 id="stylesheet-generrratr">Stylesheet generrrat'r</h1>
|
|
|
|
|
|
<p>This interactive tool may help ye t' generate yer own color variant stylesheet.</p>
|
|
|
|
<div class="expand">
|
|
<input type="checkbox" id="R-expand-3e61a638feb80ac7d9e5f4bbfe5e8ec8" aria-controls="R-expandcontent-3e61a638feb80ac7d9e5f4bbfe5e8ec8" >
|
|
<label class="expand-label" for="R-expand-3e61a638feb80ac7d9e5f4bbfe5e8ec8" >
|
|
<i class="fa-fw fas fa-chevron-down"></i>
|
|
<i class="fa-fw fas fa-chevron-right"></i>
|
|
Show usage instruct'ns
|
|
</label>
|
|
<div id="R-expandcontent-3e61a638feb80ac7d9e5f4bbfe5e8ec8" class="expand-content">
|
|
|
|
<p>T' get started, first select a color variant from th' variant selector 'n th' lower left sidebar that fits ye best as a start'n point.</p>
|
|
<p>Th' graph be interactive an' reflect th' current colors. Ye can click on any o' th' colored boxes t' adjust th' respective color. Th' graph <strong>an' th' plank</strong> will update accordingly.</p>
|
|
<p>Th' arrowed lines reflect how colors be inherited thru different parts o' th' theme if th' descendent isn’t overwritten. If ye want t' delete a color an' let it inherit from its parent, just delete th' value from th' input field.</p>
|
|
<p>T' better understand this select th' <code>neon</code> variant an' modify th' different head'n colors. There, colors fer th' head'n <code>h2</code>, <code>h3</code> an' <code>h4</code> be explicitly set. <code>h5</code> be not set an' inherits its value from <code>h4</code>. <code>h6</code> be also not set an' inherits its value from <code>h5</code>.</p>
|
|
<p>Once you’ve changed a color, th' variant selector will show a “My custom variant” entry an' yer changes be stored 'n th' browser. Ye can <strong>browse t' other planks</strong> an' even close th' browser <strong>without los'n yer changes</strong>.</p>
|
|
<p>Once ye be satisfied, ye can download th' new variants file an' copy it into yer site’s <code>static/css</code> directory. Afterwards ye have t' adjust th' <code>themeVariant</code> parameter 'n yer <code>hugo.toml</code> t' yer chosen file name.</p>
|
|
<p>Eg. if yer new variants file be named <code>theme-my-custom-variant.css</code>, ye have t' set <code>themeVariant='my-custom-variant'</code> t' use it.</p>
|
|
</div>
|
|
</div>
|
|
<p><span class="btn cstyle interactive secondary"><button onclick="window.variants&&variants.getStylesheet();this.blur();" type="button"><i class="fa-fw fas fa-download"></i> <span class="title">Download variant</span></button></span>
|
|
<span class="btn cstyle interactive warning"><button onclick="window.variants&&variants.resetVariant();this.blur();" type="button"><i class="fa-fw fas fa-trash"></i> <span class="title">Reset variant</span></button></span></p>
|
|
<div id="R-vargenerator" class="mermaid zoomable" style="background-color: var(--INTERNAL-MAIN-TEXT-color);">Graph</div>
|
|
<p><span class="btn cstyle interactive secondary"><button onclick="window.variants&&variants.getStylesheet();this.blur();" type="button"><i class="fa-fw fas fa-download"></i> <span class="title">Download variant</span></button></span>
|
|
<span class="btn cstyle interactive warning"><button onclick="window.variants&&variants.resetVariant();this.blur();" type="button"><i class="fa-fw fas fa-trash"></i> <span class="title">Reset variant</span></button></span></p>
|
|
<script>
|
|
window.variants && variants.generator( '#R-vargenerator' );
|
|
</script>
|
|
|
|
|
|
<footer class="footline">
|
|
<div class=" taxonomy-categories term-list cstyle " title="Categorrries" style="--VARIABLE-TAGS-BG-color: var(--INTERNAL-TAG-BG-color);">
|
|
<i class="fa-fw fas fa-layer-group"></i>
|
|
<ul>
|
|
<li><a class="term-link" href="/hugo-theme-relearn/pir/categories/theming/index.html">Theming</a></li>
|
|
</ul>
|
|
</div>
|
|
</footer>
|
|
</article>
|
|
|
|
<article class="default">
|
|
<header class="headline">
|
|
</header>
|
|
|
|
<h1 id="topbarrr-modificatn">Topbarrr Modificat'n</h1>
|
|
|
|
|
|
<p>Th' theme comes wit' a reasonably configured topbar.</p>
|
|
<p><a href="#R-image-264728a1c475b5a9c966da76f251c47f" class="lightbox-link"><img alt="Topbar on mobile devices" class="bg-white border lazy lightbox noshadow figure-image" loading="lazy" src="/hugo-theme-relearn/basics/topbar/topbar-closed.png" style=" height: auto; width: auto;"></a>
|
|
<a href="javascript:history.back();" class="lightbox-back" id="R-image-264728a1c475b5a9c966da76f251c47f"><img alt="Topbar on mobile devices" class="bg-white border lazy lightbox noshadow lightbox-image" loading="lazy" src="/hugo-theme-relearn/basics/topbar/topbar-closed.png"></a></p>
|
|
<p>Nevertheless, yer requirements may differ from this configurat'n. Luckily th' theme got ye covered as th' themebar, its buttons an' th' functionality behind these buttons be fully configur'ble by ye.</p>
|
|
|
|
<div class="box notices cstyle tip">
|
|
<div class="box-label"><i class="fa-fw fas fa-lightbulb"></i> Smarrrt Arrrse</div>
|
|
<div class="box-content">
|
|
|
|
<p>All mentioned file names below can be clicked an' show ye th' implementat'n fer a better understand'n.</p>
|
|
</div>
|
|
</div>
|
|
<h2 id="areas">Areas</h2>
|
|
<p>Th' default configurat'n comes wit' three predefined areas that may contain an arbitrary set o' buttons.</p>
|
|
<p><a href="#R-image-69eda2ffb474f3b224d49e721096781d" class="lightbox-link"><img alt="Topbar wit' default areas marked" class="bg-white border lazy lightbox noshadow figure-image" loading="lazy" src="/hugo-theme-relearn/basics/topbar/topbar-areas.png" style=" height: auto; width: auto;"></a>
|
|
<a href="javascript:history.back();" class="lightbox-back" id="R-image-69eda2ffb474f3b224d49e721096781d"><img alt="Topbar wit' default areas marked" class="bg-white border lazy lightbox noshadow lightbox-image" loading="lazy" src="/hugo-theme-relearn/basics/topbar/topbar-areas.png"></a></p>
|
|
<ul>
|
|
<li><a href="https://github.com/McShelby/hugo-theme-relearn/blob/main/layouts/partials/topbar/area/start.html" rel="external" target="_blank"><strong>start</strong></a>: shown between menu an' breadcrumb</li>
|
|
<li><a href="https://github.com/McShelby/hugo-theme-relearn/blob/main/layouts/partials/topbar/area/end.html" rel="external" target="_blank"><strong>end</strong></a>: shown on th' opposite breadcrumb side 'n comparison t' th' <em>start</em> area</li>
|
|
<li><a href="https://github.com/McShelby/hugo-theme-relearn/blob/main/layouts/partials/topbar/area/more.html" rel="external" target="_blank"><strong>more</strong></a>: shown when press'n th' <span class="btn cstyle transparent"><span><i class="fa-fw fas fa-ellipsis-v"></i></span></span> <em>more</em> button 'n th' topbar</li>
|
|
</ul>
|
|
<p>While ye can not add additional areas 'n th' topbar, ye be free t' configure addtional buttons that behave like th' <em>more</em> button, provid'n further user defined areas.</p>
|
|
<h2 id="buttons">Buttons</h2>
|
|
<p>Th' theme ships wit' th' follow'n predefined buttons (from left t' right 'n th' screenshot)</p>
|
|
<ul>
|
|
<li><span class="btn cstyle transparent"><span><i class="fa-fw fas fa-bars"></i></span></span> <a href="https://github.com/McShelby/hugo-theme-relearn/blob/main/layouts/partials/topbar/button/sidebar.html" rel="external" target="_blank"><strong>sidebar</strong></a>: opens th' sidebar flyout if 'n mobile layout</li>
|
|
<li><span class="btn cstyle transparent"><span><i class="fa-fw fas fa-list-alt"></i></span></span> <a href="https://github.com/McShelby/hugo-theme-relearn/blob/main/layouts/partials/topbar/button/toc.html" rel="external" target="_blank"><strong>toc</strong></a>: opens th' t'ble o' contents 'n an overlay</li>
|
|
<li><span class="btn cstyle transparent"><span><i class="fa-fw fas fa-pen"></i></span></span> <a href="https://github.com/McShelby/hugo-theme-relearn/blob/main/layouts/partials/topbar/button/edit.html" rel="external" target="_blank"><strong>edit</strong></a>: browses t' th' edit'ble plank if th' <code>editURL</code> <a href="/hugo-theme-relearn/pir/basics/configuration/index.html">parameter be set</a></li>
|
|
<li><span class="btn cstyle transparent"><span><i class="fa-fw fas fa-print"></i></span></span> <a href="https://github.com/McShelby/hugo-theme-relearn/blob/main/layouts/partials/topbar/button/print.html" rel="external" target="_blank"><strong>print</strong></a>: browses t' th' chapters print'ble plank if <a href="/hugo-theme-relearn/pir/basics/customization/index.html#activate-print-support">print support</a> was activated</li>
|
|
<li><span class="btn cstyle transparent"><span><i class="fa-fw fas fa-chevron-left"></i></span></span> <a href="https://github.com/McShelby/hugo-theme-relearn/blob/main/layouts/partials/topbar/button/prev.html" rel="external" target="_blank"><strong>prev</strong></a>: browses t' th' previous plank if there be one</li>
|
|
<li><span class="btn cstyle transparent"><span><i class="fa-fw fas fa-chevron-right"></i></span></span> <a href="https://github.com/McShelby/hugo-theme-relearn/blob/main/layouts/partials/topbar/button/next.html" rel="external" target="_blank"><strong>next</strong></a>: browses t' th' next plank if there be one</li>
|
|
<li><span class="btn cstyle transparent"><span><i class="fa-fw fas fa-ellipsis-v"></i></span></span> <a href="https://github.com/McShelby/hugo-theme-relearn/blob/main/layouts/partials/topbar/button/more.html" rel="external" target="_blank"><strong>more</strong></a>: opens th' overlay fer th' <em>more</em> area</li>
|
|
</ul>
|
|
<p>Not all buttons be displayed at every given time. This be configur'ble (see below if interested).</p>
|
|
<h2 id="redefining-areas">Redefin'n Areas</h2>
|
|
<p>Each predefined area an' button comes 'n their own file. By that it be easy fer ye t' overwrite an area file 'n yer installat'n reus'n only th' buttons ye like.</p>
|
|
<p>Eg. ye can redefine th' predefined <em>end</em> area by add'n th' file <a href="https://github.com/McShelby/hugo-theme-relearn/blob/main/layouts/partials/topbar/area/end.html" rel="external" target="_blank"><code>layouts/partials/topbar/area/end.html</code></a> 'n yer installat'n (not 'n th' theme itself) t' remove all but th' <em>more</em> button.</p>
|
|
<p>Th' below example sets an explicit value fer th' <code>onempty</code> parameter, overrid'n th' specific default value fer this button (these defaults vary depend'n on th' button). Th' parameter causes th' <em>more</em> button t' always be displayed instead o' hid'n once its rrrambl'n be empty.</p>
|
|
<div class="highlight wrap-code"><pre tabindex="0" class="chroma"><code class="language-go" data-lang="go"><span class="line"><span class="cl"><span class="p">{{</span> <span class="nx">partial</span> <span class="s">"topbar/button/more.html"</span> <span class="p">(</span><span class="nx">dict</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s">"page"</span> <span class="p">.</span>
|
|
</span></span><span class="line"><span class="cl"> <span class="s">"onempty"</span> <span class="s">"disable"</span>
|
|
</span></span><span class="line"><span class="cl"><span class="p">)}}</span></span></span></code></pre></div><h2 id="defining-own-buttons">Defin'n own Buttons</h2>
|
|
<h3 id="button-types">Button Types</h3>
|
|
<p>Th' theme distingushies between two types o' buttons:</p>
|
|
<ul>
|
|
<li><a href="/hugo-theme-relearn/pir/basics/topbar/index.html#button"><strong>button</strong></a>: a click'ble button that either browses t' another ship, triggers a user defined script or opens an overlay contain'n user defined rrrambl'n</li>
|
|
<li><a href="/hugo-theme-relearn/pir/basics/topbar/index.html#area-button"><strong>area-button</strong></a>: th' template fer th' <span class="btn cstyle transparent"><span><i class="fa-fw fas fa-ellipsis-v"></i></span></span> <em>more</em> button, t' define yer own area overlay buttons</li>
|
|
</ul>
|
|
<h3 id="button-parameter">Button Parameter</h3>
|
|
<h4 id="screen-widths-and-actions">Screen Widths an' Act'ns</h4>
|
|
<p>Depend'n on th' screen width ye can configure how th' button should behave. Screen width be divided into three classes:</p>
|
|
<ul>
|
|
<li><strong>s</strong>: (controlled by th' <code>onwidths</code> parameter) mobile layout whar' th' menu sidebar be hidden</li>
|
|
<li><strong>m</strong>: (controlled by th' <code>onwidthm</code> parameter) desktop layout wit' vis'ble sidebar while th' rrrambl'n area width still resizes</li>
|
|
<li><strong>l</strong>: (controlled by th' <code>onwidthl</code> parameter) desktop layout wit' vis'ble sidebar once th' rrrambl'n area reached its maximum width</li>
|
|
</ul>
|
|
<p>For each width class, ye can configure one o' th' follow'n act'ns:</p>
|
|
<ul>
|
|
<li><code>show</code>: th' button be displayed 'n its given area</li>
|
|
<li><code>hide</code>: th' button be removed</li>
|
|
<li><code>area-XXX</code>: th' button be moved from its given area into th' area <code>XXX</code>; eg. this be used t' move buttons t' th' <em>more</em> area overlay 'n th' mobile layout</li>
|
|
</ul>
|
|
<h4 id="hiding-and-disabling-stuff">Hid'n an' Disabl'n Stuff</h4>
|
|
<p>While hid'n a button dependend on th' screen size can be configured wit' th' above described <em>hide</em> act'n, ye may want t' hide th' button on certain other condit'ns aswell.</p>
|
|
<p>For example, th' <em>print</em> button 'n its default configurat'n should only be displayed if print support was configured. This be done 'n yer button template by check'n th' condit'ns first before display'n th' button (see <a href="https://github.com/McShelby/hugo-theme-relearn/blob/main/layouts/partials/topbar/button/print.html" rel="external" target="_blank"><code>layouts/partials/topbar/button/print.html</code></a>).</p>
|
|
<p>Another prefered condit'n fer hid'n a button be, if th' displayed overlay be empty. This be th' case fer th' <em>toc</em> (see <a href="https://github.com/McShelby/hugo-theme-relearn/blob/main/layouts/partials/topbar/button/toc.html" rel="external" target="_blank"><code>layouts/partials/topbar/button/toc.html</code></a>) aswell as th' <em>more</em> button (see <a href="https://github.com/McShelby/hugo-theme-relearn/blob/main/layouts/partials/topbar/button/more.html" rel="external" target="_blank"><code>layouts/partials/topbar/button/more.html</code></a>) an' controlled by th' parameter <code>onempty</code>.</p>
|
|
<p>This parameter can have one o' th' follow'n values:</p>
|
|
<ul>
|
|
<li><code>dis'ble</code>: th' button displayed 'n disabled state if th' overlay be empty</li>
|
|
<li><code>hide</code>: th' button be removed if th' overlay be empty</li>
|
|
</ul>
|
|
<p>If ye want t' dis'ble a button contain'n <em>no overlay</em>, this can be achieved by an empty <code>href</code> parameter. An example can be seen 'n th' <em>prev</em> button (see <code>layouts/partials/topbar/button/prev.html</code>) whar' th' URL fer th' previous ship may be empty.</p>
|
|
<h2 id="reference">Reference</h2>
|
|
<h3 id="button">Button</h3>
|
|
<p>Contains th' basic button functionality an' be used as a base implementat'n fer all other buttons (<a href="https://github.com/McShelby/hugo-theme-relearn/blob/main/layouts/partials/topbar/func/button.html" rel="external" target="_blank"><code>layouts/partials/topbar/func/button.html</code></a>).</p>
|
|
<p>Call this from yer own button templates if ye want t' implement a button without an overlay like th' <em>print</em> button (<a href="https://github.com/McShelby/hugo-theme-relearn/blob/main/layouts/partials/topbar/button/print.html" rel="external" target="_blank"><code>layouts/partials/topbar/button/print.html</code></a>) or wit' an overlay contain'n arbitrary rrrambl'n like th' <em>toc</em> button (<a href="https://github.com/McShelby/hugo-theme-relearn/blob/main/layouts/partials/topbar/button/toc.html" rel="external" target="_blank"><code>layouts/partials/topbar/button/toc.html</code></a>).</p>
|
|
<p>For display'n an area 'n th' button’s overlay, see <a href="/hugo-theme-relearn/pir/basics/topbar/index.html#area-button">Area-Button</a>.</p>
|
|
<h4 id="parameter">Parameter</h4>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Default</th>
|
|
<th>Notes</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><strong>plank</strong></td>
|
|
<td><em><empty></em></td>
|
|
<td>Mandatory reference t' th' plank.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>class</strong></td>
|
|
<td><em><empty></em></td>
|
|
<td>Mandatory unique class name fer this button. Display'n two buttons wit' th' same value fer <strong>class</strong> be undefined.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>href</strong></td>
|
|
<td><em><empty></em></td>
|
|
<td>Either th' destinat'n URL fer th' button or JavaScript code t' be executed on click.<br><br>- if start'n wit' <code>javascript:</code> all follow'n text will be executed 'n yer browser<br>- every other str'n will be interpreted as URL<br>- if empty th' button will be displayed 'n disabled state regardless o' its <strong>rrrambl'n</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>ay'con</strong></td>
|
|
<td><em><empty></em></td>
|
|
<td><a href="/hugo-theme-relearn/pir/shortcodes/icon/index.html#finding-an-icon">Font Awesome ay'con name</a>.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>onempty</strong></td>
|
|
<td><code>dis'ble</code></td>
|
|
<td>Defines what t' do wit' th' button if th' rrrambl'n parameter was set but ends up empty:<br><br>- <code>dis'ble</code>: Th' button be displayed 'n disabled state.<br>- <code>hide</code>: Th' button be removed.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>onwidths</strong></td>
|
|
<td><code>show</code></td>
|
|
<td>Th' act'n, that should be executed if th' ship be displayed 'n th' given width:<br><br>- <code>show</code>: Th' button be displayed 'n its given area<br>- <code>hide</code>: Th' button be removed.<br>- <code>area-XXX</code>: Th' button be moved from its given area into th' area <code>XXX</code>.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>onwidthm</strong></td>
|
|
<td><code>show</code></td>
|
|
<td>See above.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>onwidthl</strong></td>
|
|
<td><code>show</code></td>
|
|
<td>See above.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>hint</strong></td>
|
|
<td><em><empty></em></td>
|
|
<td>Arbitrary text displayed 'n th' tooltip.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>title</strong></td>
|
|
<td><em><empty></em></td>
|
|
<td>Arbitrary text fer th' button.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>rrrambl'n</strong></td>
|
|
<td><em><empty></em></td>
|
|
<td>Arbitrary HTML t' put into th' rrrambl'n overlay. This parameter may be empty. In this case no overlay will be generated.</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h3 id="area-button">Area-Button</h3>
|
|
<p>Contains th' basic functionality t' display area overlay buttons (<a href="https://github.com/McShelby/hugo-theme-relearn/blob/main/layouts/partials/topbar/func/area-button.html" rel="external" target="_blank"><code>layouts/partials/topbar/func/area-button.html</code></a>).</p>
|
|
<p>Call this from yer own button templates if ye want t' implement a button wit' an area overlay like th' <em>more</em> button (<a href="https://github.com/McShelby/hugo-theme-relearn/blob/main/layouts/partials/topbar/button/more.html" rel="external" target="_blank"><code>layouts/partials/topbar/button/more.html</code></a>).</p>
|
|
<h4 id="parameter-1">Parameter</h4>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Default</th>
|
|
<th>Notes</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><strong>plank</strong></td>
|
|
<td><em><empty></em></td>
|
|
<td>Mandatory reference t' th' plank.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>area</strong></td>
|
|
<td><em><empty></em></td>
|
|
<td>Mandatory unique area name fer this area. Display'n two areas wit' th' same value fer <strong>area</strong> be undefined.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>ay'con</strong></td>
|
|
<td><em><empty></em></td>
|
|
<td><a href="/hugo-theme-relearn/pir/shortcodes/icon/index.html#finding-an-icon">Font Awesome ay'con name</a>.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>onempty</strong></td>
|
|
<td><code>dis'ble</code></td>
|
|
<td>Defines what t' do wit' th' button if th' rrrambl'n overlay be empty:<br><br>- <code>dis'ble</code>: Th' button be displayed 'n disabled state.<br>- <code>hide</code>: Th' button be removed.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>onwidths</strong></td>
|
|
<td><code>show</code></td>
|
|
<td>Th' act'n, that should be executed if th' ship be displayed 'n th' given width:<br><br>- <code>show</code>: Th' button be displayed 'n its given area<br>- <code>hide</code>: Th' button be removed.<br>- <code>area-XXX</code>: Th' button be moved from its given area into th' area <code>XXX</code>.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>onwidthm</strong></td>
|
|
<td><code>show</code></td>
|
|
<td>See above.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>onwidthl</strong></td>
|
|
<td><code>show</code></td>
|
|
<td>See above.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>hint</strong></td>
|
|
<td><em><empty></em></td>
|
|
<td>Arbitrary text displayed 'n th' tooltip.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>title</strong></td>
|
|
<td><em><empty></em></td>
|
|
<td>Arbitrary text fer th' button.</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h3 id="predefined-buttons">Predefined Buttons</h3>
|
|
<p>Th' predefined buttons by th' theme (all other buttons besides th' <em>more</em> an' <em>toc</em> button 'n <a href="https://github.com/McShelby/hugo-theme-relearn/blob/main/layouts/partials/topbar/button" rel="external" target="_blank"><code>layouts/partials/topbar/button</code></a>).</p>
|
|
<p>Call these from yer own redefined area templates if ye want t' use default button behavior.</p>
|
|
<p>Th' <code><varying></code> parameter values be different fer each button an' configured fer standard behavior as seen on this plank.</p>
|
|
<h4 id="parameter-2">Parameter</h4>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Default</th>
|
|
<th>Notes</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><strong>plank</strong></td>
|
|
<td><em><empty></em></td>
|
|
<td>Mandatory reference t' th' plank.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>onwidths</strong></td>
|
|
<td><em><varying></em></td>
|
|
<td>Th' act'n, that should be executed if th' ship be displayed 'n th' given width:<br><br>- <code>show</code>: Th' button be displayed 'n its given area<br>- <code>hide</code>: Th' button be removed.<br>- <code>area-XXX</code>: Th' button be moved from its given area into th' area <code>XXX</code>.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>onwidthm</strong></td>
|
|
<td><em><varying></em></td>
|
|
<td>See above.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>onwidthl</strong></td>
|
|
<td><em><varying></em></td>
|
|
<td>See above.</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h3 id="predefined-overlay-buttons">Predefined Overlay-Buttons</h3>
|
|
<p>Th' predefined buttons by th' theme that open an overlay (the <em>more</em> an' <em>toc</em> button 'n <a href="https://github.com/McShelby/hugo-theme-relearn/blob/main/layouts/partials/topbar/button" rel="external" target="_blank"><code>layouts/partials/topbar/button</code></a>).</p>
|
|
<p>Call these from yer own redefined area templates if ye want t' use default button behavior utiliz'n overlay functionality.</p>
|
|
<p>Th' <code><varying></code> parameter values be different fer each button an' configured fer standard behavior as seen on this plank.</p>
|
|
<h4 id="parameter-3">Parameter</h4>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Default</th>
|
|
<th>Notes</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><strong>plank</strong></td>
|
|
<td><em><empty></em></td>
|
|
<td>Mandatory reference t' th' plank.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>onempty</strong></td>
|
|
<td><code>dis'ble</code></td>
|
|
<td>Defines what t' do wit' th' button if th' rrrambl'n overlay be empty:<br><br>- <code>dis'ble</code>: Th' button be displayed 'n disabled state.<br>- <code>hide</code>: Th' button be removed.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>onwidths</strong></td>
|
|
<td><em><varying></em></td>
|
|
<td>Th' act'n, that should be executed if th' ship be displayed 'n th' given width:<br><br>- <code>show</code>: Th' button be displayed 'n its given area<br>- <code>hide</code>: Th' button be removed.<br>- <code>area-XXX</code>: Th' button be moved from its given area into th' area <code>XXX</code>.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>onwidthm</strong></td>
|
|
<td><em><varying></em></td>
|
|
<td>See above.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>onwidthl</strong></td>
|
|
<td><em><varying></em></td>
|
|
<td>See above.</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
<footer class="footline">
|
|
</footer>
|
|
</article>
|
|
|
|
<article class="default">
|
|
<header class="headline">
|
|
</header>
|
|
|
|
<h1 id="historrry">Historrry</h1>
|
|
|
|
|
|
<div class="include hide-first-heading">
|
|
<h1 id="changelog">Changelog</h1>
|
|
<h2 id="5270-2024-04-07">5.27.0 (2024-04-07)</h2>
|
|
<h3 id="enhancements">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] theme: simplify title generat'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/825" rel="external" target="_blank">#825</a></li>
|
|
<li>[<strong>feature</strong>] theme: adjust t' Hugo’s build-in code <a href="https://github.com/McShelby/hugo-theme-relearn/issues/824" rel="external" target="_blank">#824</a></li>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] link: warn if fragment be not found <a href="https://github.com/McShelby/hugo-theme-relearn/issues/823" rel="external" target="_blank">#823</a></li>
|
|
<li>[<strong>feature</strong>] theme: add styl'n fer selected HTML elements <a href="https://github.com/McShelby/hugo-theme-relearn/issues/822" rel="external" target="_blank">#822</a></li>
|
|
<li>[<strong>feature</strong>] a11y: improve search box <a href="https://github.com/McShelby/hugo-theme-relearn/issues/821" rel="external" target="_blank">#821</a></li>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] dependencies: make loader more versatile <a href="https://github.com/McShelby/hugo-theme-relearn/issues/820" rel="external" target="_blank">#820</a></li>
|
|
<li>[<strong>feature</strong>] nav: scroll t' prev/next head'n us'n keyboard shortcut <a href="https://github.com/McShelby/hugo-theme-relearn/issues/819" rel="external" target="_blank">#819</a></li>
|
|
<li>[<strong>feature</strong>] breadcrumb: use .LinkTitle instead o' .Title if avail'ble <a href="https://github.com/McShelby/hugo-theme-relearn/issues/816" rel="external" target="_blank">#816</a></li>
|
|
</ul>
|
|
<h3 id="fixes">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] scrollbar: scroll bar 'n side menu gets stuck 'n dragged state on mobile <a href="https://github.com/McShelby/hugo-theme-relearn/issues/808" rel="external" target="_blank">#808</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5262-2024-03-18">5.26.2 (2024-03-18)</h2>
|
|
<h3 id="enhancements-1">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] ay'cons: use fixed width t' ease layout <a href="https://github.com/McShelby/hugo-theme-relearn/issues/812" rel="external" target="_blank">#812</a></li>
|
|
</ul>
|
|
<h3 id="fixes-1">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] search: broken since version 5.26.1 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/813" rel="external" target="_blank">#813</a></li>
|
|
<li>[<strong>bug</strong>] search: fix result links fer planks 'n root <a href="https://github.com/McShelby/hugo-theme-relearn/issues/810" rel="external" target="_blank">#810</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5261-2024-03-17">5.26.1 (2024-03-17)</h2>
|
|
<h3 id="fixes-2">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] mermaid: show reset button after pan <a href="https://github.com/McShelby/hugo-theme-relearn/issues/807" rel="external" target="_blank">#807</a></li>
|
|
<li>[<strong>bug</strong>] openapi: make it run fer <code>file://</code> protocol <a href="https://github.com/McShelby/hugo-theme-relearn/issues/806" rel="external" target="_blank">#806</a></li>
|
|
<li>[<strong>bug</strong>] theme: fix relative path detect'n if <code>relativeURLs=false</code> <a href="https://github.com/McShelby/hugo-theme-relearn/issues/804" rel="external" target="_blank">#804</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5260-2024-03-16">5.26.0 (2024-03-16)</h2>
|
|
<h3 id="enhancements-2">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] image: add lazy load'n image effect opt'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/803" rel="external" target="_blank">#803</a></li>
|
|
<li>[<strong>feature</strong>] render-hook: support Marrrkdown attributes <a href="https://github.com/McShelby/hugo-theme-relearn/issues/795" rel="external" target="_blank">#795</a></li>
|
|
<li>[<strong>feature</strong>] theme: support full plank width <a href="https://github.com/McShelby/hugo-theme-relearn/issues/752" rel="external" target="_blank">#752</a></li>
|
|
</ul>
|
|
<h3 id="fixes-3">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] clipboard: fix broken style if block code be 'n t'ble <a href="https://github.com/McShelby/hugo-theme-relearn/issues/790" rel="external" target="_blank">#790</a></li>
|
|
<li>[<strong>bug</strong>] nav: browser back navigat'n does not jump t' th' correct posit'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/509" rel="external" target="_blank">#509</a></li>
|
|
</ul>
|
|
<h3 id="maintenance">Maintenance</h3>
|
|
<ul>
|
|
<li>[<strong>task</strong>] build: update all avail'ble act'ns t' nodejs 20 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/802" rel="external" target="_blank">#802</a></li>
|
|
<li>[<strong>task</strong>] openapi: update swagger-ui t' 5.11.10 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/798" rel="external" target="_blank">#798</a></li>
|
|
<li>[<strong>task</strong>] mermaid: update t' 10.9.0 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/797" rel="external" target="_blank">#797</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5250-2024-02-29">5.25.0 (2024-02-29)</h2>
|
|
<h3 id="enhancements-3">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] theme: print out GitInfo 'n plank footer if configured <a href="https://github.com/McShelby/hugo-theme-relearn/issues/786" rel="external" target="_blank">#786</a></li>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] resources: new shortcode t' deprecate attachments shortcode <a href="https://github.com/McShelby/hugo-theme-relearn/issues/22" rel="external" target="_blank">#22</a></li>
|
|
</ul>
|
|
<h3 id="fixes-4">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] swagger: fix compat warning <a href="https://github.com/McShelby/hugo-theme-relearn/issues/787" rel="external" target="_blank">#787</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5243-2024-02-28">5.24.3 (2024-02-28)</h2>
|
|
<h3 id="fixes-5">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] theme: avoid crash on 404 if author sett'ns want t' warn <a href="https://github.com/McShelby/hugo-theme-relearn/issues/785" rel="external" target="_blank">#785</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5242-2024-02-24">5.24.2 (2024-02-24)</h2>
|
|
<h3 id="enhancements-4">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] image: adjust t' Cap'n Hugo 0.123 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/777" rel="external" target="_blank">#777</a></li>
|
|
</ul>
|
|
<h3 id="fixes-6">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] link: resolve fragments <a href="https://github.com/McShelby/hugo-theme-relearn/issues/775" rel="external" target="_blank">#775</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5241-2024-02-18">5.24.1 (2024-02-18)</h2>
|
|
<h3 id="enhancements-5">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] link: make resolut'n report'n configur'ble <a href="https://github.com/McShelby/hugo-theme-relearn/issues/774" rel="external" target="_blank">#774</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5240-2024-02-17">5.24.0 (2024-02-17)</h2>
|
|
<h3 id="enhancements-6">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] theme: compatibility wit' Cap'n Hugo 0.123 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/771" rel="external" target="_blank">#771</a></li>
|
|
<li>[<strong>feature</strong>] topbar: support editURL 'n frontmatter <a href="https://github.com/McShelby/hugo-theme-relearn/issues/764" rel="external" target="_blank">#764</a></li>
|
|
<li>[<strong>feature</strong>] menu: use –MENU-WIDTH-S t' adjust mobile flyout <a href="https://github.com/McShelby/hugo-theme-relearn/issues/761" rel="external" target="_blank">#761</a></li>
|
|
<li>[<strong>feature</strong>] figure: support built-in shortcode <a href="https://github.com/McShelby/hugo-theme-relearn/issues/746" rel="external" target="_blank">#746</a></li>
|
|
<li>[<strong>feature</strong>] theme: make head'n a template <a href="https://github.com/McShelby/hugo-theme-relearn/issues/744" rel="external" target="_blank">#744</a></li>
|
|
<li>[<strong>feature</strong>] taxonomy: make arrow nav browse thru terms <a href="https://github.com/McShelby/hugo-theme-relearn/issues/742" rel="external" target="_blank">#742</a></li>
|
|
<li>[<strong>feature</strong>] theme: switch from config.toml t' hugo.toml <a href="https://github.com/McShelby/hugo-theme-relearn/issues/741" rel="external" target="_blank">#741</a></li>
|
|
<li>[<strong>feature</strong>] button: make non-interactive if used as mock <a href="https://github.com/McShelby/hugo-theme-relearn/issues/740" rel="external" target="_blank">#740</a></li>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] topbar: allow text fer button <a href="https://github.com/McShelby/hugo-theme-relearn/issues/739" rel="external" target="_blank">#739</a></li>
|
|
<li>[<strong>feature</strong>] theme: run hugo demo ship without warning <a href="https://github.com/McShelby/hugo-theme-relearn/issues/736" rel="external" target="_blank">#736</a></li>
|
|
<li>[<strong>feature</strong>] menu: make swipe handler passive <a href="https://github.com/McShelby/hugo-theme-relearn/issues/735" rel="external" target="_blank">#735</a></li>
|
|
<li>[<strong>feature</strong>] i18n: support standard Cap'n Hugo opt'ns <a href="https://github.com/McShelby/hugo-theme-relearn/issues/733" rel="external" target="_blank">#733</a></li>
|
|
<li>[<strong>feature</strong>] a11y: show tab focus on images <a href="https://github.com/McShelby/hugo-theme-relearn/issues/730" rel="external" target="_blank">#730</a></li>
|
|
<li>[<strong>feature</strong>] a11y: improve discover'n links on keyboard navigat'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/726" rel="external" target="_blank">#726</a></li>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] variant: increase contrast fer light themes <a href="https://github.com/McShelby/hugo-theme-relearn/issues/722" rel="external" target="_blank">#722</a></li>
|
|
<li>[<strong>feature</strong>] theme: break build if minimum Cap'n Hugo version be not matched <a href="https://github.com/McShelby/hugo-theme-relearn/issues/719" rel="external" target="_blank">#719</a></li>
|
|
<li>[<strong>feature</strong>] taxonomy: hum'nize term on miss'n term title <a href="https://github.com/McShelby/hugo-theme-relearn/issues/713" rel="external" target="_blank">#713</a></li>
|
|
</ul>
|
|
<h3 id="fixes-7">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] taxonomy: display translated title <a href="https://github.com/McShelby/hugo-theme-relearn/issues/772" rel="external" target="_blank">#772</a></li>
|
|
<li>[<strong>bug</strong>] highlight: fix codefence rules 'n Hugo >= 0.121.0 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/749" rel="external" target="_blank">#749</a></li>
|
|
<li>[<strong>bug</strong>] link: fix links t' planks contain'n dots 'n their name <a href="https://github.com/McShelby/hugo-theme-relearn/issues/748" rel="external" target="_blank">#748</a></li>
|
|
<li>[<strong>bug</strong>] image: get resource images if link be prefixed wit' <code>./</code> <a href="https://github.com/McShelby/hugo-theme-relearn/issues/747" rel="external" target="_blank">#747</a></li>
|
|
<li>[<strong>bug</strong>] theme: switch dependency colors on OS color scheme change <a href="https://github.com/McShelby/hugo-theme-relearn/issues/745" rel="external" target="_blank">#745</a></li>
|
|
<li>[<strong>bug</strong>] clipboard: fix O(n²) buttons <a href="https://github.com/McShelby/hugo-theme-relearn/issues/738" rel="external" target="_blank">#738</a></li>
|
|
<li>[<strong>bug</strong>] button: fix whitespac'n 'n FF <a href="https://github.com/McShelby/hugo-theme-relearn/issues/737" rel="external" target="_blank">#737</a></li>
|
|
<li>[<strong>bug</strong>] i18n: fix warning messages fer zh-CN <a href="https://github.com/McShelby/hugo-theme-relearn/issues/732" rel="external" target="_blank">#732</a></li>
|
|
<li>[<strong>bug</strong>] mermaid: fix zoom button <a href="https://github.com/McShelby/hugo-theme-relearn/issues/725" rel="external" target="_blank">#725</a></li>
|
|
<li>[<strong>bug</strong>] theme: fix JS errors on <code>hugo --minifiy</code> <a href="https://github.com/McShelby/hugo-theme-relearn/issues/724" rel="external" target="_blank">#724</a></li>
|
|
<li>[<strong>bug</strong>] include: fix whitespac'n 'n codefences <a href="https://github.com/McShelby/hugo-theme-relearn/issues/723" rel="external" target="_blank">#723</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5232-2023-11-03">5.23.2 (2023-11-03)</h2>
|
|
<h3 id="enhancements-7">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] taxonomy: improve taxonomy plank <a href="https://github.com/McShelby/hugo-theme-relearn/issues/712" rel="external" target="_blank">#712</a></li>
|
|
<li>[<strong>feature</strong>] taxonomy: warn on miss'n term title <a href="https://github.com/McShelby/hugo-theme-relearn/issues/709" rel="external" target="_blank">#709</a></li>
|
|
</ul>
|
|
<h3 id="fixes-8">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] taxonomy: fix sort'n o' terms on rrrambl'n planks <a href="https://github.com/McShelby/hugo-theme-relearn/issues/710" rel="external" target="_blank">#710</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5231-2023-10-30">5.23.1 (2023-10-30)</h2>
|
|
<h3 id="enhancements-8">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] taxonomy: improve term plank <a href="https://github.com/McShelby/hugo-theme-relearn/issues/705" rel="external" target="_blank">#705</a></li>
|
|
</ul>
|
|
<h3 id="fixes-9">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] variant: fix typo 'n chroma-learn.css <a href="https://github.com/McShelby/hugo-theme-relearn/issues/708" rel="external" target="_blank">#708</a></li>
|
|
<li>[<strong>bug</strong>] links: ignore local markdown links link'n t' files wit' extension <a href="https://github.com/McShelby/hugo-theme-relearn/issues/707" rel="external" target="_blank">#707</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5230-2023-10-29">5.23.0 (2023-10-29)</h2>
|
|
<h3 id="enhancements-9">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] taxonomy: allow fer rrrambl'n on term planks <a href="https://github.com/McShelby/hugo-theme-relearn/issues/701" rel="external" target="_blank">#701</a></li>
|
|
<li>[<strong>feature</strong>] theme: write full file path on warnings <a href="https://github.com/McShelby/hugo-theme-relearn/issues/699" rel="external" target="_blank">#699</a></li>
|
|
<li>[<strong>feature</strong>] theme: show anchor link an' copy t' clipboard button on mobile <a href="https://github.com/McShelby/hugo-theme-relearn/issues/697" rel="external" target="_blank">#697</a></li>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] config: adjust t' changes 'n Hugo 0.120 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/693" rel="external" target="_blank">#693</a></li>
|
|
<li>[<strong>feature</strong>] variants: add more contrast t' neon <a href="https://github.com/McShelby/hugo-theme-relearn/issues/692" rel="external" target="_blank">#692</a></li>
|
|
<li>[<strong>feature</strong>] mermaid: only show zoom reset button if zoomed <a href="https://github.com/McShelby/hugo-theme-relearn/issues/691" rel="external" target="_blank">#691</a></li>
|
|
<li>[<strong>feature</strong>] menu: add additional sort opt'ns <a href="https://github.com/McShelby/hugo-theme-relearn/issues/684" rel="external" target="_blank">#684</a></li>
|
|
<li>[<strong>feature</strong>] theme: add social media meta informat'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/683" rel="external" target="_blank">#683</a></li>
|
|
<li>[<strong>feature</strong>] theme: simplify additional JS dependencies <a href="https://github.com/McShelby/hugo-theme-relearn/issues/682" rel="external" target="_blank">#682</a></li>
|
|
<li>[<strong>feature</strong>] links: warn if ref/relref be used falsly <a href="https://github.com/McShelby/hugo-theme-relearn/issues/681" rel="external" target="_blank">#681</a></li>
|
|
<li>[<strong>feature</strong>] menu: make width configur'ble <a href="https://github.com/McShelby/hugo-theme-relearn/issues/677" rel="external" target="_blank">#677</a></li>
|
|
<li>[<strong>feature</strong>] tabs: use color fer link o' inactive tabs <a href="https://github.com/McShelby/hugo-theme-relearn/issues/675" rel="external" target="_blank">#675</a></li>
|
|
<li>[<strong>feature</strong>] taxonomy: modularize term list generat'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/671" rel="external" target="_blank">#671</a></li>
|
|
<li>[<strong>feature</strong>] theme: remove warnings wit' <code>hugo --printI18nWarn'ns</code> <a href="https://github.com/McShelby/hugo-theme-relearn/issues/670" rel="external" target="_blank">#670</a></li>
|
|
<li>[<strong>feature</strong>] theme: implement port'ble link'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/377" rel="external" target="_blank">#377</a></li>
|
|
</ul>
|
|
<h3 id="fixes-10">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] links: extra space before link text <a href="https://github.com/McShelby/hugo-theme-relearn/issues/700" rel="external" target="_blank">#700</a></li>
|
|
<li>[<strong>bug</strong>] mermaid: reset zoom correctly <a href="https://github.com/McShelby/hugo-theme-relearn/issues/690" rel="external" target="_blank">#690</a></li>
|
|
<li>[<strong>bug</strong>] theme: fix mobile layout fer width=48rem <a href="https://github.com/McShelby/hugo-theme-relearn/issues/676" rel="external" target="_blank">#676</a></li>
|
|
<li>[<strong>bug</strong>] frontmatter: resemble documented shortcode style <a href="https://github.com/McShelby/hugo-theme-relearn/issues/672" rel="external" target="_blank">#672</a></li>
|
|
<li>[<strong>bug</strong>] taxonomy: display terms 'n planks if <code>removePathAccents=true</code> <a href="https://github.com/McShelby/hugo-theme-relearn/issues/669" rel="external" target="_blank">#669</a></li>
|
|
</ul>
|
|
<h3 id="maintenance-1">Maintenance</h3>
|
|
<ul>
|
|
<li>[<strong>task</strong>] mermaid: update mermaid t' 10.6.0 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/703" rel="external" target="_blank">#703</a></li>
|
|
<li>[<strong>task</strong>] openapi: update swagger-ui t' 5.9.1 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/702" rel="external" target="_blank">#702</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5221-2023-10-02">5.22.1 (2023-10-02)</h2>
|
|
<h3 id="enhancements-10">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] i18n: add Swahili translat'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/666" rel="external" target="_blank">#666</a></li>
|
|
<li>[<strong>feature</strong>] math: hide unrendered math <a href="https://github.com/McShelby/hugo-theme-relearn/issues/663" rel="external" target="_blank">#663</a></li>
|
|
<li>[<strong>feature</strong>] tabs: improve a11y by remov'n duplicate hidden title <a href="https://github.com/McShelby/hugo-theme-relearn/issues/662" rel="external" target="_blank">#662</a></li>
|
|
<li>[<strong>feature</strong>] mermaid: improve zoom UX <a href="https://github.com/McShelby/hugo-theme-relearn/issues/659" rel="external" target="_blank">#659</a></li>
|
|
</ul>
|
|
<h3 id="fixes-11">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] variant: fix sidebar-flyout borders color fer zen <a href="https://github.com/McShelby/hugo-theme-relearn/issues/667" rel="external" target="_blank">#667</a></li>
|
|
<li>[<strong>bug</strong>] clipboard: fix RTL locat'n o' tooltip <a href="https://github.com/McShelby/hugo-theme-relearn/issues/661" rel="external" target="_blank">#661</a></li>
|
|
<li>[<strong>bug</strong>] clipboard: ignore RTL fer code <a href="https://github.com/McShelby/hugo-theme-relearn/issues/660" rel="external" target="_blank">#660</a></li>
|
|
<li>[<strong>bug</strong>] expand: fix aria-controls <a href="https://github.com/McShelby/hugo-theme-relearn/issues/658" rel="external" target="_blank">#658</a></li>
|
|
<li>[<strong>bug</strong>] theme: fix id generat'n fer markdownified titles <a href="https://github.com/McShelby/hugo-theme-relearn/issues/657" rel="external" target="_blank">#657</a></li>
|
|
<li>[<strong>bug</strong>] mermaid: avoid graph bomb'n on hugo –minify <a href="https://github.com/McShelby/hugo-theme-relearn/issues/656" rel="external" target="_blank">#656</a></li>
|
|
<li>[<strong>bug</strong>] mermaid: fix width fer some graphs <a href="https://github.com/McShelby/hugo-theme-relearn/issues/655" rel="external" target="_blank">#655</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5220-2023-09-26">5.22.0 (2023-09-26)</h2>
|
|
<h3 id="enhancements-11">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] mermaid: add pan&zoom reset <a href="https://github.com/McShelby/hugo-theme-relearn/issues/651" rel="external" target="_blank">#651</a></li>
|
|
<li>[<strong>feature</strong>] markdown: add interlace color fer tables <a href="https://github.com/McShelby/hugo-theme-relearn/issues/648" rel="external" target="_blank">#648</a></li>
|
|
<li>[<strong>feature</strong>] search: add breadcrumb t' dedicated search results <a href="https://github.com/McShelby/hugo-theme-relearn/issues/647" rel="external" target="_blank">#647</a></li>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] menu: optionally dis'ble index planks fer sections <a href="https://github.com/McShelby/hugo-theme-relearn/issues/642" rel="external" target="_blank">#642</a></li>
|
|
</ul>
|
|
<h3 id="fixes-12">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] variants: restore generator zoom <a href="https://github.com/McShelby/hugo-theme-relearn/issues/650" rel="external" target="_blank">#650</a></li>
|
|
<li>[<strong>bug</strong>] clipboard: malused Fontawesome style <a href="https://github.com/McShelby/hugo-theme-relearn/issues/649" rel="external" target="_blank">#649</a></li>
|
|
<li>[<strong>bug</strong>][<strong>change</strong>] theme: avoid id collisions between head'ns an' theme <a href="https://github.com/McShelby/hugo-theme-relearn/issues/646" rel="external" target="_blank">#646</a></li>
|
|
<li>[<strong>bug</strong>] theme: remove HTML validat'n errors <a href="https://github.com/McShelby/hugo-theme-relearn/issues/644" rel="external" target="_blank">#644</a></li>
|
|
<li>[<strong>bug</strong>] breadcrumb: remove superflous whitespace between items <a href="https://github.com/McShelby/hugo-theme-relearn/issues/643" rel="external" target="_blank">#643</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5210-2023-09-18">5.21.0 (2023-09-18)</h2>
|
|
<h3 id="enhancements-12">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] topbar: make buttons configur'ble <a href="https://github.com/McShelby/hugo-theme-relearn/issues/639" rel="external" target="_blank">#639</a></li>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] menu: fix footer padd'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/637" rel="external" target="_blank">#637</a></li>
|
|
</ul>
|
|
<h3 id="fixes-13">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] breadcrumb: don’t ignore spaces fer separator <a href="https://github.com/McShelby/hugo-theme-relearn/issues/636" rel="external" target="_blank">#636</a></li>
|
|
<li>[<strong>bug</strong>] theme: fix snyk code issues <a href="https://github.com/McShelby/hugo-theme-relearn/issues/633" rel="external" target="_blank">#633</a></li>
|
|
<li>[<strong>bug</strong>] images: apply image effects t' lightbox images <a href="https://github.com/McShelby/hugo-theme-relearn/issues/631" rel="external" target="_blank">#631</a></li>
|
|
</ul>
|
|
<h3 id="maintenance-2">Maintenance</h3>
|
|
<ul>
|
|
<li>[<strong>task</strong>] openapi: update t' swagger 5.7.2 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/641" rel="external" target="_blank">#641</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5200-2023-08-26">5.20.0 (2023-08-26)</h2>
|
|
<h3 id="enhancements-13">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] theme: support fer colored borders between menu an' rrrambl'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/626" rel="external" target="_blank">#626</a></li>
|
|
<li>[<strong>feature</strong>] image: allow opt'n t' apply image effects globally <a href="https://github.com/McShelby/hugo-theme-relearn/issues/623" rel="external" target="_blank">#623</a></li>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] openapi: switch t' light syntaxhighlightn'n whar' applic'ble <a href="https://github.com/McShelby/hugo-theme-relearn/issues/621" rel="external" target="_blank">#621</a></li>
|
|
<li>[<strong>feature</strong>] images: document usage o' images wit' links <a href="https://github.com/McShelby/hugo-theme-relearn/issues/576" rel="external" target="_blank">#576</a></li>
|
|
</ul>
|
|
<h3 id="fixes-14">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] highlight: fix render'n fer Cap'n Hugo < 0.111 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/630" rel="external" target="_blank">#630</a></li>
|
|
<li>[<strong>bug</strong>] search: remove link underline on dedicated search plank <a href="https://github.com/McShelby/hugo-theme-relearn/issues/627" rel="external" target="_blank">#627</a></li>
|
|
<li>[<strong>bug</strong>] highlight: don’t switch t' block view if hl_inline=true <a href="https://github.com/McShelby/hugo-theme-relearn/issues/618" rel="external" target="_blank">#618</a></li>
|
|
<li>[<strong>bug</strong>] variant: minor adjustments t' zen variants <a href="https://github.com/McShelby/hugo-theme-relearn/issues/617" rel="external" target="_blank">#617</a></li>
|
|
<li>[<strong>bug</strong>] mermaid: lazy render graph if it be initially hidden <a href="https://github.com/McShelby/hugo-theme-relearn/issues/187" rel="external" target="_blank">#187</a></li>
|
|
</ul>
|
|
<h3 id="maintenance-3">Maintenance</h3>
|
|
<ul>
|
|
<li>[<strong>task</strong>] openapi: update t' swagger 5.4.1 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/620" rel="external" target="_blank">#620</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5190-2023-08-12">5.19.0 (2023-08-12)</h2>
|
|
<h3 id="enhancements-14">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] highlight: add title parameter <a href="https://github.com/McShelby/hugo-theme-relearn/issues/616" rel="external" target="_blank">#616</a></li>
|
|
<li>[<strong>feature</strong>] variant: signal variant switch as event <a href="https://github.com/McShelby/hugo-theme-relearn/issues/614" rel="external" target="_blank">#614</a></li>
|
|
<li>[<strong>feature</strong>] variant: add zen variant 'n light an' dark <a href="https://github.com/McShelby/hugo-theme-relearn/issues/613" rel="external" target="_blank">#613</a></li>
|
|
<li>[<strong>feature</strong>] i18n: add Hungarian translat'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/604" rel="external" target="_blank">#604</a></li>
|
|
<li>[<strong>feature</strong>] mermaid: update t' 10.3.0 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/601" rel="external" target="_blank">#601</a></li>
|
|
</ul>
|
|
<h3 id="fixes-15">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] siteparam: avoid halt if param be a map/slice <a href="https://github.com/McShelby/hugo-theme-relearn/issues/611" rel="external" target="_blank">#611</a></li>
|
|
<li>[<strong>bug</strong>] mermaid: fix broken zoom since update t' v10 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/608" rel="external" target="_blank">#608</a></li>
|
|
<li>[<strong>bug</strong>] mermaid: variant generator diagram does not respond t' events <a href="https://github.com/McShelby/hugo-theme-relearn/issues/607" rel="external" target="_blank">#607</a></li>
|
|
<li>[<strong>bug</strong>] print: avoid chroma leak fer relearn-dark <a href="https://github.com/McShelby/hugo-theme-relearn/issues/605" rel="external" target="_blank">#605</a></li>
|
|
</ul>
|
|
<h3 id="maintenance-4">Maintenance</h3>
|
|
<ul>
|
|
<li>[<strong>task</strong>] mermaid: update t' 10.3.1 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/610" rel="external" target="_blank">#610</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5180-2023-07-27">5.18.0 (2023-07-27)</h2>
|
|
<h3 id="enhancements-15">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] shorrrtcodes: add more deprecat'n warnings <a href="https://github.com/McShelby/hugo-theme-relearn/issues/598" rel="external" target="_blank">#598</a></li>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] shorrrtcodes: change <code>context</code> parameter t' <code>plank</code> if called as partial <a href="https://github.com/McShelby/hugo-theme-relearn/issues/595" rel="external" target="_blank">#595</a></li>
|
|
<li>[<strong>feature</strong>] siteparam: support nested parameters an' text formatt'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/590" rel="external" target="_blank">#590</a></li>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] a11y: improve when tabb'n thru links <a href="https://github.com/McShelby/hugo-theme-relearn/issues/581" rel="external" target="_blank">#581</a></li>
|
|
</ul>
|
|
<h3 id="fixes-16">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] openapi: inherit RTL sett'n from Cap'n Hugo rrrambl'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/600" rel="external" target="_blank">#600</a></li>
|
|
<li>[<strong>bug</strong>] 404: fix display 'n RTL <a href="https://github.com/McShelby/hugo-theme-relearn/issues/597" rel="external" target="_blank">#597</a></li>
|
|
<li>[<strong>bug</strong>] highlight: fix posit'n o' copy-to-clipboard button 'n RTL <a href="https://github.com/McShelby/hugo-theme-relearn/issues/594" rel="external" target="_blank">#594</a></li>
|
|
<li>[<strong>bug</strong>] openapi: fix spell'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/593" rel="external" target="_blank">#593</a></li>
|
|
<li>[<strong>bug</strong>] search: fix typo 'n output format <a href="https://github.com/McShelby/hugo-theme-relearn/issues/591" rel="external" target="_blank">#591</a></li>
|
|
<li>[<strong>bug</strong>] tabs: fix tab select'n by groupid <a href="https://github.com/McShelby/hugo-theme-relearn/issues/582" rel="external" target="_blank">#582</a></li>
|
|
<li>[<strong>bug</strong>] theme: restore compat wit' Cap'n Hugo 0.95.0 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/580" rel="external" target="_blank">#580</a></li>
|
|
<li>[<strong>bug</strong>][<strong>change</strong>] theme: improve display o' links <a href="https://github.com/McShelby/hugo-theme-relearn/issues/577" rel="external" target="_blank">#577</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5171-2023-06-22">5.17.1 (2023-06-22)</h2>
|
|
<h3 id="enhancements-16">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] highlight: make copy t' clipboard appear on hover <a href="https://github.com/McShelby/hugo-theme-relearn/issues/574" rel="external" target="_blank">#574</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5170-2023-06-22">5.17.0 (2023-06-22)</h2>
|
|
<h3 id="enhancements-17">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] highlight: add configur'ble line breaks <a href="https://github.com/McShelby/hugo-theme-relearn/issues/169" rel="external" target="_blank">#169</a></li>
|
|
</ul>
|
|
<h3 id="fixes-17">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] theme: support Cap'n Hugo 0.114.0 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/573" rel="external" target="_blank">#573</a></li>
|
|
<li>[<strong>bug</strong>] taxonomy: fix number tags <a href="https://github.com/McShelby/hugo-theme-relearn/issues/570" rel="external" target="_blank">#570</a></li>
|
|
<li>[<strong>bug</strong>] highlight: improve copy t' clipboard <a href="https://github.com/McShelby/hugo-theme-relearn/issues/569" rel="external" target="_blank">#569</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5162-2023-06-10">5.16.2 (2023-06-10)</h2>
|
|
<h3 id="enhancements-18">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] theme: revamp 404 plank <a href="https://github.com/McShelby/hugo-theme-relearn/issues/566" rel="external" target="_blank">#566</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5161-2023-06-09">5.16.1 (2023-06-09)</h2>
|
|
<h3 id="enhancements-19">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] theme: add deprecat'n warnings <a href="https://github.com/McShelby/hugo-theme-relearn/issues/565" rel="external" target="_blank">#565</a></li>
|
|
</ul>
|
|
<h3 id="fixes-18">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] mermaid: allow fer YAML frontmatter inside o' graph <a href="https://github.com/McShelby/hugo-theme-relearn/issues/564" rel="external" target="_blank">#564</a></li>
|
|
<li>[<strong>bug</strong>] alias: fix redirect URLs 'n case o' empty BaseURL <a href="https://github.com/McShelby/hugo-theme-relearn/issues/562" rel="external" target="_blank">#562</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5160-2023-06-08">5.16.0 (2023-06-08)</h2>
|
|
<h3 id="enhancements-20">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] tabs: add title an' ay'con opt'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/552" rel="external" target="_blank">#552</a></li>
|
|
<li>[<strong>feature</strong>] shorrrtcodes: add style opt'n t' mimic code box color scheme <a href="https://github.com/McShelby/hugo-theme-relearn/issues/551" rel="external" target="_blank">#551</a></li>
|
|
<li>[<strong>feature</strong>] tabs: support color opt'ns <a href="https://github.com/McShelby/hugo-theme-relearn/issues/550" rel="external" target="_blank">#550</a></li>
|
|
<li>[<strong>feature</strong>] favicon: add light & dark opt'n fer OS’s prefered color scheme <a href="https://github.com/McShelby/hugo-theme-relearn/issues/549" rel="external" target="_blank">#549</a></li>
|
|
</ul>
|
|
<h3 id="fixes-19">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] ay'con: remove whitespace on start <a href="https://github.com/McShelby/hugo-theme-relearn/issues/560" rel="external" target="_blank">#560</a></li>
|
|
<li>[<strong>bug</strong>] shorrrtcodes: avoid superflous margin at start an' end o' rrrambl'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/558" rel="external" target="_blank">#558</a></li>
|
|
<li>[<strong>bug</strong>] expand: fix html encod'n o' finish'n rrrambl'n tag <a href="https://github.com/McShelby/hugo-theme-relearn/issues/557" rel="external" target="_blank">#557</a></li>
|
|
<li>[<strong>bug</strong>] ay'con: fix ouput “raw HTML omitted” wit' goldmark config unsafe=false <a href="https://github.com/McShelby/hugo-theme-relearn/issues/555" rel="external" target="_blank">#555</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5152-2023-05-29">5.15.2 (2023-05-29)</h2>
|
|
<h3 id="enhancements-21">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] taxonomy: add support fer category default taxonomy <a href="https://github.com/McShelby/hugo-theme-relearn/issues/541" rel="external" target="_blank">#541</a></li>
|
|
</ul>
|
|
<h3 id="fixes-20">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] attachments: work fer Cap'n Hugo < 0.112 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/546" rel="external" target="_blank">#546</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5151-2023-05-25">5.15.1 (2023-05-25)</h2>
|
|
<h3 id="fixes-21">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] shorrrtcodes: intermediately use random ids instead o' .Ordinal <a href="https://github.com/McShelby/hugo-theme-relearn/issues/543" rel="external" target="_blank">#543</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5150-2023-05-25">5.15.0 (2023-05-25)</h2>
|
|
<h3 id="enhancements-22">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] tab: new shortcode t' display single tab <a href="https://github.com/McShelby/hugo-theme-relearn/issues/538" rel="external" target="_blank">#538</a></li>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] tabs: treat groupid as unique if not set <a href="https://github.com/McShelby/hugo-theme-relearn/issues/537" rel="external" target="_blank">#537</a></li>
|
|
<li>[<strong>feature</strong>] expand: indent expanded rrrambl'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/536" rel="external" target="_blank">#536</a></li>
|
|
<li>[<strong>feature</strong>] notice: make boxes more prominent <a href="https://github.com/McShelby/hugo-theme-relearn/issues/535" rel="external" target="_blank">#535</a></li>
|
|
</ul>
|
|
<h3 id="fixes-22">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] attachments: fix build error since Cap'n Hugo 0.112 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/540" rel="external" target="_blank">#540</a></li>
|
|
</ul>
|
|
<h3 id="maintenance-5">Maintenance</h3>
|
|
<ul>
|
|
<li>[<strong>task</strong>] chore: update Merrrmaid t' 9.4.3 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/534" rel="external" target="_blank">#534</a></li>
|
|
<li>[<strong>task</strong>] mermaid: update t' 10.2.0 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/499" rel="external" target="_blank">#499</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5143-2023-05-20">5.14.3 (2023-05-20)</h2>
|
|
<h3 id="fixes-23">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] tags: show taxonomy toc fer standard installat'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/533" rel="external" target="_blank">#533</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5142-2023-05-20">5.14.2 (2023-05-20)</h2>
|
|
<h3 id="fixes-24">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] tags: translate breadcrumb an' title fer taxonomy <a href="https://github.com/McShelby/hugo-theme-relearn/issues/532" rel="external" target="_blank">#532</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5141-2023-05-20">5.14.1 (2023-05-20)</h2>
|
|
<p><em>No changelog fer this release.</em></p>
|
|
<hr>
|
|
<h2 id="5140-2023-05-19">5.14.0 (2023-05-19)</h2>
|
|
<h3 id="enhancements-23">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] tags: improve search index fer tags <a href="https://github.com/McShelby/hugo-theme-relearn/issues/531" rel="external" target="_blank">#531</a></li>
|
|
<li>[<strong>feature</strong>] tags: increase readability o' taxonomy planks <a href="https://github.com/McShelby/hugo-theme-relearn/issues/530" rel="external" target="_blank">#530</a></li>
|
|
<li>[<strong>feature</strong>] nav: make breadcrumb separator configur'ble <a href="https://github.com/McShelby/hugo-theme-relearn/issues/529" rel="external" target="_blank">#529</a></li>
|
|
<li>[<strong>feature</strong>] i18n: add translat'n fer default taxonomies <a href="https://github.com/McShelby/hugo-theme-relearn/issues/528" rel="external" target="_blank">#528</a></li>
|
|
<li>[<strong>feature</strong>] theme: set appropriate defaults fer all theme specific params <a href="https://github.com/McShelby/hugo-theme-relearn/issues/516" rel="external" target="_blank">#516</a></li>
|
|
<li>[<strong>feature</strong>] theme: allow t' display tags below article <a href="https://github.com/McShelby/hugo-theme-relearn/issues/513" rel="external" target="_blank">#513</a></li>
|
|
</ul>
|
|
<h3 id="fixes-25">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] shortcode: make .context always a plank <a href="https://github.com/McShelby/hugo-theme-relearn/issues/527" rel="external" target="_blank">#527</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5132-2023-05-17">5.13.2 (2023-05-17)</h2>
|
|
<h3 id="fixes-26">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] print: en'ble print fer planks wit' _build opt'ns <a href="https://github.com/McShelby/hugo-theme-relearn/issues/522" rel="external" target="_blank">#522</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5131-2023-05-16">5.13.1 (2023-05-16)</h2>
|
|
<h3 id="fixes-27">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] openapi: allow toc t' scroll plank <a href="https://github.com/McShelby/hugo-theme-relearn/issues/526" rel="external" target="_blank">#526</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5130-2023-05-14">5.13.0 (2023-05-14)</h2>
|
|
<h3 id="enhancements-24">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] openapi: replace implementat'n wit' swagger-ui <a href="https://github.com/McShelby/hugo-theme-relearn/issues/523" rel="external" target="_blank">#523</a></li>
|
|
</ul>
|
|
<h3 id="fixes-28">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] variant: avoid leak'n shadows 'n neon print style <a href="https://github.com/McShelby/hugo-theme-relearn/issues/524" rel="external" target="_blank">#524</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5126-2023-05-04">5.12.6 (2023-05-04)</h2>
|
|
<h3 id="enhancements-25">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] theme: better HTML titles an' breadcrumbs fer search an' tag planks <a href="https://github.com/McShelby/hugo-theme-relearn/issues/521" rel="external" target="_blank">#521</a></li>
|
|
</ul>
|
|
<h3 id="fixes-29">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] menu: avoid hid'n o' expander on hover when active item has children <a href="https://github.com/McShelby/hugo-theme-relearn/issues/520" rel="external" target="_blank">#520</a></li>
|
|
<li>[<strong>bug</strong>] menu: showVisitedLinks not work'n fer some theme variants <a href="https://github.com/McShelby/hugo-theme-relearn/issues/518" rel="external" target="_blank">#518</a></li>
|
|
<li>[<strong>bug</strong>] theme: fix resource URLs fer 404 plank on subdirectories <a href="https://github.com/McShelby/hugo-theme-relearn/issues/515" rel="external" target="_blank">#515</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5125-2023-03-28">5.12.5 (2023-03-28)</h2>
|
|
<h3 id="fixes-30">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] expand: not properly exanded when used 'n bullet point list <a href="https://github.com/McShelby/hugo-theme-relearn/issues/508" rel="external" target="_blank">#508</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5124-2023-03-24">5.12.4 (2023-03-24)</h2>
|
|
<h3 id="fixes-31">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] theme: disableExplicitIndexURLs param be not work'n as expected <a href="https://github.com/McShelby/hugo-theme-relearn/issues/505" rel="external" target="_blank">#505</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5123-2023-03-14">5.12.3 (2023-03-14)</h2>
|
|
<h3 id="fixes-32">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] attachments: fix links if only one language be present <a href="https://github.com/McShelby/hugo-theme-relearn/issues/503" rel="external" target="_blank">#503</a></li>
|
|
<li>[<strong>bug</strong>] shorrrtcodes: allow markdown fer title an' rrrambl'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/502" rel="external" target="_blank">#502</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5122-2023-03-03">5.12.2 (2023-03-03)</h2>
|
|
<h3 id="fixes-33">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] menu: fix state fer alwaysopen=false + collapsibleMenu=false <a href="https://github.com/McShelby/hugo-theme-relearn/issues/498" rel="external" target="_blank">#498</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5121-2023-02-26">5.12.1 (2023-02-26)</h2>
|
|
<h3 id="enhancements-26">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] variant: add relearn bright theme <a href="https://github.com/McShelby/hugo-theme-relearn/issues/493" rel="external" target="_blank">#493</a></li>
|
|
</ul>
|
|
<h3 id="fixes-34">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] generator: fix sett'n o' colors <a href="https://github.com/McShelby/hugo-theme-relearn/issues/494" rel="external" target="_blank">#494</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5120-2023-02-24">5.12.0 (2023-02-24)</h2>
|
|
<h3 id="enhancements-27">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] frontmatter: support VSCode Front Matter extension <a href="https://github.com/McShelby/hugo-theme-relearn/issues/481" rel="external" target="_blank">#481</a></li>
|
|
<li>[<strong>feature</strong>] theme: make expand an' image ids st'ble <a href="https://github.com/McShelby/hugo-theme-relearn/issues/477" rel="external" target="_blank">#477</a></li>
|
|
<li>[<strong>feature</strong>] variant: set scrollbar color t' dark fer dark variants <a href="https://github.com/McShelby/hugo-theme-relearn/issues/471" rel="external" target="_blank">#471</a></li>
|
|
<li>[<strong>feature</strong>] i18n: add full RTL support <a href="https://github.com/McShelby/hugo-theme-relearn/issues/470" rel="external" target="_blank">#470</a></li>
|
|
<li>[<strong>feature</strong>] piratify: fix some quirks, arrr <a href="https://github.com/McShelby/hugo-theme-relearn/issues/469" rel="external" target="_blank">#469</a></li>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] theme: optimizat'n fer huge screen sizes <a href="https://github.com/McShelby/hugo-theme-relearn/issues/466" rel="external" target="_blank">#466</a></li>
|
|
</ul>
|
|
<h3 id="fixes-35">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] i18n: write code ltr even fer rtl languages <a href="https://github.com/McShelby/hugo-theme-relearn/issues/492" rel="external" target="_blank">#492</a></li>
|
|
<li>[<strong>bug</strong>] anchor: fix link 'n FF when served from file system <a href="https://github.com/McShelby/hugo-theme-relearn/issues/482" rel="external" target="_blank">#482</a></li>
|
|
<li>[<strong>bug</strong>] shorrrtcodes: don’t break build an' render fer invalid parameters <a href="https://github.com/McShelby/hugo-theme-relearn/issues/480" rel="external" target="_blank">#480</a></li>
|
|
<li>[<strong>bug</strong>] nav: restore scroll posit'n on browser back <a href="https://github.com/McShelby/hugo-theme-relearn/issues/476" rel="external" target="_blank">#476</a></li>
|
|
<li>[<strong>bug</strong>] variant: avoid style leak fer auto style <a href="https://github.com/McShelby/hugo-theme-relearn/issues/473" rel="external" target="_blank">#473</a></li>
|
|
</ul>
|
|
<h3 id="maintenance-6">Maintenance</h3>
|
|
<ul>
|
|
<li>[<strong>task</strong>] build: add imagebot <a href="https://github.com/McShelby/hugo-theme-relearn/issues/485" rel="external" target="_blank">#485</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5112-2023-02-07">5.11.2 (2023-02-07)</h2>
|
|
<h3 id="fixes-36">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] tabs: nested tabs rrrambl'n be not displayed <a href="https://github.com/McShelby/hugo-theme-relearn/issues/468" rel="external" target="_blank">#468</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5111-2023-02-06">5.11.1 (2023-02-06)</h2>
|
|
<h3 id="fixes-37">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] variant: include miss'n <code>theme-auto.css</code> 'n distribut'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/467" rel="external" target="_blank">#467</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5110-2023-02-05">5.11.0 (2023-02-05)</h2>
|
|
<h3 id="enhancements-28">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] i18n: add Czech translat'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/455" rel="external" target="_blank">#455</a></li>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] lightbox: switch t' CSS-only solut'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/451" rel="external" target="_blank">#451</a></li>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] variant: add support fer <code>prefers-color-scheme</code> <a href="https://github.com/McShelby/hugo-theme-relearn/issues/445" rel="external" target="_blank">#445</a></li>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] expand: refactor fer a11y <a href="https://github.com/McShelby/hugo-theme-relearn/issues/339" rel="external" target="_blank">#339</a></li>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] mermaid: make zoom configur'ble <a href="https://github.com/McShelby/hugo-theme-relearn/issues/144" rel="external" target="_blank">#144</a></li>
|
|
</ul>
|
|
<h3 id="fixes-38">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] swagger: avoid errors when us'n invalid rapi-doc fragment ids <a href="https://github.com/McShelby/hugo-theme-relearn/issues/465" rel="external" target="_blank">#465</a></li>
|
|
<li>[<strong>bug</strong>] search: fix oddities 'n keyboard handl'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/463" rel="external" target="_blank">#463</a></li>
|
|
<li>[<strong>bug</strong>] badge: fix text color fer IE11 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/462" rel="external" target="_blank">#462</a></li>
|
|
<li>[<strong>bug</strong>] mermaid: rerender graph if search term be present an' variant be switched <a href="https://github.com/McShelby/hugo-theme-relearn/issues/460" rel="external" target="_blank">#460</a></li>
|
|
<li>[<strong>bug</strong>] tags: show tag on planks when tag has space <a href="https://github.com/McShelby/hugo-theme-relearn/issues/459" rel="external" target="_blank">#459</a></li>
|
|
<li>[<strong>bug</strong>] edit: remove do'ble slash on root plank link <a href="https://github.com/McShelby/hugo-theme-relearn/issues/450" rel="external" target="_blank">#450</a></li>
|
|
</ul>
|
|
<h3 id="maintenance-7">Maintenance</h3>
|
|
<ul>
|
|
<li>[<strong>task</strong>] build: add mov'n version tags <a href="https://github.com/McShelby/hugo-theme-relearn/issues/453" rel="external" target="_blank">#453</a></li>
|
|
<li>[<strong>task</strong>][<strong>change</strong>] theme: remove jQuery <a href="https://github.com/McShelby/hugo-theme-relearn/issues/452" rel="external" target="_blank">#452</a></li>
|
|
<li>[<strong>task</strong>] build: check fer release notes before release <a href="https://github.com/McShelby/hugo-theme-relearn/issues/448" rel="external" target="_blank">#448</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5102-2023-01-25">5.10.2 (2023-01-25)</h2>
|
|
<h3 id="fixes-39">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] nav: fix breadcrumb fer huge installat'ns <a href="https://github.com/McShelby/hugo-theme-relearn/issues/446" rel="external" target="_blank">#446</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5101-2023-01-25">5.10.1 (2023-01-25)</h2>
|
|
<h3 id="fixes-40">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] print: fix image links wit' relative path <a href="https://github.com/McShelby/hugo-theme-relearn/issues/444" rel="external" target="_blank">#444</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="5100-2023-01-25">5.10.0 (2023-01-25)</h2>
|
|
<h3 id="enhancements-29">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] shorrrtcodes: support fer accent color <a href="https://github.com/McShelby/hugo-theme-relearn/issues/440" rel="external" target="_blank">#440</a></li>
|
|
<li>[<strong>feature</strong>] shorrrtcodes: add color parameter whar' applic'ble <a href="https://github.com/McShelby/hugo-theme-relearn/issues/438" rel="external" target="_blank">#438</a></li>
|
|
<li>[<strong>feature</strong>] theme: announce translat'ns as alternate links <a href="https://github.com/McShelby/hugo-theme-relearn/issues/422" rel="external" target="_blank">#422</a></li>
|
|
</ul>
|
|
<h3 id="fixes-41">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] nav: fix breadcrumbs fer deeply nested sections <a href="https://github.com/McShelby/hugo-theme-relearn/issues/442" rel="external" target="_blank">#442</a></li>
|
|
<li>[<strong>bug</strong>] theme: improve whitespac'n 'n tables <a href="https://github.com/McShelby/hugo-theme-relearn/issues/441" rel="external" target="_blank">#441</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="594-2023-01-23">5.9.4 (2023-01-23)</h2>
|
|
<h3 id="fixes-42">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] variant: fix search ay'con an' text color <a href="https://github.com/McShelby/hugo-theme-relearn/issues/437" rel="external" target="_blank">#437</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="593-2023-01-22">5.9.3 (2023-01-22)</h2>
|
|
<h3 id="fixes-43">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] nav: fix left/right navigat'n fer horizontal scroll'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/435" rel="external" target="_blank">#435</a></li>
|
|
<li>[<strong>bug</strong>][<strong>break'n</strong>] theme: allow planks on top level <a href="https://github.com/McShelby/hugo-theme-relearn/issues/434" rel="external" target="_blank">#434</a></li>
|
|
</ul>
|
|
<h3 id="maintenance-8">Maintenance</h3>
|
|
<ul>
|
|
<li>[<strong>task</strong>] build: switch t' wildcard version o' act'ns <a href="https://github.com/McShelby/hugo-theme-relearn/issues/428" rel="external" target="_blank">#428</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="592-2022-12-30">5.9.2 (2022-12-30)</h2>
|
|
<h3 id="fixes-44">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] search: apply dependency scripts fer Hindi an' Japanese <a href="https://github.com/McShelby/hugo-theme-relearn/issues/427" rel="external" target="_blank">#427</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="591-2022-12-23">5.9.1 (2022-12-23)</h2>
|
|
<h3 id="enhancements-30">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] theme: make external link target configur'ble <a href="https://github.com/McShelby/hugo-theme-relearn/issues/426" rel="external" target="_blank">#426</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="590-2022-12-23">5.9.0 (2022-12-23)</h2>
|
|
<h3 id="enhancements-31">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] theme: open external links 'n separate tab <a href="https://github.com/McShelby/hugo-theme-relearn/issues/419" rel="external" target="_blank">#419</a></li>
|
|
<li>[<strong>feature</strong>] theme: make it a Cap'n Hugo module <a href="https://github.com/McShelby/hugo-theme-relearn/issues/417" rel="external" target="_blank">#417</a></li>
|
|
</ul>
|
|
<h3 id="fixes-45">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>][<strong>change</strong>] attachments: fix incorrect links fer defaultContentLanguageInSubdir=true <a href="https://github.com/McShelby/hugo-theme-relearn/issues/425" rel="external" target="_blank">#425</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="581-2022-12-11">5.8.1 (2022-12-11)</h2>
|
|
<h3 id="fixes-46">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] theme: fix alias fer home plank if defaultContentLanguageInSubdir=true <a href="https://github.com/McShelby/hugo-theme-relearn/issues/414" rel="external" target="_blank">#414</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="580-2022-12-08">5.8.0 (2022-12-08)</h2>
|
|
<h3 id="enhancements-32">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] ay'con: add new shortcode <a href="https://github.com/McShelby/hugo-theme-relearn/issues/412" rel="external" target="_blank">#412</a></li>
|
|
<li>[<strong>feature</strong>] theme: style an' document markdown extensions <a href="https://github.com/McShelby/hugo-theme-relearn/issues/411" rel="external" target="_blank">#411</a></li>
|
|
<li>[<strong>feature</strong>] badge: add new shortcode <a href="https://github.com/McShelby/hugo-theme-relearn/issues/410" rel="external" target="_blank">#410</a></li>
|
|
<li>[<strong>feature</strong>] theme: add accent color <a href="https://github.com/McShelby/hugo-theme-relearn/issues/409" rel="external" target="_blank">#409</a></li>
|
|
</ul>
|
|
<h3 id="fixes-47">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] theme: fix spac'n fer tag flyout 'n FF <a href="https://github.com/McShelby/hugo-theme-relearn/issues/413" rel="external" target="_blank">#413</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="570-2022-11-29">5.7.0 (2022-11-29)</h2>
|
|
<h3 id="enhancements-33">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] button: refactor fer a11y <a href="https://github.com/McShelby/hugo-theme-relearn/issues/372" rel="external" target="_blank">#372</a></li>
|
|
</ul>
|
|
<h3 id="fixes-48">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] search: don’t freeze browser on long search terms <a href="https://github.com/McShelby/hugo-theme-relearn/issues/408" rel="external" target="_blank">#408</a></li>
|
|
<li>[<strong>bug</strong>] search: fix searchbox placeholder color 'n FF an' IE <a href="https://github.com/McShelby/hugo-theme-relearn/issues/405" rel="external" target="_blank">#405</a></li>
|
|
<li>[<strong>bug</strong>][<strong>change</strong>] i18n: rename Korean translat'n from country t' lang code <a href="https://github.com/McShelby/hugo-theme-relearn/issues/404" rel="external" target="_blank">#404</a></li>
|
|
</ul>
|
|
<h3 id="maintenance-9">Maintenance</h3>
|
|
<ul>
|
|
<li>[<strong>task</strong>] search: update lunr languages t' 1.10.0 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/403" rel="external" target="_blank">#403</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="566-2022-11-23">5.6.6 (2022-11-23)</h2>
|
|
<h3 id="enhancements-34">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] search: make build an' js forgiv'n against config errors <a href="https://github.com/McShelby/hugo-theme-relearn/issues/400" rel="external" target="_blank">#400</a></li>
|
|
</ul>
|
|
<h3 id="fixes-49">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] variant: minor color adjustments <a href="https://github.com/McShelby/hugo-theme-relearn/issues/402" rel="external" target="_blank">#402</a></li>
|
|
<li>[<strong>bug</strong>] variant: fix generator fer use o' neon <a href="https://github.com/McShelby/hugo-theme-relearn/issues/401" rel="external" target="_blank">#401</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="565-2022-11-19">5.6.5 (2022-11-19)</h2>
|
|
<h3 id="fixes-50">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] menu: relax usage o' background color <a href="https://github.com/McShelby/hugo-theme-relearn/issues/399" rel="external" target="_blank">#399</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="564-2022-11-19">5.6.4 (2022-11-19)</h2>
|
|
<h3 id="fixes-51">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] theme: make alias planks us'ble by file:// protocol <a href="https://github.com/McShelby/hugo-theme-relearn/issues/398" rel="external" target="_blank">#398</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="563-2022-11-19">5.6.3 (2022-11-19)</h2>
|
|
<h3 id="fixes-52">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] theme: be compat'ble wit' Cap'n Hugo >= 0.95.0 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/397" rel="external" target="_blank">#397</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="562-2022-11-19">5.6.2 (2022-11-19)</h2>
|
|
<h3 id="fixes-53">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] theme: build breaks sites without “output” section 'n config <a href="https://github.com/McShelby/hugo-theme-relearn/issues/396" rel="external" target="_blank">#396</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="561-2022-11-19">5.6.1 (2022-11-19)</h2>
|
|
<h3 id="fixes-54">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] theme: fix image distort'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/395" rel="external" target="_blank">#395</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="560-2022-11-18">5.6.0 (2022-11-18)</h2>
|
|
<h3 id="enhancements-35">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] toc: improve keyboard handl'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/390" rel="external" target="_blank">#390</a></li>
|
|
<li>[<strong>feature</strong>] search: improve keyboard handl'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/387" rel="external" target="_blank">#387</a></li>
|
|
<li>[<strong>feature</strong>] search: add dedicated search plank <a href="https://github.com/McShelby/hugo-theme-relearn/issues/386" rel="external" target="_blank">#386</a></li>
|
|
<li>[<strong>feature</strong>] theme: make creat'n o' generator meta tag configur'ble <a href="https://github.com/McShelby/hugo-theme-relearn/issues/383" rel="external" target="_blank">#383</a></li>
|
|
<li>[<strong>feature</strong>] theme: increase build performance <a href="https://github.com/McShelby/hugo-theme-relearn/issues/380" rel="external" target="_blank">#380</a></li>
|
|
</ul>
|
|
<h3 id="fixes-55">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] mermaid: avoid lead'n whitespace <a href="https://github.com/McShelby/hugo-theme-relearn/issues/394" rel="external" target="_blank">#394</a></li>
|
|
<li>[<strong>bug</strong>] theme: fix build errors when referenc'n SVGs 'n markdown <a href="https://github.com/McShelby/hugo-theme-relearn/issues/393" rel="external" target="_blank">#393</a></li>
|
|
<li>[<strong>bug</strong>] variant: avoid neon t' leak into IE11 fallback <a href="https://github.com/McShelby/hugo-theme-relearn/issues/392" rel="external" target="_blank">#392</a></li>
|
|
<li>[<strong>bug</strong>] theme: fix urls fer file:// protocol 'n sitemap <a href="https://github.com/McShelby/hugo-theme-relearn/issues/385" rel="external" target="_blank">#385</a></li>
|
|
<li>[<strong>bug</strong>] theme: add id t' h1 elements <a href="https://github.com/McShelby/hugo-theme-relearn/issues/384" rel="external" target="_blank">#384</a></li>
|
|
<li>[<strong>bug</strong>] rss: fix display o' hidden subpages <a href="https://github.com/McShelby/hugo-theme-relearn/issues/382" rel="external" target="_blank">#382</a></li>
|
|
<li>[<strong>bug</strong>] nav: fix key navigat'n when press'n wrong modifiers <a href="https://github.com/McShelby/hugo-theme-relearn/issues/379" rel="external" target="_blank">#379</a></li>
|
|
</ul>
|
|
<h3 id="maintenance-10">Maintenance</h3>
|
|
<ul>
|
|
<li>[<strong>task</strong>] mermaid: update t' version 9.2.2 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/391" rel="external" target="_blank">#391</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="553-2022-11-10">5.5.3 (2022-11-10)</h2>
|
|
<h3 id="fixes-56">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] tags: fix non-latin tag display on planks <a href="https://github.com/McShelby/hugo-theme-relearn/issues/378" rel="external" target="_blank">#378</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="552-2022-11-08">5.5.2 (2022-11-08)</h2>
|
|
<h3 id="fixes-57">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] theme: fix typo 'n 404.html <a href="https://github.com/McShelby/hugo-theme-relearn/issues/376" rel="external" target="_blank">#376</a></li>
|
|
<li>[<strong>bug</strong>] theme: allow menu items an' children t' be served by file:// protocol <a href="https://github.com/McShelby/hugo-theme-relearn/issues/375" rel="external" target="_blank">#375</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="551-2022-11-07">5.5.1 (2022-11-07)</h2>
|
|
<h3 id="fixes-58">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] theme: fix overflow'n issue wit' anchors an' tooltips <a href="https://github.com/McShelby/hugo-theme-relearn/issues/364" rel="external" target="_blank">#364</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="550-2022-11-06">5.5.0 (2022-11-06)</h2>
|
|
<h3 id="enhancements-36">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] theme: opt'mize plank board fer images <a href="https://github.com/McShelby/hugo-theme-relearn/issues/304" rel="external" target="_blank">#304</a></li>
|
|
</ul>
|
|
<h3 id="fixes-59">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] theme: fix context 'n render hooks <a href="https://github.com/McShelby/hugo-theme-relearn/issues/373" rel="external" target="_blank">#373</a></li>
|
|
<li>[<strong>bug</strong>] print: make canonical URL absolute <a href="https://github.com/McShelby/hugo-theme-relearn/issues/371" rel="external" target="_blank">#371</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="543-2022-11-05">5.4.3 (2022-11-05)</h2>
|
|
<h3 id="enhancements-37">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] history: refactor fer a11y <a href="https://github.com/McShelby/hugo-theme-relearn/issues/341" rel="external" target="_blank">#341</a></li>
|
|
</ul>
|
|
<h3 id="fixes-60">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] theme: fix multilang links when ship served from subdirectory <a href="https://github.com/McShelby/hugo-theme-relearn/issues/370" rel="external" target="_blank">#370</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="542-2022-11-05">5.4.2 (2022-11-05)</h2>
|
|
<h3 id="maintenance-11">Maintenance</h3>
|
|
<ul>
|
|
<li>[<strong>task</strong>] build: change set-output t' env vars <a href="https://github.com/McShelby/hugo-theme-relearn/issues/348" rel="external" target="_blank">#348</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="541-2022-11-05">5.4.1 (2022-11-05)</h2>
|
|
<h3 id="fixes-61">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] mermaid: fix Gantt chart width <a href="https://github.com/McShelby/hugo-theme-relearn/issues/365" rel="external" target="_blank">#365</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="540-2022-11-01">5.4.0 (2022-11-01)</h2>
|
|
<h3 id="enhancements-38">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] math: allow pass'n o' parameters wit' codefence rules <a href="https://github.com/McShelby/hugo-theme-relearn/issues/363" rel="external" target="_blank">#363</a></li>
|
|
<li>[<strong>feature</strong>] i18n: add Finnish translat'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/361" rel="external" target="_blank">#361</a></li>
|
|
<li>[<strong>feature</strong>] mermaid: allow pass'n o' parameters wit' codefence rules <a href="https://github.com/McShelby/hugo-theme-relearn/issues/360" rel="external" target="_blank">#360</a></li>
|
|
<li>[<strong>feature</strong>] i18n: support RTL <a href="https://github.com/McShelby/hugo-theme-relearn/issues/357" rel="external" target="_blank">#357</a></li>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] button: add opt'n fer target <a href="https://github.com/McShelby/hugo-theme-relearn/issues/351" rel="external" target="_blank">#351</a></li>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] theme: allow t' be served by file:// protocol <a href="https://github.com/McShelby/hugo-theme-relearn/issues/349" rel="external" target="_blank">#349</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="533-2022-10-09">5.3.3 (2022-10-09)</h2>
|
|
<h3 id="fixes-62">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] archetypes: fix frontmatter on home.md template <a href="https://github.com/McShelby/hugo-theme-relearn/issues/346" rel="external" target="_blank">#346</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="532-2022-10-08">5.3.2 (2022-10-08)</h2>
|
|
<h3 id="fixes-63">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] nav: change defunct keyboard shortcuts <a href="https://github.com/McShelby/hugo-theme-relearn/issues/344" rel="external" target="_blank">#344</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="531-2022-10-08">5.3.1 (2022-10-08)</h2>
|
|
<h3 id="enhancements-39">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] i18n: update Spanish translat'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/343" rel="external" target="_blank">#343</a></li>
|
|
<li>[<strong>feature</strong>] theme: opt'n t' align images <a href="https://github.com/McShelby/hugo-theme-relearn/issues/327" rel="external" target="_blank">#327</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="530-2022-10-07">5.3.0 (2022-10-07)</h2>
|
|
<h3 id="enhancements-40">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] expander: improve whitespace between label an' rrrambl'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/338" rel="external" target="_blank">#338</a></li>
|
|
<li>[<strong>feature</strong>] swagger: improve print version <a href="https://github.com/McShelby/hugo-theme-relearn/issues/333" rel="external" target="_blank">#333</a></li>
|
|
</ul>
|
|
<h3 id="fixes-64">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] print: fix links o' subsections <a href="https://github.com/McShelby/hugo-theme-relearn/issues/340" rel="external" target="_blank">#340</a></li>
|
|
<li>[<strong>bug</strong>] theme: remove W3C validator errors <a href="https://github.com/McShelby/hugo-theme-relearn/issues/337" rel="external" target="_blank">#337</a></li>
|
|
<li>[<strong>bug</strong>] children: remove unused <code>plank</code> parameter from docs <a href="https://github.com/McShelby/hugo-theme-relearn/issues/336" rel="external" target="_blank">#336</a></li>
|
|
<li>[<strong>bug</strong>] print: remove menu placeholder 'n Firefox <a href="https://github.com/McShelby/hugo-theme-relearn/issues/335" rel="external" target="_blank">#335</a></li>
|
|
<li>[<strong>bug</strong>] swagger: fix download button overflow <a href="https://github.com/McShelby/hugo-theme-relearn/issues/334" rel="external" target="_blank">#334</a></li>
|
|
<li>[<strong>bug</strong>][<strong>change</strong>] a11y: remove WCAG errors whar' applic'ble <a href="https://github.com/McShelby/hugo-theme-relearn/issues/307" rel="external" target="_blank">#307</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="524-2022-10-02">5.2.4 (2022-10-02)</h2>
|
|
<h3 id="fixes-65">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] theme: remove HTML5 validator errors <a href="https://github.com/McShelby/hugo-theme-relearn/issues/329" rel="external" target="_blank">#329</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="523-2022-09-12">5.2.3 (2022-09-12)</h2>
|
|
<h3 id="fixes-66">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] print: chapter planks overwrite font-size <a href="https://github.com/McShelby/hugo-theme-relearn/issues/328" rel="external" target="_blank">#328</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="522-2022-08-23">5.2.2 (2022-08-23)</h2>
|
|
<h3 id="fixes-67">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] print: fix urls fer uglyURLs=true <a href="https://github.com/McShelby/hugo-theme-relearn/issues/322" rel="external" target="_blank">#322</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="521-2022-08-05">5.2.1 (2022-08-05)</h2>
|
|
<h3 id="enhancements-41">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] i18n: improve Japanese translat'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/318" rel="external" target="_blank">#318</a></li>
|
|
</ul>
|
|
<h3 id="fixes-68">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] nav: prev/next ignores ordersectionby <a href="https://github.com/McShelby/hugo-theme-relearn/issues/320" rel="external" target="_blank">#320</a></li>
|
|
</ul>
|
|
<h3 id="maintenance-12">Maintenance</h3>
|
|
<ul>
|
|
<li>[<strong>task</strong>] task: bump Cap'n Hugo minimum requirement t' 0.95 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/319" rel="external" target="_blank">#319</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="520-2022-08-03">5.2.0 (2022-08-03)</h2>
|
|
<h3 id="enhancements-42">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] menu: expand collapsed menus if search term be found 'n submenus <a href="https://github.com/McShelby/hugo-theme-relearn/issues/312" rel="external" target="_blank">#312</a></li>
|
|
</ul>
|
|
<h3 id="fixes-69">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] print: switch mermaid an' swagger style before print <a href="https://github.com/McShelby/hugo-theme-relearn/issues/316" rel="external" target="_blank">#316</a></li>
|
|
<li>[<strong>bug</strong>] theme: fix chapter margins on big screens <a href="https://github.com/McShelby/hugo-theme-relearn/issues/315" rel="external" target="_blank">#315</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="512-2022-07-18">5.1.2 (2022-07-18)</h2>
|
|
<h3 id="fixes-70">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] print: reset mermaid theme t' light <a href="https://github.com/McShelby/hugo-theme-relearn/issues/313" rel="external" target="_blank">#313</a></li>
|
|
<li>[<strong>bug</strong>] mermaid: header be show'n up 'n FF <a href="https://github.com/McShelby/hugo-theme-relearn/issues/311" rel="external" target="_blank">#311</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="511-2022-07-15">5.1.1 (2022-07-15)</h2>
|
|
<h3 id="fixes-71">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] tags: don’t count tags if plank be hidden <a href="https://github.com/McShelby/hugo-theme-relearn/issues/310" rel="external" target="_blank">#310</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="510-2022-07-15">5.1.0 (2022-07-15)</h2>
|
|
<h3 id="enhancements-43">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] print: make print url deterministic <a href="https://github.com/McShelby/hugo-theme-relearn/issues/309" rel="external" target="_blank">#309</a></li>
|
|
<li>[<strong>feature</strong>] theme: allow overrid'n partials fer output formats <a href="https://github.com/McShelby/hugo-theme-relearn/issues/308" rel="external" target="_blank">#308</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="503-2022-07-07">5.0.3 (2022-07-07)</h2>
|
|
<h3 id="fixes-72">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] ie11: no styles after rework o' archetypes <a href="https://github.com/McShelby/hugo-theme-relearn/issues/306" rel="external" target="_blank">#306</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="502-2022-07-07">5.0.2 (2022-07-07)</h2>
|
|
<h3 id="fixes-73">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] theme: board CSS if JS be disabled <a href="https://github.com/McShelby/hugo-theme-relearn/issues/305" rel="external" target="_blank">#305</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="501-2022-07-07">5.0.1 (2022-07-07)</h2>
|
|
<h3 id="enhancements-44">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>][<strong>break'n</strong>] theme: opt'mize load'n o' js an' css <a href="https://github.com/McShelby/hugo-theme-relearn/issues/303" rel="external" target="_blank">#303</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="500-2022-07-05">5.0.0 (2022-07-05)</h2>
|
|
<h3 id="enhancements-45">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] archetypes: modularize render'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/300" rel="external" target="_blank">#300</a></li>
|
|
<li>[<strong>feature</strong>] history: don’t reload plank when history gets cleared <a href="https://github.com/McShelby/hugo-theme-relearn/issues/299" rel="external" target="_blank">#299</a></li>
|
|
<li>[<strong>feature</strong>] menu: replace expander by fontawesome chevrons <a href="https://github.com/McShelby/hugo-theme-relearn/issues/296" rel="external" target="_blank">#296</a></li>
|
|
<li>[<strong>feature</strong>] theme: align rrrambl'n wit' topbar ay'con limits <a href="https://github.com/McShelby/hugo-theme-relearn/issues/290" rel="external" target="_blank">#290</a></li>
|
|
<li>[<strong>feature</strong>] button: allow fer empty href <a href="https://github.com/McShelby/hugo-theme-relearn/issues/288" rel="external" target="_blank">#288</a></li>
|
|
<li>[<strong>feature</strong>] i18n: make Simplified Chinese th' standard language fer th' <code>zn</code> code <a href="https://github.com/McShelby/hugo-theme-relearn/issues/287" rel="external" target="_blank">#287</a></li>
|
|
<li>[<strong>feature</strong>] clipboard: move head styles t' stylesheet <a href="https://github.com/McShelby/hugo-theme-relearn/issues/286" rel="external" target="_blank">#286</a></li>
|
|
<li>[<strong>feature</strong>] math: add mathjax render'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/235" rel="external" target="_blank">#235</a></li>
|
|
<li>[<strong>feature</strong>] theme: allow fer plank head'n modificat'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/139" rel="external" target="_blank">#139</a></li>
|
|
</ul>
|
|
<h3 id="fixes-74">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] favicon: fix URL if ship resides 'n subfolder <a href="https://github.com/McShelby/hugo-theme-relearn/issues/302" rel="external" target="_blank">#302</a></li>
|
|
<li>[<strong>bug</strong>] code: show copy-to-clipboard marker fer blocklevel code <a href="https://github.com/McShelby/hugo-theme-relearn/issues/298" rel="external" target="_blank">#298</a></li>
|
|
<li>[<strong>bug</strong>] menu: make active expander vis'ble on hover <a href="https://github.com/McShelby/hugo-theme-relearn/issues/297" rel="external" target="_blank">#297</a></li>
|
|
<li>[<strong>bug</strong>] print: dis'ble arrow navigat'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/294" rel="external" target="_blank">#294</a></li>
|
|
<li>[<strong>bug</strong>] print: add miss'n plank break after index or section <a href="https://github.com/McShelby/hugo-theme-relearn/issues/292" rel="external" target="_blank">#292</a></li>
|
|
<li>[<strong>bug</strong>] theme: use more space on wide screens <a href="https://github.com/McShelby/hugo-theme-relearn/issues/291" rel="external" target="_blank">#291</a></li>
|
|
<li>[<strong>bug</strong>] theme: fix size o' chapter head'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/289" rel="external" target="_blank">#289</a></li>
|
|
</ul>
|
|
<h3 id="maintenance-13">Maintenance</h3>
|
|
<ul>
|
|
<li>[<strong>task</strong>] chore: update RapiDoc 9.3.3 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/301" rel="external" target="_blank">#301</a></li>
|
|
<li>[<strong>task</strong>] chore: update Merrrmaid 9.1.3 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/293" rel="external" target="_blank">#293</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="425-2022-06-23">4.2.5 (2022-06-23)</h2>
|
|
<h3 id="fixes-75">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] swagger: javascript code does not board 'n documentat'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/285" rel="external" target="_blank">#285</a></li>
|
|
<li>[<strong>bug</strong>] children: descript'ns not work'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/284" rel="external" target="_blank">#284</a></li>
|
|
<li>[<strong>bug</strong>] print: fix empty plank fer shortcut links <a href="https://github.com/McShelby/hugo-theme-relearn/issues/283" rel="external" target="_blank">#283</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="424-2022-06-23">4.2.4 (2022-06-23)</h2>
|
|
<h3 id="fixes-76">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] theme: fix url fer logo an' home button <a href="https://github.com/McShelby/hugo-theme-relearn/issues/282" rel="external" target="_blank">#282</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="423-2022-06-23">4.2.3 (2022-06-23)</h2>
|
|
<h3 id="fixes-77">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>][<strong>break'n</strong>] include: second parameter be ignored <a href="https://github.com/McShelby/hugo-theme-relearn/issues/281" rel="external" target="_blank">#281</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="422-2022-06-23">4.2.2 (2022-06-23)</h2>
|
|
<p><em>No changelog fer this release.</em></p>
|
|
<hr>
|
|
<h2 id="421-2022-06-23">4.2.1 (2022-06-23)</h2>
|
|
<p><em>No changelog fer this release.</em></p>
|
|
<hr>
|
|
<h2 id="420-2022-06-23">4.2.0 (2022-06-23)</h2>
|
|
<h3 id="enhancements-46">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] tabs: don’t change tab select'n if panel does not contain item <a href="https://github.com/McShelby/hugo-theme-relearn/issues/279" rel="external" target="_blank">#279</a></li>
|
|
<li>[<strong>feature</strong>] shorrrtcodes: convert t' partials <a href="https://github.com/McShelby/hugo-theme-relearn/issues/277" rel="external" target="_blank">#277</a></li>
|
|
</ul>
|
|
<h3 id="fixes-78">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] swagger: avoid builtin syntax-highlightn'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/280" rel="external" target="_blank">#280</a></li>
|
|
<li>[<strong>bug</strong>] search: fix console message fer miss'n lunr translat'ns <a href="https://github.com/McShelby/hugo-theme-relearn/issues/278" rel="external" target="_blank">#278</a></li>
|
|
<li>[<strong>bug</strong>] tabs: fix wrapp'n when hav'n many tabs <a href="https://github.com/McShelby/hugo-theme-relearn/issues/272" rel="external" target="_blank">#272</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="411-2022-06-18">4.1.1 (2022-06-18)</h2>
|
|
<h3 id="fixes-79">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] notice: fix layout when rrrambl'n starts wit' head'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/275" rel="external" target="_blank">#275</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="410-2022-06-12">4.1.0 (2022-06-12)</h2>
|
|
<h3 id="enhancements-47">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] i18n: support multilang rrrambl'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/271" rel="external" target="_blank">#271</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="405-2022-06-12">4.0.5 (2022-06-12)</h2>
|
|
<h3 id="fixes-80">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] i18n: Vietnamese language wit' wrong lang code <a href="https://github.com/McShelby/hugo-theme-relearn/issues/270" rel="external" target="_blank">#270</a></li>
|
|
<li>[<strong>bug</strong>] i18n: fix search fer non western languages <a href="https://github.com/McShelby/hugo-theme-relearn/issues/269" rel="external" target="_blank">#269</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="404-2022-06-07">4.0.4 (2022-06-07)</h2>
|
|
<h3 id="enhancements-48">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] theme: improve keyboard navigat'n fer scroll'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/268" rel="external" target="_blank">#268</a></li>
|
|
</ul>
|
|
<h3 id="fixes-81">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] swagger: adjust font-size fer method buttons <a href="https://github.com/McShelby/hugo-theme-relearn/issues/267" rel="external" target="_blank">#267</a></li>
|
|
<li>[<strong>bug</strong>] menu: hide expander when only hidden subpages <a href="https://github.com/McShelby/hugo-theme-relearn/issues/264" rel="external" target="_blank">#264</a></li>
|
|
<li>[<strong>bug</strong>] theme: make compat'ble wit' Cap'n Hugo 0.100.0 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/263" rel="external" target="_blank">#263</a></li>
|
|
</ul>
|
|
<h3 id="maintenance-14">Maintenance</h3>
|
|
<ul>
|
|
<li>[<strong>task</strong>] swagger: update rapidoc t' 9.3.2 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/266" rel="external" target="_blank">#266</a></li>
|
|
<li>[<strong>task</strong>] mermaid: update t' 9.1.1 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/265" rel="external" target="_blank">#265</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="403-2022-06-05">4.0.3 (2022-06-05)</h2>
|
|
<h3 id="enhancements-49">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] toc: add scrollbar <a href="https://github.com/McShelby/hugo-theme-relearn/issues/262" rel="external" target="_blank">#262</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="402-2022-06-05">4.0.2 (2022-06-05)</h2>
|
|
<h3 id="fixes-82">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] theme: let browser scroll plank on CTRL+f <a href="https://github.com/McShelby/hugo-theme-relearn/issues/242" rel="external" target="_blank">#242</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="401-2022-06-05">4.0.1 (2022-06-05)</h2>
|
|
<p><em>No changelog fer this release.</em></p>
|
|
<hr>
|
|
<h2 id="400-2022-06-05">4.0.0 (2022-06-05)</h2>
|
|
<h3 id="enhancements-50">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] shorrrtcodes: add named parameter if miss'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/260" rel="external" target="_blank">#260</a></li>
|
|
<li>[<strong>feature</strong>][<strong>break'n</strong>] theme: remove –MAIN-ANCHOR-color from stylesheet <a href="https://github.com/McShelby/hugo-theme-relearn/issues/256" rel="external" target="_blank">#256</a></li>
|
|
<li>[<strong>feature</strong>] i18n: add Italian translat'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/254" rel="external" target="_blank">#254</a></li>
|
|
<li>[<strong>feature</strong>] attachments: support fer brand colors <a href="https://github.com/McShelby/hugo-theme-relearn/issues/252" rel="external" target="_blank">#252</a></li>
|
|
<li>[<strong>feature</strong>] notice: support fer brand colors <a href="https://github.com/McShelby/hugo-theme-relearn/issues/251" rel="external" target="_blank">#251</a></li>
|
|
<li>[<strong>feature</strong>][<strong>break'n</strong>] config: remove custom_css <a href="https://github.com/McShelby/hugo-theme-relearn/issues/248" rel="external" target="_blank">#248</a></li>
|
|
<li>[<strong>feature</strong>] theme: use proper file extension fer page-meta.go <a href="https://github.com/McShelby/hugo-theme-relearn/issues/246" rel="external" target="_blank">#246</a></li>
|
|
<li>[<strong>feature</strong>] variant: add support fer brand color variables <a href="https://github.com/McShelby/hugo-theme-relearn/issues/239" rel="external" target="_blank">#239</a></li>
|
|
<li>[<strong>feature</strong>] i18n: add Polish translat'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/237" rel="external" target="_blank">#237</a></li>
|
|
</ul>
|
|
<h3 id="fixes-83">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] shorrrtcodes: accept boolean parameters if given as str'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/261" rel="external" target="_blank">#261</a></li>
|
|
<li>[<strong>bug</strong>] print: adjust button an' tab size <a href="https://github.com/McShelby/hugo-theme-relearn/issues/259" rel="external" target="_blank">#259</a></li>
|
|
<li>[<strong>bug</strong>] print: show Merrrmaid if requested 'n frontmatter <a href="https://github.com/McShelby/hugo-theme-relearn/issues/255" rel="external" target="_blank">#255</a></li>
|
|
<li>[<strong>bug</strong>] theme: adjust thin scrollbar slider <a href="https://github.com/McShelby/hugo-theme-relearn/issues/244" rel="external" target="_blank">#244</a></li>
|
|
<li>[<strong>bug</strong>] mobile: fix broken scrollbar <a href="https://github.com/McShelby/hugo-theme-relearn/issues/243" rel="external" target="_blank">#243</a></li>
|
|
<li>[<strong>bug</strong>] theme: fix display o' tooltip fer head'n anchor <a href="https://github.com/McShelby/hugo-theme-relearn/issues/241" rel="external" target="_blank">#241</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="341-2022-04-03">3.4.1 (2022-04-03)</h2>
|
|
<h3 id="fixes-84">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] theme: fix IE11 incompatibilities <a href="https://github.com/McShelby/hugo-theme-relearn/issues/234" rel="external" target="_blank">#234</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="340-2022-04-03">3.4.0 (2022-04-03)</h2>
|
|
<h3 id="enhancements-51">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] i18n: add Traditional Chinese translat'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/233" rel="external" target="_blank">#233</a></li>
|
|
<li>[<strong>feature</strong>] menu: expand/collapse menu items without navigat'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/231" rel="external" target="_blank">#231</a></li>
|
|
<li>[<strong>feature</strong>] print: add opt'n t' print whole chapter <a href="https://github.com/McShelby/hugo-theme-relearn/issues/230" rel="external" target="_blank">#230</a></li>
|
|
<li>[<strong>feature</strong>][<strong>break'n</strong>] theme: apply user supplied rrrambl'n footer below rrrambl'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/229" rel="external" target="_blank">#229</a></li>
|
|
</ul>
|
|
<h3 id="fixes-85">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] theme: scroll t' head'n on initial board <a href="https://github.com/McShelby/hugo-theme-relearn/issues/232" rel="external" target="_blank">#232</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="330-2022-03-28">3.3.0 (2022-03-28)</h2>
|
|
<h3 id="enhancements-52">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] theme: add CSS font variables <a href="https://github.com/McShelby/hugo-theme-relearn/issues/227" rel="external" target="_blank">#227</a></li>
|
|
<li>[<strong>feature</strong>] swagger: add support fer oas/swagger documentat'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/226" rel="external" target="_blank">#226</a></li>
|
|
</ul>
|
|
<h3 id="fixes-86">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] variant: make variant switch work on slow networks <a href="https://github.com/McShelby/hugo-theme-relearn/issues/228" rel="external" target="_blank">#228</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="321-2022-03-25">3.2.1 (2022-03-25)</h2>
|
|
<h3 id="fixes-87">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] print: fix minor inconsistencies <a href="https://github.com/McShelby/hugo-theme-relearn/issues/225" rel="external" target="_blank">#225</a></li>
|
|
<li>[<strong>bug</strong>] print: show more than just th' title plank <a href="https://github.com/McShelby/hugo-theme-relearn/issues/224" rel="external" target="_blank">#224</a></li>
|
|
<li>[<strong>bug</strong>] theme: align rrrambl'n scrollbar t' th' right on big screens <a href="https://github.com/McShelby/hugo-theme-relearn/issues/223" rel="external" target="_blank">#223</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="320-2022-03-19">3.2.0 (2022-03-19)</h2>
|
|
<h3 id="enhancements-53">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] mermaid: support differ'n themes fer color variant switch <a href="https://github.com/McShelby/hugo-theme-relearn/issues/219" rel="external" target="_blank">#219</a></li>
|
|
<li>[<strong>feature</strong>] mermaid: board javascript on demand <a href="https://github.com/McShelby/hugo-theme-relearn/issues/218" rel="external" target="_blank">#218</a></li>
|
|
</ul>
|
|
<h3 id="maintenance-15">Maintenance</h3>
|
|
<ul>
|
|
<li>[<strong>task</strong>] mermaid: update t' 8.14.0 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/220" rel="external" target="_blank">#220</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="311-2022-03-16">3.1.1 (2022-03-16)</h2>
|
|
<h3 id="enhancements-54">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] i18n: add Korean translat'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/217" rel="external" target="_blank">#217</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="310-2022-03-15">3.1.0 (2022-03-15)</h2>
|
|
<h3 id="enhancements-55">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] notice: add ay'con parameter <a href="https://github.com/McShelby/hugo-theme-relearn/issues/212" rel="external" target="_blank">#212</a></li>
|
|
<li>[<strong>feature</strong>] mobile: remove breadcrumb ellipsis <a href="https://github.com/McShelby/hugo-theme-relearn/issues/211" rel="external" target="_blank">#211</a></li>
|
|
</ul>
|
|
<h3 id="fixes-88">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] theme: make storage o' multiple Cap'n Hugo sites on same server distinct <a href="https://github.com/McShelby/hugo-theme-relearn/issues/214" rel="external" target="_blank">#214</a></li>
|
|
<li>[<strong>bug</strong>] variant: switch breadcrumb color 'n Chrome <a href="https://github.com/McShelby/hugo-theme-relearn/issues/213" rel="external" target="_blank">#213</a></li>
|
|
<li>[<strong>bug</strong>] mobile: improve behavior o' sidebar menu <a href="https://github.com/McShelby/hugo-theme-relearn/issues/210" rel="external" target="_blank">#210</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="304-2022-02-24">3.0.4 (2022-02-24)</h2>
|
|
<h3 id="enhancements-56">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] theme: improve font load'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/201" rel="external" target="_blank">#201</a></li>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] variant: fix inconsistent color vari'ble nam'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/200" rel="external" target="_blank">#200</a></li>
|
|
</ul>
|
|
<h3 id="fixes-89">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] variant: fix occasional fail when resett'n generator <a href="https://github.com/McShelby/hugo-theme-relearn/issues/208" rel="external" target="_blank">#208</a></li>
|
|
<li>[<strong>bug</strong>] docs: don’t move header on logo hover 'n IE11 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/207" rel="external" target="_blank">#207</a></li>
|
|
<li>[<strong>bug</strong>] variant: avoid flash o' menu header when non default variant be active <a href="https://github.com/McShelby/hugo-theme-relearn/issues/206" rel="external" target="_blank">#206</a></li>
|
|
<li>[<strong>bug</strong>] theme: fix wrong HTML clos'n tag order 'n chapters <a href="https://github.com/McShelby/hugo-theme-relearn/issues/205" rel="external" target="_blank">#205</a></li>
|
|
<li>[<strong>bug</strong>] theme: adjust breadcrumb an' title fer empty home plank titles <a href="https://github.com/McShelby/hugo-theme-relearn/issues/202" rel="external" target="_blank">#202</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="303-2022-02-23">3.0.3 (2022-02-23)</h2>
|
|
<h3 id="enhancements-57">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] tags: show tag count 'n taxonomy list <a href="https://github.com/McShelby/hugo-theme-relearn/issues/195" rel="external" target="_blank">#195</a></li>
|
|
</ul>
|
|
<h3 id="fixes-90">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] theme: remove Cap'n Hugo build warning if plank be not file based <a href="https://github.com/McShelby/hugo-theme-relearn/issues/197" rel="external" target="_blank">#197</a></li>
|
|
<li>[<strong>bug</strong>] tags: adhere t' titleSeparator <a href="https://github.com/McShelby/hugo-theme-relearn/issues/196" rel="external" target="_blank">#196</a></li>
|
|
<li>[<strong>bug</strong>] theme: hide footer divider an' variant selector 'n IE11 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/194" rel="external" target="_blank">#194</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="302-2022-02-23">3.0.2 (2022-02-23)</h2>
|
|
<h3 id="enhancements-58">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] tags: sort by name <a href="https://github.com/McShelby/hugo-theme-relearn/issues/193" rel="external" target="_blank">#193</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="301-2022-02-23">3.0.1 (2022-02-23)</h2>
|
|
<h3 id="enhancements-59">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] children: set containerstyle automatically accord'n t' style <a href="https://github.com/McShelby/hugo-theme-relearn/issues/192" rel="external" target="_blank">#192</a></li>
|
|
</ul>
|
|
<h3 id="fixes-91">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] theme: revert fontawsome t' version 5 fer IE11 compat <a href="https://github.com/McShelby/hugo-theme-relearn/issues/191" rel="external" target="_blank">#191</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="300-2022-02-22">3.0.0 (2022-02-22)</h2>
|
|
<h3 id="enhancements-60">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] variant: build a variant generator <a href="https://github.com/McShelby/hugo-theme-relearn/issues/188" rel="external" target="_blank">#188</a></li>
|
|
<li>[<strong>feature</strong>] nav: only show toc if th' plank has head'ns <a href="https://github.com/McShelby/hugo-theme-relearn/issues/182" rel="external" target="_blank">#182</a></li>
|
|
<li>[<strong>feature</strong>][<strong>break'n</strong>] theme: change default colors t' Relearrrn defaults <a href="https://github.com/McShelby/hugo-theme-relearn/issues/181" rel="external" target="_blank">#181</a></li>
|
|
<li>[<strong>feature</strong>] variant: add a variant selector <a href="https://github.com/McShelby/hugo-theme-relearn/issues/178" rel="external" target="_blank">#178</a></li>
|
|
<li>[<strong>feature</strong>][<strong>break'n</strong>] menu: rework footer UX <a href="https://github.com/McShelby/hugo-theme-relearn/issues/177" rel="external" target="_blank">#177</a></li>
|
|
<li>[<strong>feature</strong>] theme: support fer dark mode <a href="https://github.com/McShelby/hugo-theme-relearn/issues/175" rel="external" target="_blank">#175</a></li>
|
|
<li>[<strong>feature</strong>] docs: use light rules highlightn'n theme <a href="https://github.com/McShelby/hugo-theme-relearn/issues/174" rel="external" target="_blank">#174</a></li>
|
|
<li>[<strong>feature</strong>] notice: tweak dull colors <a href="https://github.com/McShelby/hugo-theme-relearn/issues/173" rel="external" target="_blank">#173</a></li>
|
|
<li>[<strong>feature</strong>] theme: rework header UX <a href="https://github.com/McShelby/hugo-theme-relearn/issues/151" rel="external" target="_blank">#151</a></li>
|
|
</ul>
|
|
<h3 id="fixes-92">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] search: remove additional X 'n filled out search box 'n IE11 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/190" rel="external" target="_blank">#190</a></li>
|
|
<li>[<strong>bug</strong>] clipboard: localize tooltips <a href="https://github.com/McShelby/hugo-theme-relearn/issues/186" rel="external" target="_blank">#186</a></li>
|
|
<li>[<strong>bug</strong>] print: hide sidebar on Mac <a href="https://github.com/McShelby/hugo-theme-relearn/issues/183" rel="external" target="_blank">#183</a></li>
|
|
<li>[<strong>bug</strong>] menu: fix scrollbar height <a href="https://github.com/McShelby/hugo-theme-relearn/issues/180" rel="external" target="_blank">#180</a></li>
|
|
<li>[<strong>bug</strong>][<strong>change</strong>] search: fix color change fer ay'cons on hover <a href="https://github.com/McShelby/hugo-theme-relearn/issues/176" rel="external" target="_blank">#176</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="296-2022-02-07">2.9.6 (2022-02-07)</h2>
|
|
<h3 id="fixes-93">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] menu: remove debug output <a href="https://github.com/McShelby/hugo-theme-relearn/issues/171" rel="external" target="_blank">#171</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="295-2022-02-07">2.9.5 (2022-02-07)</h2>
|
|
<h3 id="fixes-94">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] menu: let arrow navigat'n respect ordersectionsby configurat'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/170" rel="external" target="_blank">#170</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="294-2022-02-06">2.9.4 (2022-02-06)</h2>
|
|
<h3 id="fixes-95">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] exampleSite: fix links 'n official documentat'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/168" rel="external" target="_blank">#168</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="293-2022-02-06">2.9.3 (2022-02-06)</h2>
|
|
<h3 id="fixes-96">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] menu: invalid URL when th' shortcut be an internal link <a href="https://github.com/McShelby/hugo-theme-relearn/issues/163" rel="external" target="_blank">#163</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="292-2021-11-26">2.9.2 (2021-11-26)</h2>
|
|
<h3 id="enhancements-61">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] theme: add theme version info t' head <a href="https://github.com/McShelby/hugo-theme-relearn/issues/158" rel="external" target="_blank">#158</a></li>
|
|
</ul>
|
|
<h3 id="fixes-97">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] theme: fix select'n o' *.ico files as favicons <a href="https://github.com/McShelby/hugo-theme-relearn/issues/160" rel="external" target="_blank">#160</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="291-2021-11-22">2.9.1 (2021-11-22)</h2>
|
|
<h3 id="fixes-98">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] menu: fix significantly low performance fer collect'n o' meta info <a href="https://github.com/McShelby/hugo-theme-relearn/issues/157" rel="external" target="_blank">#157</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="290-2021-11-19">2.9.0 (2021-11-19)</h2>
|
|
<h3 id="fixes-99">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>][<strong>break'n</strong>] relref: fix inconsistent behavior <a href="https://github.com/McShelby/hugo-theme-relearn/issues/156" rel="external" target="_blank">#156</a></li>
|
|
<li>[<strong>bug</strong>] search: make dropdown stick t' search field when scroll'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/155" rel="external" target="_blank">#155</a></li>
|
|
<li>[<strong>bug</strong>] menu: align long text properly <a href="https://github.com/McShelby/hugo-theme-relearn/issues/154" rel="external" target="_blank">#154</a></li>
|
|
<li>[<strong>bug</strong>] copyToClipBoard: add miss'n right border fer inline code if <code>disableInlineCopyToClipBoard=true</code> <a href="https://github.com/McShelby/hugo-theme-relearn/issues/153" rel="external" target="_blank">#153</a></li>
|
|
<li>[<strong>bug</strong>] menu: show hidden sibl'n planks reliably <a href="https://github.com/McShelby/hugo-theme-relearn/issues/152" rel="external" target="_blank">#152</a></li>
|
|
<li>[<strong>bug</strong>] menu: br'n active item 'n sight fer large menus <a href="https://github.com/McShelby/hugo-theme-relearn/issues/149" rel="external" target="_blank">#149</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="283-2021-11-09">2.8.3 (2021-11-09)</h2>
|
|
<h3 id="fixes-100">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] mermaid: let zoom reset t' initial size <a href="https://github.com/McShelby/hugo-theme-relearn/issues/145" rel="external" target="_blank">#145</a></li>
|
|
<li>[<strong>bug</strong>] mermaid: remove whitespace from big graphs <a href="https://github.com/McShelby/hugo-theme-relearn/issues/143" rel="external" target="_blank">#143</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="282-2021-11-08">2.8.2 (2021-11-08)</h2>
|
|
<h3 id="fixes-101">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] mermaid: always board javascript t' avoid break if code fences be used <a href="https://github.com/McShelby/hugo-theme-relearn/issues/142" rel="external" target="_blank">#142</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="281-2021-11-04">2.8.1 (2021-11-04)</h2>
|
|
<h3 id="fixes-102">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] search: don’t break JS 'n multilang setup if search be disabled <a href="https://github.com/McShelby/hugo-theme-relearn/issues/140" rel="external" target="_blank">#140</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="280-2021-11-03">2.8.0 (2021-11-03)</h2>
|
|
<h3 id="enhancements-62">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] toc: make disableTOC globally avail'ble via config.toml <a href="https://github.com/McShelby/hugo-theme-relearn/issues/133" rel="external" target="_blank">#133</a></li>
|
|
<li>[<strong>feature</strong>] mermaid: only board javascript if necessary <a href="https://github.com/McShelby/hugo-theme-relearn/issues/95" rel="external" target="_blank">#95</a></li>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] theme: switch font <a href="https://github.com/McShelby/hugo-theme-relearn/issues/83" rel="external" target="_blank">#83</a></li>
|
|
<li>[<strong>feature</strong>] theme: make favicon configur'ble <a href="https://github.com/McShelby/hugo-theme-relearn/issues/2" rel="external" target="_blank">#2</a></li>
|
|
</ul>
|
|
<h3 id="fixes-103">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] mermaid: assert that window.mermaid be actually mermaid <a href="https://github.com/McShelby/hugo-theme-relearn/issues/136" rel="external" target="_blank">#136</a></li>
|
|
<li>[<strong>bug</strong>] menu: remove usage o' Hugos UniqueID <a href="https://github.com/McShelby/hugo-theme-relearn/issues/131" rel="external" target="_blank">#131</a></li>
|
|
<li>[<strong>bug</strong>] theme: reduce margin fer children shortcode <a href="https://github.com/McShelby/hugo-theme-relearn/issues/130" rel="external" target="_blank">#130</a></li>
|
|
<li>[<strong>bug</strong>] theme: left-align h3 'n chapters <a href="https://github.com/McShelby/hugo-theme-relearn/issues/129" rel="external" target="_blank">#129</a></li>
|
|
<li>[<strong>bug</strong>] theme: align copy link t' clipboard <a href="https://github.com/McShelby/hugo-theme-relearn/issues/128" rel="external" target="_blank">#128</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="270-2021-10-24">2.7.0 (2021-10-24)</h2>
|
|
<h3 id="enhancements-63">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] notice: support custom titles <a href="https://github.com/McShelby/hugo-theme-relearn/issues/124" rel="external" target="_blank">#124</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="260-2021-10-21">2.6.0 (2021-10-21)</h2>
|
|
<h3 id="fixes-104">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] theme: generate correct links if theme served from subdirectory <a href="https://github.com/McShelby/hugo-theme-relearn/issues/120" rel="external" target="_blank">#120</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="251-2021-10-12">2.5.1 (2021-10-12)</h2>
|
|
<h3 id="fixes-105">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] security: fix XSS fer malicioius image URLs <a href="https://github.com/McShelby/hugo-theme-relearn/issues/117" rel="external" target="_blank">#117</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="250-2021-10-08">2.5.0 (2021-10-08)</h2>
|
|
<h3 id="enhancements-64">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] rules highlight: provide default colors fer unknown languages <a href="https://github.com/McShelby/hugo-theme-relearn/issues/113" rel="external" target="_blank">#113</a></li>
|
|
</ul>
|
|
<h3 id="fixes-106">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] security: fix XSS fer malicioius URLs <a href="https://github.com/McShelby/hugo-theme-relearn/issues/114" rel="external" target="_blank">#114</a></li>
|
|
<li>[<strong>bug</strong>] menu: write correct local shortcut links <a href="https://github.com/McShelby/hugo-theme-relearn/issues/112" rel="external" target="_blank">#112</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="241-2021-10-07">2.4.1 (2021-10-07)</h2>
|
|
<h3 id="fixes-107">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] theme: remove runtime styles from print <a href="https://github.com/McShelby/hugo-theme-relearn/issues/111" rel="external" target="_blank">#111</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="240-2021-10-07">2.4.0 (2021-10-07)</h2>
|
|
<h3 id="enhancements-65">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] lang: add vietnamese translat'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/109" rel="external" target="_blank">#109</a></li>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] theme: simplify stylesheet fer color variants <a href="https://github.com/McShelby/hugo-theme-relearn/issues/107" rel="external" target="_blank">#107</a></li>
|
|
<li>[<strong>feature</strong>] hidden planks: remove from RSS feed, JSON, taxonomy etc <a href="https://github.com/McShelby/hugo-theme-relearn/issues/102" rel="external" target="_blank">#102</a></li>
|
|
<li>[<strong>feature</strong>] theme: announce alternative rrrambl'n 'n header <a href="https://github.com/McShelby/hugo-theme-relearn/issues/101" rel="external" target="_blank">#101</a></li>
|
|
<li>[<strong>feature</strong>] menu: frontmatter opt'n t' change sort predicate <a href="https://github.com/McShelby/hugo-theme-relearn/issues/98" rel="external" target="_blank">#98</a></li>
|
|
<li>[<strong>feature</strong>] menu: add default sett'n fer menu expansion <a href="https://github.com/McShelby/hugo-theme-relearn/issues/97" rel="external" target="_blank">#97</a></li>
|
|
<li>[<strong>feature</strong>] theme: improve print style <a href="https://github.com/McShelby/hugo-theme-relearn/issues/93" rel="external" target="_blank">#93</a></li>
|
|
<li>[<strong>feature</strong>] theme: improve style <a href="https://github.com/McShelby/hugo-theme-relearn/issues/92" rel="external" target="_blank">#92</a></li>
|
|
</ul>
|
|
<h3 id="fixes-108">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] include: don’t generate additional HTML if file should be displayed “as is” <a href="https://github.com/McShelby/hugo-theme-relearn/issues/110" rel="external" target="_blank">#110</a></li>
|
|
<li>[<strong>bug</strong>] attachments: fix broken links if multilang config be used <a href="https://github.com/McShelby/hugo-theme-relearn/issues/105" rel="external" target="_blank">#105</a></li>
|
|
<li>[<strong>bug</strong>] theme: fix sticky header t' remove horizontal scrollbar <a href="https://github.com/McShelby/hugo-theme-relearn/issues/82" rel="external" target="_blank">#82</a></li>
|
|
</ul>
|
|
<h3 id="maintenance-16">Maintenance</h3>
|
|
<ul>
|
|
<li>[<strong>task</strong>] chore: update fontawesome <a href="https://github.com/McShelby/hugo-theme-relearn/issues/94" rel="external" target="_blank">#94</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="232-2021-09-20">2.3.2 (2021-09-20)</h2>
|
|
<h3 id="fixes-109">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] docs: rename history pirate translat'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/91" rel="external" target="_blank">#91</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="231-2021-09-20">2.3.1 (2021-09-20)</h2>
|
|
<h3 id="fixes-110">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] docs: rename english pirate translat'n t' avoid crash on render'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/90" rel="external" target="_blank">#90</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="230-2021-09-13">2.3.0 (2021-09-13)</h2>
|
|
<h3 id="fixes-111">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] theme: fix usage o' section element <a href="https://github.com/McShelby/hugo-theme-relearn/issues/88" rel="external" target="_blank">#88</a></li>
|
|
</ul>
|
|
<h3 id="maintenance-17">Maintenance</h3>
|
|
<ul>
|
|
<li>[<strong>task</strong>] theme: ensure IE11 compatibility <a href="https://github.com/McShelby/hugo-theme-relearn/issues/89" rel="external" target="_blank">#89</a></li>
|
|
<li>[<strong>task</strong>] docs: Arrr! showcase multilang featurrre <a href="https://github.com/McShelby/hugo-theme-relearn/issues/87" rel="external" target="_blank">#87</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="220-2021-09-09">2.2.0 (2021-09-09)</h2>
|
|
<h3 id="enhancements-66">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] sitemap: hide hidden planks from sitemap an' SEO index'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/85" rel="external" target="_blank">#85</a></li>
|
|
</ul>
|
|
<h3 id="fixes-112">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] theme: fix showVisitedLinks 'n case Cap'n Hugo be configured t' modify relative URLs <a href="https://github.com/McShelby/hugo-theme-relearn/issues/86" rel="external" target="_blank">#86</a></li>
|
|
</ul>
|
|
<h3 id="maintenance-18">Maintenance</h3>
|
|
<ul>
|
|
<li>[<strong>task</strong>] theme: switch from data-vocabulary t' schema <a href="https://github.com/McShelby/hugo-theme-relearn/issues/84" rel="external" target="_blank">#84</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="210-2021-09-07">2.1.0 (2021-09-07)</h2>
|
|
<h3 id="enhancements-67">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] search: open expand if it contains search term <a href="https://github.com/McShelby/hugo-theme-relearn/issues/80" rel="external" target="_blank">#80</a></li>
|
|
<li>[<strong>feature</strong>] menu: scroll active item into view <a href="https://github.com/McShelby/hugo-theme-relearn/issues/79" rel="external" target="_blank">#79</a></li>
|
|
<li>[<strong>feature</strong>] search: dis'ble search 'n hidden planks <a href="https://github.com/McShelby/hugo-theme-relearn/issues/76" rel="external" target="_blank">#76</a></li>
|
|
<li>[<strong>feature</strong>] search: improve readablility o' index.json <a href="https://github.com/McShelby/hugo-theme-relearn/issues/75" rel="external" target="_blank">#75</a></li>
|
|
<li>[<strong>feature</strong>] search: increase performance <a href="https://github.com/McShelby/hugo-theme-relearn/issues/74" rel="external" target="_blank">#74</a></li>
|
|
<li>[<strong>feature</strong>] search: improve search context preview <a href="https://github.com/McShelby/hugo-theme-relearn/issues/73" rel="external" target="_blank">#73</a></li>
|
|
</ul>
|
|
<h3 id="fixes-113">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>][<strong>change</strong>] search: hide non-site rrrambl'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/81" rel="external" target="_blank">#81</a></li>
|
|
<li>[<strong>bug</strong>] menu: always hide hidden sub planks <a href="https://github.com/McShelby/hugo-theme-relearn/issues/77" rel="external" target="_blank">#77</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="200-2021-08-28">2.0.0 (2021-08-28)</h2>
|
|
<h3 id="enhancements-68">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] tabs: enhance styl'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/65" rel="external" target="_blank">#65</a></li>
|
|
<li>[<strong>feature</strong>] theme: improve readability <a href="https://github.com/McShelby/hugo-theme-relearn/issues/64" rel="external" target="_blank">#64</a></li>
|
|
<li>[<strong>feature</strong>] menu: show hidden planks if accessed directly <a href="https://github.com/McShelby/hugo-theme-relearn/issues/60" rel="external" target="_blank">#60</a></li>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] theme: treat planks without title as hidden <a href="https://github.com/McShelby/hugo-theme-relearn/issues/59" rel="external" target="_blank">#59</a></li>
|
|
<li>[<strong>feature</strong>] search: show search results if field gains focus <a href="https://github.com/McShelby/hugo-theme-relearn/issues/58" rel="external" target="_blank">#58</a></li>
|
|
<li>[<strong>feature</strong>] theme: add partial templates fer pre/post menu entries <a href="https://github.com/McShelby/hugo-theme-relearn/issues/56" rel="external" target="_blank">#56</a></li>
|
|
<li>[<strong>feature</strong>] theme: make chapter archetype more read'ble <a href="https://github.com/McShelby/hugo-theme-relearn/issues/55" rel="external" target="_blank">#55</a></li>
|
|
<li>[<strong>feature</strong>] children: add parameter fer container style <a href="https://github.com/McShelby/hugo-theme-relearn/issues/53" rel="external" target="_blank">#53</a></li>
|
|
<li>[<strong>feature</strong>] theme: make rrrambl'n a template <a href="https://github.com/McShelby/hugo-theme-relearn/issues/50" rel="external" target="_blank">#50</a></li>
|
|
<li>[<strong>feature</strong>] menu: control menu expansion wit' alwaysopen parameter <a href="https://github.com/McShelby/hugo-theme-relearn/issues/49" rel="external" target="_blank">#49</a></li>
|
|
<li>[<strong>feature</strong>] include: new shortcode t' include other files <a href="https://github.com/McShelby/hugo-theme-relearn/issues/43" rel="external" target="_blank">#43</a></li>
|
|
<li>[<strong>feature</strong>] theme: adjust print styles <a href="https://github.com/McShelby/hugo-theme-relearn/issues/35" rel="external" target="_blank">#35</a></li>
|
|
<li>[<strong>feature</strong>][<strong>change</strong>] code highlighter: switch t' standard hugo highlighter <a href="https://github.com/McShelby/hugo-theme-relearn/issues/32" rel="external" target="_blank">#32</a></li>
|
|
</ul>
|
|
<h3 id="fixes-114">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>][<strong>change</strong>] arrow-nav: default sort'n ignores ordersectionsby <a href="https://github.com/McShelby/hugo-theme-relearn/issues/63" rel="external" target="_blank">#63</a></li>
|
|
<li>[<strong>bug</strong>][<strong>change</strong>] children: default sort'n ignores ordersectionsby <a href="https://github.com/McShelby/hugo-theme-relearn/issues/62" rel="external" target="_blank">#62</a></li>
|
|
<li>[<strong>bug</strong>][<strong>change</strong>] arrow-nav: fix broken links on (and below) hidden planks <a href="https://github.com/McShelby/hugo-theme-relearn/issues/61" rel="external" target="_blank">#61</a></li>
|
|
<li>[<strong>bug</strong>] theme: remove superfluous singular taxonomy from taxonomy title <a href="https://github.com/McShelby/hugo-theme-relearn/issues/46" rel="external" target="_blank">#46</a></li>
|
|
<li>[<strong>bug</strong>][<strong>change</strong>] theme: miss'n –MENU-HOME-LINK-HOVER-color 'n documentat'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/45" rel="external" target="_blank">#45</a></li>
|
|
<li>[<strong>bug</strong>] theme: fix home link when base URL has some path <a href="https://github.com/McShelby/hugo-theme-relearn/issues/44" rel="external" target="_blank">#44</a></li>
|
|
</ul>
|
|
<h3 id="maintenance-19">Maintenance</h3>
|
|
<ul>
|
|
<li>[<strong>task</strong>] docs: include changelog 'n exampleSite <a href="https://github.com/McShelby/hugo-theme-relearn/issues/33" rel="external" target="_blank">#33</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="120-2021-07-26">1.2.0 (2021-07-26)</h2>
|
|
<h3 id="enhancements-69">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] theme: adjust copy-to-clipboard <a href="https://github.com/McShelby/hugo-theme-relearn/issues/29" rel="external" target="_blank">#29</a></li>
|
|
<li>[<strong>feature</strong>] attachments: adjust style between notice boxes an' attachments <a href="https://github.com/McShelby/hugo-theme-relearn/issues/28" rel="external" target="_blank">#28</a></li>
|
|
<li>[<strong>feature</strong>] theme: adjust blockquote contrast <a href="https://github.com/McShelby/hugo-theme-relearn/issues/27" rel="external" target="_blank">#27</a></li>
|
|
<li>[<strong>feature</strong>] expand: add opt'n t' open on plank board <a href="https://github.com/McShelby/hugo-theme-relearn/issues/25" rel="external" target="_blank">#25</a></li>
|
|
<li>[<strong>feature</strong>] expand: rework styl'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/24" rel="external" target="_blank">#24</a></li>
|
|
<li>[<strong>feature</strong>] attachments: sort output <a href="https://github.com/McShelby/hugo-theme-relearn/issues/23" rel="external" target="_blank">#23</a></li>
|
|
<li>[<strong>feature</strong>] notice: make restyl'n o' notice boxes more robust <a href="https://github.com/McShelby/hugo-theme-relearn/issues/20" rel="external" target="_blank">#20</a></li>
|
|
<li>[<strong>feature</strong>] notice: fix contrast issues <a href="https://github.com/McShelby/hugo-theme-relearn/issues/19" rel="external" target="_blank">#19</a></li>
|
|
<li>[<strong>feature</strong>] notice: align box colors t' common standards <a href="https://github.com/McShelby/hugo-theme-relearn/issues/18" rel="external" target="_blank">#18</a></li>
|
|
<li>[<strong>feature</strong>] notice: use distinct ay'cons fer notice box type <a href="https://github.com/McShelby/hugo-theme-relearn/issues/17" rel="external" target="_blank">#17</a></li>
|
|
</ul>
|
|
<h3 id="fixes-115">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] attachments: support i18n fer attachment size <a href="https://github.com/McShelby/hugo-theme-relearn/issues/21" rel="external" target="_blank">#21</a></li>
|
|
<li>[<strong>bug</strong>] notice: support i18n fer box labels <a href="https://github.com/McShelby/hugo-theme-relearn/issues/16" rel="external" target="_blank">#16</a></li>
|
|
<li>[<strong>bug</strong>] notice: support multiple blocks 'n one box <a href="https://github.com/McShelby/hugo-theme-relearn/issues/15" rel="external" target="_blank">#15</a></li>
|
|
</ul>
|
|
<h3 id="maintenance-20">Maintenance</h3>
|
|
<ul>
|
|
<li>[<strong>task</strong>] dependency: upgrade jquery t' 3.6.0 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/30" rel="external" target="_blank">#30</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="111-2021-07-04">1.1.1 (2021-07-04)</h2>
|
|
<h3 id="maintenance-21">Maintenance</h3>
|
|
<ul>
|
|
<li>[<strong>task</strong>] theme: prepare fer new hugo theme registrat'n <a href="https://github.com/McShelby/hugo-theme-relearn/issues/13" rel="external" target="_blank">#13</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="110-2021-07-02">1.1.0 (2021-07-02)</h2>
|
|
<h3 id="enhancements-70">Enhancements</h3>
|
|
<ul>
|
|
<li>[<strong>feature</strong>] mermaid: expose opt'ns 'n config.toml <a href="https://github.com/McShelby/hugo-theme-relearn/issues/4" rel="external" target="_blank">#4</a></li>
|
|
</ul>
|
|
<h3 id="fixes-116">Fixes</h3>
|
|
<ul>
|
|
<li>[<strong>bug</strong>] mermaid: config opt'n fer CDN url not used <a href="https://github.com/McShelby/hugo-theme-relearn/issues/12" rel="external" target="_blank">#12</a></li>
|
|
<li>[<strong>bug</strong>] mermaid: only highlight text 'n HTML elements <a href="https://github.com/McShelby/hugo-theme-relearn/issues/10" rel="external" target="_blank">#10</a></li>
|
|
<li>[<strong>bug</strong>] mermaid: support pan & zoom fer graphs <a href="https://github.com/McShelby/hugo-theme-relearn/issues/9" rel="external" target="_blank">#9</a></li>
|
|
<li>[<strong>bug</strong>] mermaid: code fences not always rendered <a href="https://github.com/McShelby/hugo-theme-relearn/issues/6" rel="external" target="_blank">#6</a></li>
|
|
<li>[<strong>bug</strong>] mermaid: search term on board may bomb chart <a href="https://github.com/McShelby/hugo-theme-relearn/issues/5" rel="external" target="_blank">#5</a></li>
|
|
</ul>
|
|
<h3 id="maintenance-22">Maintenance</h3>
|
|
<ul>
|
|
<li>[<strong>task</strong>] mermaid: update t' 8.10.2 <a href="https://github.com/McShelby/hugo-theme-relearn/issues/7" rel="external" target="_blank">#7</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="101-2021-07-01">1.0.1 (2021-07-01)</h2>
|
|
<h3 id="maintenance-23">Maintenance</h3>
|
|
<ul>
|
|
<li>[<strong>task</strong>] Prepare fer hugo showcase <a href="https://github.com/McShelby/hugo-theme-relearn/issues/3" rel="external" target="_blank">#3</a></li>
|
|
</ul>
|
|
<hr>
|
|
<h2 id="100-2021-07-01">1.0.0 (2021-07-01)</h2>
|
|
<h3 id="maintenance-24">Maintenance</h3>
|
|
<ul>
|
|
<li>[<strong>task</strong>] Fork project <a href="https://github.com/McShelby/hugo-theme-relearn/issues/1" rel="external" target="_blank">#1</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
|
|
<footer class="footline">
|
|
</footer>
|
|
</article>
|
|
|
|
</section>
|
|
</div>
|
|
</main>
|
|
</div>
|
|
<script src="/hugo-theme-relearn/js/clipboard.min.js?1712528466" defer></script>
|
|
<script src="/hugo-theme-relearn/js/perfect-scrollbar.min.js?1712528466" defer></script>
|
|
<script src="/hugo-theme-relearn/js/d3/d3-color.min.js?1712528466" defer></script>
|
|
<script src="/hugo-theme-relearn/js/d3/d3-dispatch.min.js?1712528466" defer></script>
|
|
<script src="/hugo-theme-relearn/js/d3/d3-drag.min.js?1712528466" defer></script>
|
|
<script src="/hugo-theme-relearn/js/d3/d3-ease.min.js?1712528466" defer></script>
|
|
<script src="/hugo-theme-relearn/js/d3/d3-interpolate.min.js?1712528466" defer></script>
|
|
<script src="/hugo-theme-relearn/js/d3/d3-selection.min.js?1712528466" defer></script>
|
|
<script src="/hugo-theme-relearn/js/d3/d3-timer.min.js?1712528466" defer></script>
|
|
<script src="/hugo-theme-relearn/js/d3/d3-transition.min.js?1712528466" defer></script>
|
|
<script src="/hugo-theme-relearn/js/d3/d3-zoom.min.js?1712528466" defer></script>
|
|
<script src="/hugo-theme-relearn/js/js-yaml.min.js?1712528466" defer></script>
|
|
<script src="/hugo-theme-relearn/js/mermaid.min.js?1712528466" defer></script>
|
|
<script>
|
|
window.themeUseMermaid = JSON.parse("{ \"securityLevel\": \"loose\" }");
|
|
</script>
|
|
<script src="/hugo-theme-relearn/js/theme.js?1712528466" defer></script>
|
|
</body>
|
|
</html>
|