mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 14:39:04 +08:00
deploy: 83e403ea2eba242a3c0a8909262b1b3f670499a7
This commit is contained in:
parent
efc6e06e6e
commit
1dedae745f
28
404.html
28
404.html
@ -3,26 +3,26 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
<title>404 Page not found :: Hugo Relearn Theme</title>
|
||||
<base href="https://McShelby.github.io/hugo-theme-relearn/">
|
||||
<link href="./images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="./images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="./css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="./css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="./css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="./css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="./css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="./css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="./css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="./css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="./css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="./css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="./css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="./css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="./css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="./js/url.js?1687081536"></script>
|
||||
<script src="./js/variant.js?1687081536"></script>
|
||||
<link href="./css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="./css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="./css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="./css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="./css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="./css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="./css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="./css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="./css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="./css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="./css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="./css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="./css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="./js/url.js?1687389782"></script>
|
||||
<script src="./js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
|
@ -3,26 +3,26 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="robots" content="noindex, nofollow, noarchive, noimageindex">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
<title></title>
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081536"></script>
|
||||
<script src="../../js/variant.js?1687081536"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389782"></script>
|
||||
<script src="../../js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -1953,12 +1953,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../js/auto-complete.js?1687081536" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687081536" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687081536" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687081536" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687081536" defer></script>
|
||||
<script src="../../js/search.js?1687081536" defer></script>
|
||||
<script src="../../js/auto-complete.js?1687389782" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687389782" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687389782" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687389782" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687389782" defer></script>
|
||||
<script src="../../js/search.js?1687389782" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -1975,7 +1975,6 @@
|
||||
<li data-nav-id="/cont/pages/index.html" class=""><a class="padding" href="../../cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class=""><a class="padding" href="../../cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class=""><a class="padding" href="../../cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class=""><a class="padding" href="../../cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class=""><a class="padding" href="../../cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class=""><a class="padding" href="../../cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -1995,6 +1994,7 @@
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="../../shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="../../shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="../../shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="../../shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="../../shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="../../shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -2077,12 +2077,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../js/buttons.js?1687081536"></script>
|
||||
<script async src="../../js/buttons.js?1687389782"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../js/clipboard.min.js?1687081536" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081536" defer></script>
|
||||
<script src="../../js/theme.js?1687081536" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389782" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389782" defer></script>
|
||||
<script src="../../js/theme.js?1687389782" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,27 +3,27 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="robots" content="noindex, nofollow, noarchive, noimageindex">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
<title></title>
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081538"></script>
|
||||
<script src="../../js/variant.js?1687081538"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389786"></script>
|
||||
<script src="../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -1216,8 +1216,8 @@
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../js/clipboard.min.js?1687081538" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081538" defer></script>
|
||||
<script src="../../js/theme.js?1687081538" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389786" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389786" defer></script>
|
||||
<script src="../../js/theme.js?1687389786" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/configuration/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../basics/configuration/index.xml" rel="alternate" type="application/rss+xml" title="Configuration :: Hugo Relearn Theme">
|
||||
<link href="../../basics/configuration/index.print.html" rel="alternate" type="text/html" title="Configuration :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081536"></script>
|
||||
<script src="../../js/variant.js?1687081536"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389782"></script>
|
||||
<script src="../../js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -126,7 +126,7 @@
|
||||
<h2 id="global-site-parameters">Global site parameters</h2>
|
||||
<p>On top of <a href="https://gohugo.io/overview/configuration/" target="_blank">Hugo global configuration</a>, the Relearn theme lets you define the following parameters in your <code>config.toml</code> (here, values are default).</p>
|
||||
<p>Note that some of these parameters are explained in details in other sections of this documentation.</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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"># This controls whether submenus will be expanded (true), or collapsed (false) in the</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="c"># menu; if no setting is given, the first menu level is set to false, all others to true;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="c"># this can be overridden in the pages frontmatter</span>
|
||||
@ -203,20 +203,16 @@
|
||||
</span></span><span class="line"><span class="cl"> <span class="c"># to be servable from the 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 class="c"># For external links you can define how they are opened in your browser; this setting will only be applied to the content area but not the shortcut menu</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></code></pre></div><h2 id="serving-your-page-from-a-subfolder">Serving your page from a subfolder</h2>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">externalLinkTarget</span> <span class="p">=</span> <span class="s2">"_blank"</span></span></span></code></pre></div><h2 id="serving-your-page-from-a-subfolder">Serving your page from a subfolder</h2>
|
||||
<p>If your site is served from a subfolder, eg. <code>https://example.com/mysite/</code>, you have to set the following lines to your <code>config.toml</code></p>
|
||||
<div class="highlight"><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="s2">"https://example.com/mysite/"</span>
|
||||
<div class="wrap-code highlight"><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="s2">"https://example.com/mysite/"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">canonifyURLs</span> <span class="p">=</span> <span class="kc">true</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><p>Without <code>canonifyURLs=true</code> URLs in sublemental pages (like <code>sitemap.xml</code>, <code>rss.xml</code>) will be generated falsly while your HTML files will still work. See <a href="https://github.com/gohugoio/hugo/issues/5226" target="_blank">https://github.com/gohugoio/hugo/issues/5226</a>.</p>
|
||||
</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><p>Without <code>canonifyURLs=true</code> URLs in sublemental pages (like <code>sitemap.xml</code>, <code>rss.xml</code>) will be generated falsly while your HTML files will still work. See <a href="https://github.com/gohugoio/hugo/issues/5226" target="_blank">https://github.com/gohugoio/hugo/issues/5226</a>.</p>
|
||||
<h2 id="serving-your-page-from-the-filesystem">Serving your page from the filesystem</h2>
|
||||
<p>If you want your page served from the filesystem by using URLs starting with <code>file://</code> you’ll need the following configuration in your <code>config.toml</code>:</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><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><p>The theme will append an additional <code>index.html</code> to all branch bundle links by default to make the page be servable from the file system. If you don’t care about the file system and only serve your page via a webserver you can also generate the links without this change by adding this to your <code>config.toml</code></p>
|
||||
<div class="highlight"><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 class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><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><p>The theme will append an additional <code>index.html</code> to all branch bundle links by default to make the page be servable from the file system. If you don’t care about the file system and only serve your page via a webserver you can also generate the links without this change by adding this to your <code>config.toml</code></p>
|
||||
<div class="wrap-code highlight"><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 class="box notices cstyle note">
|
||||
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Note</div>
|
||||
<div class="box-content">
|
||||
@ -226,29 +222,26 @@
|
||||
</div>
|
||||
<h2 id="activate-search">Activate search</h2>
|
||||
<p>If not already present, add the following lines in the same <code>config.toml</code> file.</p>
|
||||
<div class="highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">]</span>
|
||||
</span></span></code></pre></div><p>This will generate a search index file at the root of your public folder ready to be consumed by the Lunr search library. Note that the <code>SEARCH</code> outputformat was named <code>JSON</code> in previous releases but was implemented differently. Although <code>JSON</code> still works, it is now deprecated.</p>
|
||||
<div class="wrap-code highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">]</span></span></span></code></pre></div><p>This will generate a search index file at the root of your public folder ready to be consumed by the Lunr search library. Note that the <code>SEARCH</code> outputformat was named <code>JSON</code> in previous releases but was implemented differently. Although <code>JSON</code> still works, it is now deprecated.</p>
|
||||
<h3 id="activate-dedicated-search-page">Activate dedicated search page</h3>
|
||||
<p>You can add a dedicated search page for your page by adding the <code>SEARCHPAGE</code> outputformat to your home page by adding the following lines in your <code>config.toml</code> file.</p>
|
||||
<div class="highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">,</span> <span class="s2">"SEARCHPAGE"</span><span class="p">]</span>
|
||||
</span></span></code></pre></div><p>You can access this page by either clicking on the magnifier glass or by typing some search term and pressing <code>ENTER</code> inside of the menu’s search box .</p>
|
||||
<div class="wrap-code highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">,</span> <span class="s2">"SEARCHPAGE"</span><span class="p">]</span></span></span></code></pre></div><p>You can access this page by either clicking on the magnifier glass or by typing some search term and pressing <code>ENTER</code> inside of the menu’s search box .</p>
|
||||
<p>
|
||||
|
||||
<a href="#image-09311665f026a033330f4f82ec5cdf74" class="lightbox-link">
|
||||
<a href="#image-e74f01a1de74f05c5e0da4781a16b4b6" class="lightbox-link">
|
||||
<img src="../../basics/configuration/search_page.png?&width=60pc" alt="Screenshot of the dedicated search page" style="height: auto; width: 60pc;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-09311665f026a033330f4f82ec5cdf74">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-e74f01a1de74f05c5e0da4781a16b4b6">
|
||||
<img src="../../basics/configuration/search_page.png?&width=60pc" alt="Screenshot of the dedicated search page" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<h2 id="activate-print-support">Activate print support</h2>
|
||||
<p>You can activate print support to add the capability to print whole chapters or even the complete site. Just add the <code>PRINT</code> output format to your home, section and page in your <code>config.toml</code> as seen below:</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"PRINT"</span><span class="p">,</span> <span class="s2">"SEARCH"</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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"PRINT"</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">page</span> <span class="p">=</span> <span class="p">[</span><span class="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"PRINT"</span><span class="p">]</span>
|
||||
</span></span></code></pre></div><p>This will add a little printer icon in the top bar. It will switch the page to print preview when clicked. You can then send this page to the printer by using your browser’s usual print functionality.</p>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">page</span> <span class="p">=</span> <span class="p">[</span><span class="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"PRINT"</span><span class="p">]</span></span></span></code></pre></div><p>This will add a little printer icon in the top bar. It will switch the page to print preview when clicked. You can then send this page to the printer by using your 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> Note</div>
|
||||
@ -274,7 +267,7 @@
|
||||
<p>If the <code>disableLandingPageButton</code> option is set to <code>false</code>, a Home button will appear
|
||||
on the left menu. It is an alternative for clicking on the logo. To edit the
|
||||
appearance, you will have to configure two parameters for the defined languages:</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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></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>
|
||||
@ -284,17 +277,15 @@ appearance, you will have to configure two parameters for the defined languages:
|
||||
</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 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='fas fa-home'></i> Arrr! Homme"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">...</span>
|
||||
</span></span></code></pre></div><p>If those params are not configured for a specific language, they will get their
|
||||
</span></span><span class="line"><span class="cl"><span class="p">...</span></span></span></code></pre></div><p>If those params are not configured for a specific language, they will get their
|
||||
default values:</p>
|
||||
<div class="highlight"><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='fas fa-home'></i> Home"</span>
|
||||
</span></span></code></pre></div><p>The home button is going to look like this:</p>
|
||||
<div class="wrap-code highlight"><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='fas fa-home'></i> Home"</span></span></span></code></pre></div><p>The home button is going to look like this:</p>
|
||||
<p>
|
||||
|
||||
<a href="#image-3ee871315f6b03463f12ffc408f8b391" class="lightbox-link">
|
||||
<a href="#image-ba5164e416f909add89320c4d9c64123" class="lightbox-link">
|
||||
<img src="../../basics/configuration/home_button_defaults.png?classes=shadow&width=18.75rem" alt="Default Home Button" class="shadow" style="height: auto; width: 18.75rem;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-3ee871315f6b03463f12ffc408f8b391">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-ba5164e416f909add89320c4d9c64123">
|
||||
<img src="../../basics/configuration/home_button_defaults.png?classes=shadow&width=18.75rem" alt="Default Home Button" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
|
||||
@ -383,12 +374,12 @@ default values:</p>
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../js/auto-complete.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687081537" defer></script>
|
||||
<script src="../../js/search.js?1687081537" defer></script>
|
||||
<script src="../../js/auto-complete.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687389784" defer></script>
|
||||
<script src="../../js/search.js?1687389784" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -404,7 +395,6 @@ default values:</p>
|
||||
<li data-nav-id="/cont/pages/index.html" class=""><a class="padding" href="../../cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class=""><a class="padding" href="../../cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class=""><a class="padding" href="../../cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class=""><a class="padding" href="../../cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class=""><a class="padding" href="../../cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class=""><a class="padding" href="../../cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -424,6 +414,7 @@ default values:</p>
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="../../shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="../../shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="../../shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="../../shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="../../shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="../../shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -507,12 +498,12 @@ default values:</p>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../js/buttons.js?1687081537"></script>
|
||||
<script async src="../../js/buttons.js?1687389784"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../js/clipboard.min.js?1687081537" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081537" defer></script>
|
||||
<script src="../../js/theme.js?1687081537" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389784" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389784" defer></script>
|
||||
<script src="../../js/theme.js?1687389784" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,21 +13,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/configuration/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/basics/configuration/index.html" rel="canonical" type="text/html" title="Configuration :: Hugo Relearn Theme">
|
||||
<link href="../../basics/configuration/index.xml" rel="alternate" type="application/rss+xml" title="Configuration :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081538"></script>
|
||||
<script src="../../js/variant.js?1687081538"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389786"></script>
|
||||
<script src="../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -82,7 +82,7 @@
|
||||
<h2 id="global-site-parameters">Global site parameters</h2>
|
||||
<p>On top of <a href="https://gohugo.io/overview/configuration/" target="_blank">Hugo global configuration</a>, the Relearn theme lets you define the following parameters in your <code>config.toml</code> (here, values are default).</p>
|
||||
<p>Note that some of these parameters are explained in details in other sections of this documentation.</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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"># This controls whether submenus will be expanded (true), or collapsed (false) in the</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="c"># menu; if no setting is given, the first menu level is set to false, all others to true;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="c"># this can be overridden in the pages frontmatter</span>
|
||||
@ -159,20 +159,16 @@
|
||||
</span></span><span class="line"><span class="cl"> <span class="c"># to be servable from the 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 class="c"># For external links you can define how they are opened in your browser; this setting will only be applied to the content area but not the shortcut menu</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></code></pre></div><h2 id="serving-your-page-from-a-subfolder">Serving your page from a subfolder</h2>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">externalLinkTarget</span> <span class="p">=</span> <span class="s2">"_blank"</span></span></span></code></pre></div><h2 id="serving-your-page-from-a-subfolder">Serving your page from a subfolder</h2>
|
||||
<p>If your site is served from a subfolder, eg. <code>https://example.com/mysite/</code>, you have to set the following lines to your <code>config.toml</code></p>
|
||||
<div class="highlight"><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="s2">"https://example.com/mysite/"</span>
|
||||
<div class="wrap-code highlight"><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="s2">"https://example.com/mysite/"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">canonifyURLs</span> <span class="p">=</span> <span class="kc">true</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><p>Without <code>canonifyURLs=true</code> URLs in sublemental pages (like <code>sitemap.xml</code>, <code>rss.xml</code>) will be generated falsly while your HTML files will still work. See <a href="https://github.com/gohugoio/hugo/issues/5226" target="_blank">https://github.com/gohugoio/hugo/issues/5226</a>.</p>
|
||||
</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><p>Without <code>canonifyURLs=true</code> URLs in sublemental pages (like <code>sitemap.xml</code>, <code>rss.xml</code>) will be generated falsly while your HTML files will still work. See <a href="https://github.com/gohugoio/hugo/issues/5226" target="_blank">https://github.com/gohugoio/hugo/issues/5226</a>.</p>
|
||||
<h2 id="serving-your-page-from-the-filesystem">Serving your page from the filesystem</h2>
|
||||
<p>If you want your page served from the filesystem by using URLs starting with <code>file://</code> you’ll need the following configuration in your <code>config.toml</code>:</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><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><p>The theme will append an additional <code>index.html</code> to all branch bundle links by default to make the page be servable from the file system. If you don’t care about the file system and only serve your page via a webserver you can also generate the links without this change by adding this to your <code>config.toml</code></p>
|
||||
<div class="highlight"><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 class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><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><p>The theme will append an additional <code>index.html</code> to all branch bundle links by default to make the page be servable from the file system. If you don’t care about the file system and only serve your page via a webserver you can also generate the links without this change by adding this to your <code>config.toml</code></p>
|
||||
<div class="wrap-code highlight"><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 class="box notices cstyle note">
|
||||
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Note</div>
|
||||
<div class="box-content">
|
||||
@ -182,29 +178,26 @@
|
||||
</div>
|
||||
<h2 id="activate-search">Activate search</h2>
|
||||
<p>If not already present, add the following lines in the same <code>config.toml</code> file.</p>
|
||||
<div class="highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">]</span>
|
||||
</span></span></code></pre></div><p>This will generate a search index file at the root of your public folder ready to be consumed by the Lunr search library. Note that the <code>SEARCH</code> outputformat was named <code>JSON</code> in previous releases but was implemented differently. Although <code>JSON</code> still works, it is now deprecated.</p>
|
||||
<div class="wrap-code highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">]</span></span></span></code></pre></div><p>This will generate a search index file at the root of your public folder ready to be consumed by the Lunr search library. Note that the <code>SEARCH</code> outputformat was named <code>JSON</code> in previous releases but was implemented differently. Although <code>JSON</code> still works, it is now deprecated.</p>
|
||||
<h3 id="activate-dedicated-search-page">Activate dedicated search page</h3>
|
||||
<p>You can add a dedicated search page for your page by adding the <code>SEARCHPAGE</code> outputformat to your home page by adding the following lines in your <code>config.toml</code> file.</p>
|
||||
<div class="highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">,</span> <span class="s2">"SEARCHPAGE"</span><span class="p">]</span>
|
||||
</span></span></code></pre></div><p>You can access this page by either clicking on the magnifier glass or by typing some search term and pressing <code>ENTER</code> inside of the menu’s search box .</p>
|
||||
<div class="wrap-code highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">,</span> <span class="s2">"SEARCHPAGE"</span><span class="p">]</span></span></span></code></pre></div><p>You can access this page by either clicking on the magnifier glass or by typing some search term and pressing <code>ENTER</code> inside of the menu’s search box .</p>
|
||||
<p>
|
||||
|
||||
<a href="#image-09311665f026a033330f4f82ec5cdf74" class="lightbox-link">
|
||||
<a href="#image-e74f01a1de74f05c5e0da4781a16b4b6" class="lightbox-link">
|
||||
<img src="../../basics/configuration/search_page.png?&width=60pc" alt="Screenshot of the dedicated search page" style="height: auto; width: 60pc;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-09311665f026a033330f4f82ec5cdf74">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-e74f01a1de74f05c5e0da4781a16b4b6">
|
||||
<img src="../../basics/configuration/search_page.png?&width=60pc" alt="Screenshot of the dedicated search page" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<h2 id="activate-print-support">Activate print support</h2>
|
||||
<p>You can activate print support to add the capability to print whole chapters or even the complete site. Just add the <code>PRINT</code> output format to your home, section and page in your <code>config.toml</code> as seen below:</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"PRINT"</span><span class="p">,</span> <span class="s2">"SEARCH"</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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"PRINT"</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">page</span> <span class="p">=</span> <span class="p">[</span><span class="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"PRINT"</span><span class="p">]</span>
|
||||
</span></span></code></pre></div><p>This will add a little printer icon in the top bar. It will switch the page to print preview when clicked. You can then send this page to the printer by using your browser’s usual print functionality.</p>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">page</span> <span class="p">=</span> <span class="p">[</span><span class="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"PRINT"</span><span class="p">]</span></span></span></code></pre></div><p>This will add a little printer icon in the top bar. It will switch the page to print preview when clicked. You can then send this page to the printer by using your 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> Note</div>
|
||||
@ -230,7 +223,7 @@
|
||||
<p>If the <code>disableLandingPageButton</code> option is set to <code>false</code>, a Home button will appear
|
||||
on the left menu. It is an alternative for clicking on the logo. To edit the
|
||||
appearance, you will have to configure two parameters for the defined languages:</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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></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>
|
||||
@ -240,17 +233,15 @@ appearance, you will have to configure two parameters for the defined languages:
|
||||
</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 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='fas fa-home'></i> Arrr! Homme"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">...</span>
|
||||
</span></span></code></pre></div><p>If those params are not configured for a specific language, they will get their
|
||||
</span></span><span class="line"><span class="cl"><span class="p">...</span></span></span></code></pre></div><p>If those params are not configured for a specific language, they will get their
|
||||
default values:</p>
|
||||
<div class="highlight"><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='fas fa-home'></i> Home"</span>
|
||||
</span></span></code></pre></div><p>The home button is going to look like this:</p>
|
||||
<div class="wrap-code highlight"><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='fas fa-home'></i> Home"</span></span></span></code></pre></div><p>The home button is going to look like this:</p>
|
||||
<p>
|
||||
|
||||
<a href="#image-3ee871315f6b03463f12ffc408f8b391" class="lightbox-link">
|
||||
<a href="#image-ba5164e416f909add89320c4d9c64123" class="lightbox-link">
|
||||
<img src="../../basics/configuration/home_button_defaults.png?classes=shadow&width=18.75rem" alt="Default Home Button" class="shadow" style="height: auto; width: 18.75rem;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-3ee871315f6b03463f12ffc408f8b391">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-ba5164e416f909add89320c4d9c64123">
|
||||
<img src="../../basics/configuration/home_button_defaults.png?classes=shadow&width=18.75rem" alt="Default Home Button" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
|
||||
@ -262,8 +253,8 @@ default values:</p>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../js/clipboard.min.js?1687081538" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081538" defer></script>
|
||||
<script src="../../js/theme.js?1687081538" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389786" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389786" defer></script>
|
||||
<script src="../../js/theme.js?1687389786" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/customization/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../basics/customization/index.xml" rel="alternate" type="application/rss+xml" title="Customization :: Hugo Relearn Theme">
|
||||
<link href="../../basics/customization/index.print.html" rel="alternate" type="text/html" title="Customization :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081536"></script>
|
||||
<script src="../../js/variant.js?1687081536"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389782"></script>
|
||||
<script src="../../js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -161,21 +161,18 @@ If you have requirements to support IE and/or older browser versions, use one of
|
||||
</div>
|
||||
<p>If no favicon file is found, the theme will lookup the alternative filename <code>logo</code> in the same location and will repeat the search for the list of supported file types.</p>
|
||||
<p>If you need to change this default behavior, create a new file in <code>layouts/partials/</code> named <code>favicon.html</code>. Then write something like this:</p>
|
||||
<div class="highlight"><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><h2 id="theme-variant">Change the colors</h2>
|
||||
<div class="wrap-code highlight"><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><h2 id="theme-variant">Change the colors</h2>
|
||||
<p>The Relearn theme lets you choose between some predefined color variants in light or dark mode, but feel free to add one yourself!</p>
|
||||
<p>You can preview the shipped variants by changing them in the variant selector at the bottom of the menu.</p>
|
||||
<h3 id="single-variant">Single variant</h3>
|
||||
<p>Set the <code>themeVariant</code> value with the name of your theme file. That’s it!</p>
|
||||
<div class="highlight"><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="s2">"relearn-light"</span>
|
||||
</span></span></code></pre></div><p>In the above example your theme file has to be named <code>theme-relearn-light.css</code></p>
|
||||
<div class="wrap-code highlight"><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="s2">"relearn-light"</span></span></span></code></pre></div><p>In the above example your theme file has to be named <code>theme-relearn-light.css</code></p>
|
||||
<h3 id="multiple-variants">Multiple variants</h3>
|
||||
<p>You can also set multiple variants. In this case, the first variant is the default chosen on first view and a variant switch will be shown in the menu footer.</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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"># Change default color scheme with a variant one.</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">themeVariant</span> <span class="p">=</span> <span class="p">[</span> <span class="s2">"relearn-light"</span><span class="p">,</span> <span class="s2">"relearn-dark"</span> <span class="p">]</span>
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">themeVariant</span> <span class="p">=</span> <span class="p">[</span> <span class="s2">"relearn-light"</span><span class="p">,</span> <span class="s2">"relearn-dark"</span> <span class="p">]</span></span></span></code></pre></div>
|
||||
<div class="box notices cstyle tip">
|
||||
<div class="box-label"><i class="fa-fw fas fa-lightbulb"></i> Tip</div>
|
||||
<div class="box-content">
|
||||
@ -186,13 +183,11 @@ If you have requirements to support IE and/or older browser versions, use one of
|
||||
<h3 id="adjust-to-os-settings">Adjust to OS Settings</h3>
|
||||
<p>You can also cause the site to adjust to your OS settings for light/dark mode. Just set the <code>themeVariant</code> to <code>auto</code>. That’s it.</p>
|
||||
<p>If you’ve set multiple variants, you can drop <code>auto</code> at any position, but usually it makes sense to set it in the first position and make it the default.</p>
|
||||
<div class="highlight"><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="s2">"auto"</span><span class="p">,</span> <span class="s2">"red"</span> <span class="p">]</span>
|
||||
</span></span></code></pre></div><p>If you don’t configure anything else, the theme will use <code>relearn-light</code> for light mode and <code>relearn-dark</code> for dark mode.</p>
|
||||
<div class="wrap-code highlight"><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="s2">"auto"</span><span class="p">,</span> <span class="s2">"red"</span> <span class="p">]</span></span></span></code></pre></div><p>If you don’t configure anything else, the theme will use <code>relearn-light</code> for light mode and <code>relearn-dark</code> for dark mode.</p>
|
||||
<p>If you don’t like that, you can set <code>themeVariantAuto</code>. The first element is the variant for light mode, the second for dark mode</p>
|
||||
<div class="highlight"><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="s2">"learn"</span><span class="p">,</span> <span class="s2">"neon"</span> <span class="p">]</span>
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><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="s2">"learn"</span><span class="p">,</span> <span class="s2">"neon"</span> <span class="p">]</span></span></span></code></pre></div>
|
||||
<div class="box notices cstyle note">
|
||||
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Note</div>
|
||||
<div class="box-content">
|
||||
@ -293,12 +288,12 @@ If you have requirements to support IE and/or older browser versions, use one of
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../js/auto-complete.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687081537" defer></script>
|
||||
<script src="../../js/search.js?1687081537" defer></script>
|
||||
<script src="../../js/auto-complete.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687389784" defer></script>
|
||||
<script src="../../js/search.js?1687389784" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -314,7 +309,6 @@ If you have requirements to support IE and/or older browser versions, use one of
|
||||
<li data-nav-id="/cont/pages/index.html" class=""><a class="padding" href="../../cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class=""><a class="padding" href="../../cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class=""><a class="padding" href="../../cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class=""><a class="padding" href="../../cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class=""><a class="padding" href="../../cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class=""><a class="padding" href="../../cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -334,6 +328,7 @@ If you have requirements to support IE and/or older browser versions, use one of
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="../../shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="../../shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="../../shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="../../shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="../../shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="../../shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -417,12 +412,12 @@ If you have requirements to support IE and/or older browser versions, use one of
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../js/buttons.js?1687081537"></script>
|
||||
<script async src="../../js/buttons.js?1687389784"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../js/clipboard.min.js?1687081537" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081537" defer></script>
|
||||
<script src="../../js/theme.js?1687081537" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389784" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389784" defer></script>
|
||||
<script src="../../js/theme.js?1687389784" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,21 +13,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/customization/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/basics/customization/index.html" rel="canonical" type="text/html" title="Customization :: Hugo Relearn Theme">
|
||||
<link href="../../basics/customization/index.xml" rel="alternate" type="application/rss+xml" title="Customization :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081538"></script>
|
||||
<script src="../../js/variant.js?1687081538"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389786"></script>
|
||||
<script src="../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -126,21 +126,18 @@ If you have requirements to support IE and/or older browser versions, use one of
|
||||
</div>
|
||||
<p>If no favicon file is found, the theme will lookup the alternative filename <code>logo</code> in the same location and will repeat the search for the list of supported file types.</p>
|
||||
<p>If you need to change this default behavior, create a new file in <code>layouts/partials/</code> named <code>favicon.html</code>. Then write something like this:</p>
|
||||
<div class="highlight"><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><h2 id="theme-variant">Change the colors</h2>
|
||||
<div class="wrap-code highlight"><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><h2 id="theme-variant">Change the colors</h2>
|
||||
<p>The Relearn theme lets you choose between some predefined color variants in light or dark mode, but feel free to add one yourself!</p>
|
||||
<p>You can preview the shipped variants by changing them in the variant selector at the bottom of the menu.</p>
|
||||
<h3 id="single-variant">Single variant</h3>
|
||||
<p>Set the <code>themeVariant</code> value with the name of your theme file. That’s it!</p>
|
||||
<div class="highlight"><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="s2">"relearn-light"</span>
|
||||
</span></span></code></pre></div><p>In the above example your theme file has to be named <code>theme-relearn-light.css</code></p>
|
||||
<div class="wrap-code highlight"><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="s2">"relearn-light"</span></span></span></code></pre></div><p>In the above example your theme file has to be named <code>theme-relearn-light.css</code></p>
|
||||
<h3 id="multiple-variants">Multiple variants</h3>
|
||||
<p>You can also set multiple variants. In this case, the first variant is the default chosen on first view and a variant switch will be shown in the menu footer.</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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"># Change default color scheme with a variant one.</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">themeVariant</span> <span class="p">=</span> <span class="p">[</span> <span class="s2">"relearn-light"</span><span class="p">,</span> <span class="s2">"relearn-dark"</span> <span class="p">]</span>
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">themeVariant</span> <span class="p">=</span> <span class="p">[</span> <span class="s2">"relearn-light"</span><span class="p">,</span> <span class="s2">"relearn-dark"</span> <span class="p">]</span></span></span></code></pre></div>
|
||||
<div class="box notices cstyle tip">
|
||||
<div class="box-label"><i class="fa-fw fas fa-lightbulb"></i> Tip</div>
|
||||
<div class="box-content">
|
||||
@ -151,13 +148,11 @@ If you have requirements to support IE and/or older browser versions, use one of
|
||||
<h3 id="adjust-to-os-settings">Adjust to OS Settings</h3>
|
||||
<p>You can also cause the site to adjust to your OS settings for light/dark mode. Just set the <code>themeVariant</code> to <code>auto</code>. That’s it.</p>
|
||||
<p>If you’ve set multiple variants, you can drop <code>auto</code> at any position, but usually it makes sense to set it in the first position and make it the default.</p>
|
||||
<div class="highlight"><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="s2">"auto"</span><span class="p">,</span> <span class="s2">"red"</span> <span class="p">]</span>
|
||||
</span></span></code></pre></div><p>If you don’t configure anything else, the theme will use <code>relearn-light</code> for light mode and <code>relearn-dark</code> for dark mode.</p>
|
||||
<div class="wrap-code highlight"><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="s2">"auto"</span><span class="p">,</span> <span class="s2">"red"</span> <span class="p">]</span></span></span></code></pre></div><p>If you don’t configure anything else, the theme will use <code>relearn-light</code> for light mode and <code>relearn-dark</code> for dark mode.</p>
|
||||
<p>If you don’t like that, you can set <code>themeVariantAuto</code>. The first element is the variant for light mode, the second for dark mode</p>
|
||||
<div class="highlight"><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="s2">"learn"</span><span class="p">,</span> <span class="s2">"neon"</span> <span class="p">]</span>
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><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="s2">"learn"</span><span class="p">,</span> <span class="s2">"neon"</span> <span class="p">]</span></span></span></code></pre></div>
|
||||
<div class="box notices cstyle note">
|
||||
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Note</div>
|
||||
<div class="box-content">
|
||||
@ -181,8 +176,8 @@ If you have requirements to support IE and/or older browser versions, use one of
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../js/clipboard.min.js?1687081538" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081538" defer></script>
|
||||
<script src="../../js/theme.js?1687081538" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389786" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389786" defer></script>
|
||||
<script src="../../js/theme.js?1687389786" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/generator/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../basics/generator/index.xml" rel="alternate" type="application/rss+xml" title="Stylesheet generator :: Hugo Relearn Theme">
|
||||
<link href="../../basics/generator/index.print.html" rel="alternate" type="text/html" title="Stylesheet generator :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081536"></script>
|
||||
<script src="../../js/variant.js?1687081536"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389782"></script>
|
||||
<script src="../../js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -94,13 +94,13 @@
|
||||
<p>This interactive tool may help you to generate your own color variant stylesheet.</p>
|
||||
|
||||
<div class="expand">
|
||||
<input type="checkbox" id="expand-285fb7659276a8cb1a83801c48b01fc6" aria-controls="expandcontent-285fb7659276a8cb1a83801c48b01fc6" >
|
||||
<label class="expand-label" for="expand-285fb7659276a8cb1a83801c48b01fc6" >
|
||||
<input type="checkbox" id="expand-0667512b14a9091d51ef73ac21450abe" aria-controls="expandcontent-0667512b14a9091d51ef73ac21450abe" >
|
||||
<label class="expand-label" for="expand-0667512b14a9091d51ef73ac21450abe" >
|
||||
<i class="fas fa-chevron-down"></i>
|
||||
<i class="fas fa-chevron-right"></i>
|
||||
Show usage instructions
|
||||
</label>
|
||||
<div id="expandcontent-285fb7659276a8cb1a83801c48b01fc6" class="expand-content">
|
||||
<div id="expandcontent-0667512b14a9091d51ef73ac21450abe" class="expand-content">
|
||||
|
||||
<p>To get started, first select a color variant from the variant switch in the lower left sidebar that fits you best as a starting point.</p>
|
||||
<p>The graph is interactive and reflect the current colors. You can click on any of the colored boxes to adjust the respective color. The graph <strong>and the page</strong> will update accordingly.</p>
|
||||
@ -231,12 +231,12 @@ window.variants && variants.generator( '#vargenerator' );
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../js/auto-complete.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687081537" defer></script>
|
||||
<script src="../../js/search.js?1687081537" defer></script>
|
||||
<script src="../../js/auto-complete.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687389784" defer></script>
|
||||
<script src="../../js/search.js?1687389784" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -252,7 +252,6 @@ window.variants && variants.generator( '#vargenerator' );
|
||||
<li data-nav-id="/cont/pages/index.html" class=""><a class="padding" href="../../cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class=""><a class="padding" href="../../cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class=""><a class="padding" href="../../cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class=""><a class="padding" href="../../cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class=""><a class="padding" href="../../cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class=""><a class="padding" href="../../cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -272,6 +271,7 @@ window.variants && variants.generator( '#vargenerator' );
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="../../shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="../../shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="../../shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="../../shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="../../shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="../../shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -355,25 +355,25 @@ window.variants && variants.generator( '#vargenerator' );
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../js/buttons.js?1687081537"></script>
|
||||
<script async src="../../js/buttons.js?1687389784"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../js/clipboard.min.js?1687081537" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081537" defer></script>
|
||||
<script src="../../js/d3/d3-color.min.js?1687081537" defer></script>
|
||||
<script src="../../js/d3/d3-dispatch.min.js?1687081537" defer></script>
|
||||
<script src="../../js/d3/d3-drag.min.js?1687081537" defer></script>
|
||||
<script src="../../js/d3/d3-ease.min.js?1687081537" defer></script>
|
||||
<script src="../../js/d3/d3-interpolate.min.js?1687081537" defer></script>
|
||||
<script src="../../js/d3/d3-selection.min.js?1687081537" defer></script>
|
||||
<script src="../../js/d3/d3-timer.min.js?1687081537" defer></script>
|
||||
<script src="../../js/d3/d3-transition.min.js?1687081537" defer></script>
|
||||
<script src="../../js/d3/d3-zoom.min.js?1687081537" defer></script>
|
||||
<script src="../../js/mermaid.min.js?1687081537" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389784" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389784" defer></script>
|
||||
<script src="../../js/d3/d3-color.min.js?1687389784" defer></script>
|
||||
<script src="../../js/d3/d3-dispatch.min.js?1687389784" defer></script>
|
||||
<script src="../../js/d3/d3-drag.min.js?1687389784" defer></script>
|
||||
<script src="../../js/d3/d3-ease.min.js?1687389784" defer></script>
|
||||
<script src="../../js/d3/d3-interpolate.min.js?1687389784" defer></script>
|
||||
<script src="../../js/d3/d3-selection.min.js?1687389784" defer></script>
|
||||
<script src="../../js/d3/d3-timer.min.js?1687389784" defer></script>
|
||||
<script src="../../js/d3/d3-transition.min.js?1687389784" defer></script>
|
||||
<script src="../../js/d3/d3-zoom.min.js?1687389784" defer></script>
|
||||
<script src="../../js/mermaid.min.js?1687389784" defer></script>
|
||||
<script>
|
||||
window.themeUseMermaid = JSON.parse("{ \"securityLevel\": \"loose\" }");
|
||||
</script>
|
||||
<script src="../../js/theme.js?1687081537" defer></script>
|
||||
<script src="../../js/theme.js?1687389784" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,21 +13,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/generator/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/basics/generator/index.html" rel="canonical" type="text/html" title="Stylesheet generator :: Hugo Relearn Theme">
|
||||
<link href="../../basics/generator/index.xml" rel="alternate" type="application/rss+xml" title="Stylesheet generator :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081538"></script>
|
||||
<script src="../../js/variant.js?1687081538"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389786"></script>
|
||||
<script src="../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -79,13 +79,13 @@
|
||||
<p>This interactive tool may help you to generate your own color variant stylesheet.</p>
|
||||
|
||||
<div class="expand">
|
||||
<input type="checkbox" id="expand-285fb7659276a8cb1a83801c48b01fc6" aria-controls="expandcontent-285fb7659276a8cb1a83801c48b01fc6" >
|
||||
<label class="expand-label" for="expand-285fb7659276a8cb1a83801c48b01fc6" >
|
||||
<input type="checkbox" id="expand-0667512b14a9091d51ef73ac21450abe" aria-controls="expandcontent-0667512b14a9091d51ef73ac21450abe" >
|
||||
<label class="expand-label" for="expand-0667512b14a9091d51ef73ac21450abe" >
|
||||
<i class="fas fa-chevron-down"></i>
|
||||
<i class="fas fa-chevron-right"></i>
|
||||
Show usage instructions
|
||||
</label>
|
||||
<div id="expandcontent-285fb7659276a8cb1a83801c48b01fc6" class="expand-content">
|
||||
<div id="expandcontent-0667512b14a9091d51ef73ac21450abe" class="expand-content">
|
||||
|
||||
<p>To get started, first select a color variant from the variant switch in the lower left sidebar that fits you best as a starting point.</p>
|
||||
<p>The graph is interactive and reflect the current colors. You can click on any of the colored boxes to adjust the respective color. The graph <strong>and the page</strong> will update accordingly.</p>
|
||||
@ -139,21 +139,21 @@ window.variants && variants.generator( '#vargenerator' );
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../js/clipboard.min.js?1687081538" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081538" defer></script>
|
||||
<script src="../../js/d3/d3-color.min.js?1687081538" defer></script>
|
||||
<script src="../../js/d3/d3-dispatch.min.js?1687081538" defer></script>
|
||||
<script src="../../js/d3/d3-drag.min.js?1687081538" defer></script>
|
||||
<script src="../../js/d3/d3-ease.min.js?1687081538" defer></script>
|
||||
<script src="../../js/d3/d3-interpolate.min.js?1687081538" defer></script>
|
||||
<script src="../../js/d3/d3-selection.min.js?1687081538" defer></script>
|
||||
<script src="../../js/d3/d3-timer.min.js?1687081538" defer></script>
|
||||
<script src="../../js/d3/d3-transition.min.js?1687081538" defer></script>
|
||||
<script src="../../js/d3/d3-zoom.min.js?1687081538" defer></script>
|
||||
<script src="../../js/mermaid.min.js?1687081538" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389786" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389786" defer></script>
|
||||
<script src="../../js/d3/d3-color.min.js?1687389786" defer></script>
|
||||
<script src="../../js/d3/d3-dispatch.min.js?1687389786" defer></script>
|
||||
<script src="../../js/d3/d3-drag.min.js?1687389786" defer></script>
|
||||
<script src="../../js/d3/d3-ease.min.js?1687389786" defer></script>
|
||||
<script src="../../js/d3/d3-interpolate.min.js?1687389786" defer></script>
|
||||
<script src="../../js/d3/d3-selection.min.js?1687389786" defer></script>
|
||||
<script src="../../js/d3/d3-timer.min.js?1687389786" defer></script>
|
||||
<script src="../../js/d3/d3-transition.min.js?1687389786" defer></script>
|
||||
<script src="../../js/d3/d3-zoom.min.js?1687389786" defer></script>
|
||||
<script src="../../js/mermaid.min.js?1687389786" defer></script>
|
||||
<script>
|
||||
window.themeUseMermaid = JSON.parse("{ \"securityLevel\": \"loose\" }");
|
||||
</script>
|
||||
<script src="../../js/theme.js?1687081538" defer></script>
|
||||
<script src="../../js/theme.js?1687389786" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/history/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../basics/history/index.xml" rel="alternate" type="application/rss+xml" title="History :: Hugo Relearn Theme">
|
||||
<link href="../../basics/history/index.print.html" rel="alternate" type="text/html" title="History :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081536"></script>
|
||||
<script src="../../js/variant.js?1687081536"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389782"></script>
|
||||
<script src="../../js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -1959,12 +1959,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../js/auto-complete.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687081537" defer></script>
|
||||
<script src="../../js/search.js?1687081537" defer></script>
|
||||
<script src="../../js/auto-complete.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687389784" defer></script>
|
||||
<script src="../../js/search.js?1687389784" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -1980,7 +1980,6 @@
|
||||
<li data-nav-id="/cont/pages/index.html" class=""><a class="padding" href="../../cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class=""><a class="padding" href="../../cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class=""><a class="padding" href="../../cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class=""><a class="padding" href="../../cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class=""><a class="padding" href="../../cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class=""><a class="padding" href="../../cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -2000,6 +1999,7 @@
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="../../shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="../../shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="../../shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="../../shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="../../shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="../../shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -2083,12 +2083,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../js/buttons.js?1687081537"></script>
|
||||
<script async src="../../js/buttons.js?1687389784"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../js/clipboard.min.js?1687081537" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081537" defer></script>
|
||||
<script src="../../js/theme.js?1687081537" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389784" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389784" defer></script>
|
||||
<script src="../../js/theme.js?1687389784" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,21 +13,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/history/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/basics/history/index.html" rel="canonical" type="text/html" title="History :: Hugo Relearn Theme">
|
||||
<link href="../../basics/history/index.xml" rel="alternate" type="application/rss+xml" title="History :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081538"></script>
|
||||
<script src="../../js/variant.js?1687081538"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389786"></script>
|
||||
<script src="../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -1222,8 +1222,8 @@
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../js/clipboard.min.js?1687081538" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081538" defer></script>
|
||||
<script src="../../js/theme.js?1687081538" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389786" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389786" defer></script>
|
||||
<script src="../../js/theme.js?1687389786" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../basics/index.xml" rel="alternate" type="application/rss+xml" title="Basics :: Hugo Relearn Theme">
|
||||
<link href="../basics/index.print.html" rel="alternate" type="text/html" title="Basics :: Hugo Relearn Theme">
|
||||
<link href="../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="../css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="../css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="../css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="../css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="../css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="../css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="../js/url.js?1687081536"></script>
|
||||
<script src="../js/variant.js?1687081536"></script>
|
||||
<link href="../css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="../css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="../css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="../css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="../css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="../css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="../css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="../js/url.js?1687389782"></script>
|
||||
<script src="../js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -178,12 +178,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../js/auto-complete.js?1687081537" defer></script>
|
||||
<script src="../js/lunr/lunr.min.js?1687081537" defer></script>
|
||||
<script src="../js/lunr/lunr.stemmer.support.min.js?1687081537" defer></script>
|
||||
<script src="../js/lunr/lunr.multi.min.js?1687081537" defer></script>
|
||||
<script src="../js/lunr/lunr.en.min.js?1687081537" defer></script>
|
||||
<script src="../js/search.js?1687081537" defer></script>
|
||||
<script src="../js/auto-complete.js?1687389784" defer></script>
|
||||
<script src="../js/lunr/lunr.min.js?1687389784" defer></script>
|
||||
<script src="../js/lunr/lunr.stemmer.support.min.js?1687389784" defer></script>
|
||||
<script src="../js/lunr/lunr.multi.min.js?1687389784" defer></script>
|
||||
<script src="../js/lunr/lunr.en.min.js?1687389784" defer></script>
|
||||
<script src="../js/search.js?1687389784" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -199,7 +199,6 @@
|
||||
<li data-nav-id="/cont/pages/index.html" class=""><a class="padding" href="../cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class=""><a class="padding" href="../cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class=""><a class="padding" href="../cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class=""><a class="padding" href="../cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class=""><a class="padding" href="../cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class=""><a class="padding" href="../cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -219,6 +218,7 @@
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="../shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="../shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="../shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="../shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="../shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="../shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -302,12 +302,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../js/buttons.js?1687081537"></script>
|
||||
<script async src="../js/buttons.js?1687389784"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../js/clipboard.min.js?1687081537" defer></script>
|
||||
<script src="../js/perfect-scrollbar.min.js?1687081537" defer></script>
|
||||
<script src="../js/theme.js?1687081537" defer></script>
|
||||
<script src="../js/clipboard.min.js?1687389784" defer></script>
|
||||
<script src="../js/perfect-scrollbar.min.js?1687389784" defer></script>
|
||||
<script src="../js/theme.js?1687389784" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,21 +13,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/basics/index.html" rel="canonical" type="text/html" title="Basics :: Hugo Relearn Theme">
|
||||
<link href="../basics/index.xml" rel="alternate" type="application/rss+xml" title="Basics :: Hugo Relearn Theme">
|
||||
<link href="../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../css/format-print.css?1687081538" rel="stylesheet">
|
||||
<link href="../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../js/url.js?1687081538"></script>
|
||||
<script src="../js/variant.js?1687081538"></script>
|
||||
<link href="../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../css/format-print.css?1687389786" rel="stylesheet">
|
||||
<link href="../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../js/url.js?1687389786"></script>
|
||||
<script src="../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -97,6 +97,14 @@
|
||||
<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 you might find interesting or comes configurable.</p>
|
||||
<!--GH-ACTION-RELEASE-MILESTONE-->
|
||||
<hr>
|
||||
<h2 id="5170-2023-06-20">5.17.0 (2023-06-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> The new <a href="../shortcodes/highlight/"><code>highlight</code> shortcode</a> replaces Hugo’s default implementation and is fully compatible. So you don’t need to change anything.</p>
|
||||
<p>In addition it offers some extensions. Currently only the <code>wrap</code> extension option is provided to control whether a code block should be wrapped or scrolled if to long to fit.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h2 id="5160-2023-06-10">5.16.0 (2023-06-10)</h2>
|
||||
<ul>
|
||||
<li>
|
||||
@ -174,14 +182,13 @@
|
||||
<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 for the great <a href="https://github.com/estruyf/vscode-front-matter" target="_blank">VSCode Front Matter extension</a> which provides on-premise CMS capabilties to Hugo.</p>
|
||||
<p>The theme provides Front Matter snippets for its shortcodes. Currently only English and German is supported. Put a reference into your <code>frontmatter.json</code> like this</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
||||
<div class="wrap-code highlight"><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></li>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></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 for languages that are written right to left (like Arabic) is now complete and extended to the menu, the top navigation bar and print. You can experience this in the <a href="../pir/basics/migration/">pirate translation</a>. This feature is not available in Internet Explorer 11.</p>
|
||||
</li>
|
||||
@ -195,8 +202,7 @@
|
||||
<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> The theme removed the popular <a href="https://jquery.com" target="_blank">jQuery</a> library from its distribution.</p>
|
||||
<p>In case you made changes to the theme that are dependend on this library you can place a copy of jQuery into your <code>static/js</code> directory and load it from your own <code>layouts/partials/custom-header.html</code> like this:</p>
|
||||
<div class="highlight"><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></li>
|
||||
<div class="wrap-code highlight"><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></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="../shortcodes/mermaid/#parameter">Mermaid</a> diagrams can now be configured for pan and zoom on site-, page-level or individually for each graph.</p>
|
||||
<p>The default setting of <code>on</code>, in effect since 1.1.0, changed back to <code>off</code> as there was interference with scrolling on mobile and big pages.</p>
|
||||
@ -239,18 +245,16 @@
|
||||
<ol>
|
||||
<li>
|
||||
<p>Make the page file for the <code>More</code> section a <a href="https://gohugo.io/content-management/page-bundles/#headless-bundle" target="_blank">headless branch bundle</a> (contained in its own subdirectory and called <code>_index.md</code>) and add the following frontmatter configuration to the file (see exampleSite’s <code>content/showcase</code>). This causes its content to <strong>not</strong> be contained in the sitemap.</p>
|
||||
<div class="highlight"><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">_build</span><span class="p">]</span>
|
||||
<div class="wrap-code highlight"><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">_build</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">render</span> <span class="p">=</span> <span class="s2">"never"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">list</span> <span class="p">=</span> <span class="s2">"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></code></pre></div></li>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">publishResources</span> <span class="p">=</span> <span class="kc">false</span></span></span></code></pre></div></li>
|
||||
<li>
|
||||
<p>Store the page file for the <code>More</code> section below a parent headless branch bundle and add the following frontmatter to the <strong>parent</strong>. In this case, the file itself can be a branch bundle, leaf bundle or simple page (see exampleSite’s <code>content/more/</code> and <code>content/more/credits</code>). This causes its content to be contained in the sitemap.</p>
|
||||
<div class="highlight"><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">_build</span><span class="p">]</span>
|
||||
<div class="wrap-code highlight"><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">_build</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">render</span> <span class="p">=</span> <span class="s2">"always"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">list</span> <span class="p">=</span> <span class="s2">"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></code></pre></div></li>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">publishResources</span> <span class="p">=</span> <span class="kc">true</span></span></span></code></pre></div></li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>
|
||||
@ -387,23 +391,21 @@
|
||||
<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 the print preview URLs were non deterministic for normal pages in comparison to page bundles, this is now changed. Each print preview is now accessible by adding a <code>index.print.html</code> to the default URL.</p>
|
||||
<p>You can revert this behavior by overwriting the PRINT output format setting in your <code>config.toml</code>to:</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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">name</span><span class="p">=</span> <span class="s2">"PRINT"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">baseName</span> <span class="p">=</span> <span class="s2">"index"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">path</span> <span class="p">=</span> <span class="s2">"_print"</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">permalinkable</span> <span class="p">=</span> <span class="kc">false</span>
|
||||
</span></span></code></pre></div></li>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">permalinkable</span> <span class="p">=</span> <span class="kc">false</span></span></span></code></pre></div></li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h2 id="500-2022-07-05">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">Breaking</span></span> The theme changed how JavaScript and CSS dependencies are loaded to provide a better performance. In case you’ve added own JavaScript code that depends on the themes jQuery implementation, you have to put it into a separate <code>*.js</code> file (if not already) and add the <code>defer</code> keyword to the <code>script</code> element. Eg.</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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> The way <a href="../cont/archetypes/">archetypes</a> are used to generate output has changed. The new systems allows you, to redefine existing archetypes or even generate your own ones.</p>
|
||||
<p>Your existing markdown files will still work like before and therefore you don’t need to change anything after the upgrade. Nevertheless, it is recommended to adapt your existing markdown files to the new way as follows:</p>
|
||||
@ -587,8 +589,7 @@
|
||||
<p>Also, the old themes implementation allowed refs to non-existing content. This will cause Hugos implementation to show the error below and abort the generation. If your project relies on this old behavior, you can <a href="https://gohugo.io/content-management/cross-references/#link-to-another-language-version" target="_blank">reconfigure the error handling</a> of Hugos implementation.</p>
|
||||
<p>In the best case your usage of the old implementation is already standard compliant and you don’t need to change anything. You’ll notice this very easily once you’ve started <code>hugo server</code> after an upgrade and no errors are written to the console.</p>
|
||||
<p>You may see errors on the console after the update in the form:</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-sh" data-lang="sh"><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>: page not found
|
||||
</span></span></code></pre></div><p>In this case, you must apply one of two options:</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-sh" data-lang="sh"><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>: page not found</span></span></code></pre></div><p>In this case, you must apply one of two options:</p>
|
||||
<ol>
|
||||
<li>
|
||||
<p>Start up a text editor with regular expression support for search and replace. Search for <code>(ref\s+"[^"]*?)(?:/_index|/index)?(?:\.md)?(#[^"]*?)?"</code> and replace it by <code>$1$2"</code> in all <code>*.md</code> files. <strong>This is the recommended choice</strong>.</p>
|
||||
@ -753,10 +754,10 @@
|
||||
<p>Thanks to the simplicity of Hugo, this page is 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="fab fa-hackerrank"></i></span><span class="badge-content" style="background-color: fuchsia;">0.95.0</span></span> of the <a href="https://gohugo.io/getting-started/installing/" target="_blank">Hugo binary</a> for your OS (Windows, Linux, Mac).</p>
|
||||
<p>
|
||||
<a href="#image-bb6881835db8cb8f42555e4456a5bf5b" class="lightbox-link">
|
||||
<a href="#image-d9ae4b6038b4c4bca1d54199f51435ab" class="lightbox-link">
|
||||
<img src="../basics/requirements/magic.gif?classes=shadow" alt="Magic" class="shadow" style="height: auto; width: auto;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-bb6881835db8cb8f42555e4456a5bf5b">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-d9ae4b6038b4c4bca1d54199f51435ab">
|
||||
<img src="../basics/requirements/magic.gif?classes=shadow" alt="Magic" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
|
||||
@ -778,8 +779,7 @@
|
||||
<p>The following steps are here to help you initialize your new website. If you don’t know Hugo at all, we strongly suggest you learn more about it by following this <a href="https://gohugo.io/overview/quickstart/" target="_blank">great documentation for beginners</a>.</p>
|
||||
<h2 id="create-your-project">Create your project</h2>
|
||||
<p>Hugo provides a <code>new</code> command to create a new website.</p>
|
||||
<pre tabindex="0"><code>hugo new site <new_project>
|
||||
</code></pre><h2 id="install-the-theme">Install the theme</h2>
|
||||
<div class="wrap-code highlight"><pre tabindex="0"><code>hugo new site <new_project></code></pre></div><h2 id="install-the-theme">Install the theme</h2>
|
||||
<p>Install the Relearn theme by following <a href="https://gohugo.io/hugo-modules/use-modules/#use-a-module-for-a-theme" target="_blank">this documentation</a> using Hugo’s module system.</p>
|
||||
<p>This theme’s repository is: <a href="https://github.com/McShelby/hugo-theme-relearn.git" target="_blank">https://github.com/McShelby/hugo-theme-relearn.git</a></p>
|
||||
<p>Alternatively, you can <a href="https://github.com/McShelby/hugo-theme-relearn/archive/main.zip" target="_blank">download the theme as .zip</a> file and extract it in the <code>themes</code> directory</p>
|
||||
@ -790,41 +790,36 @@
|
||||
<p>Besides the usual version tags (eg <code>1.2.3</code>) there are also tags for the main version (eg. <code>1.2.x</code>), major version (eg. <code>1.x</code>) and the latest (just <code>x</code>) released version making it easier for you to pin the theme to a certain version.</p>
|
||||
<h2 id="basic-configuration">Basic configuration</h2>
|
||||
<p>When building the website, you can set a theme by using <code>--theme</code> option. However, we suggest you modify the configuration file (<code>config.toml</code>) and set the theme as the default. You can also add the <code>[outputs]</code> section to enable the search functionality.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="c"># Change the default theme to be use when building the site with Hugo</span>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="c"># Change the default theme to be use when building the site with Hugo</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">theme</span> <span class="p">=</span> <span class="s2">"hugo-theme-relearn"</span>
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl"><span class="c"># For search functionality</span>
|
||||
</span></span><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">]</span>
|
||||
</span></span></code></pre></div><h2 id="create-your-first-chapter-page">Create your first chapter page</h2>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">home</span> <span class="p">=</span> <span class="p">[</span> <span class="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">]</span></span></span></code></pre></div><h2 id="create-your-first-chapter-page">Create your first chapter page</h2>
|
||||
<p>Chapters are pages that contain other child pages. It has a special layout style and usually just contains a <em>chapter name</em>, the <em>title</em> and a <em>brief abstract</em> of the section.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="gu">### Chapter 1
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="gu">### Chapter 1
|
||||
</span></span></span><span class="line"><span class="cl"><span class="gu"></span>
|
||||
</span></span><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 Hugo theme is all about and the core concepts behind it.
|
||||
</span></span></code></pre></div><p>renders as</p>
|
||||
</span></span><span class="line"><span class="cl">Discover what this Hugo theme is all about and the core concepts behind it.</span></span></code></pre></div><p>renders as</p>
|
||||
<p>
|
||||
|
||||
<a href="#image-775708c84c19e18612235f11727b755d" class="lightbox-link">
|
||||
<a href="#image-9b47d092f5317b3a09ca9d4bef114585" class="lightbox-link">
|
||||
<img src="../basics/installation/chapter.png?classes=shadow&width=60pc" alt="A Chapter" class="shadow" style="height: auto; width: 60pc;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-775708c84c19e18612235f11727b755d">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-9b47d092f5317b3a09ca9d4bef114585">
|
||||
<img src="../basics/installation/chapter.png?classes=shadow&width=60pc" alt="A Chapter" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<p>The Relearn theme provides archetypes to create skeletons for your website. Begin by creating your first chapter page with the following command</p>
|
||||
<div class="highlight"><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 opening the given file, you should see the property <code>chapter=true</code> on top, meaning this page is a <em>chapter</em>.</p>
|
||||
<div class="wrap-code highlight"><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 opening the given file, you should see the property <code>chapter=true</code> on top, meaning this page is a <em>chapter</em>.</p>
|
||||
<p>By default all chapters and pages are created as a draft. If you want to render these pages, remove the property <code>draft: true</code> from the metadata.</p>
|
||||
<h2 id="create-your-first-content-pages">Create your first content pages</h2>
|
||||
<p>Then, create content pages inside the previously created chapter. Here are two ways to create content in the chapter:</p>
|
||||
<div class="highlight"><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 to edit those files by adding some sample content and replacing the <code>title</code> value in the beginning of the files.</p>
|
||||
<div class="wrap-code highlight"><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 to edit those files by adding some sample content and replacing the <code>title</code> value in the beginning of the files.</p>
|
||||
<h2 id="launching-the-website-locally">Launching the website locally</h2>
|
||||
<p>Launch by using the following command:</p>
|
||||
<div class="highlight"><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 to <code>http://localhost:1313</code></p>
|
||||
<div class="wrap-code highlight"><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 to <code>http://localhost:1313</code></p>
|
||||
<p>You should notice three things:</p>
|
||||
<ol>
|
||||
<li>You have a left-side <strong>Basics</strong> menu, containing two submenus with names equal to the <code>title</code> properties in the previously created files.</li>
|
||||
@ -833,8 +828,7 @@
|
||||
</ol>
|
||||
<h2 id="build-the-website">Build the website</h2>
|
||||
<p>When your site is ready to deploy, run the following command:</p>
|
||||
<div class="highlight"><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, containing all static content and assets for your website. It can now be deployed on any web server.</p>
|
||||
<div class="wrap-code highlight"><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, containing all static content and assets for your website. It can now be deployed on any web server.</p>
|
||||
|
||||
<div class="box notices cstyle note">
|
||||
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Note</div>
|
||||
@ -860,7 +854,7 @@
|
||||
<h2 id="global-site-parameters">Global site parameters</h2>
|
||||
<p>On top of <a href="https://gohugo.io/overview/configuration/" target="_blank">Hugo global configuration</a>, the Relearn theme lets you define the following parameters in your <code>config.toml</code> (here, values are default).</p>
|
||||
<p>Note that some of these parameters are explained in details in other sections of this documentation.</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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"># This controls whether submenus will be expanded (true), or collapsed (false) in the</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="c"># menu; if no setting is given, the first menu level is set to false, all others to true;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="c"># this can be overridden in the pages frontmatter</span>
|
||||
@ -937,20 +931,16 @@
|
||||
</span></span><span class="line"><span class="cl"> <span class="c"># to be servable from the 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 class="c"># For external links you can define how they are opened in your browser; this setting will only be applied to the content area but not the shortcut menu</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></code></pre></div><h2 id="serving-your-page-from-a-subfolder">Serving your page from a subfolder</h2>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">externalLinkTarget</span> <span class="p">=</span> <span class="s2">"_blank"</span></span></span></code></pre></div><h2 id="serving-your-page-from-a-subfolder">Serving your page from a subfolder</h2>
|
||||
<p>If your site is served from a subfolder, eg. <code>https://example.com/mysite/</code>, you have to set the following lines to your <code>config.toml</code></p>
|
||||
<div class="highlight"><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="s2">"https://example.com/mysite/"</span>
|
||||
<div class="wrap-code highlight"><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="s2">"https://example.com/mysite/"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">canonifyURLs</span> <span class="p">=</span> <span class="kc">true</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><p>Without <code>canonifyURLs=true</code> URLs in sublemental pages (like <code>sitemap.xml</code>, <code>rss.xml</code>) will be generated falsly while your HTML files will still work. See <a href="https://github.com/gohugoio/hugo/issues/5226" target="_blank">https://github.com/gohugoio/hugo/issues/5226</a>.</p>
|
||||
</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><p>Without <code>canonifyURLs=true</code> URLs in sublemental pages (like <code>sitemap.xml</code>, <code>rss.xml</code>) will be generated falsly while your HTML files will still work. See <a href="https://github.com/gohugoio/hugo/issues/5226" target="_blank">https://github.com/gohugoio/hugo/issues/5226</a>.</p>
|
||||
<h2 id="serving-your-page-from-the-filesystem">Serving your page from the filesystem</h2>
|
||||
<p>If you want your page served from the filesystem by using URLs starting with <code>file://</code> you’ll need the following configuration in your <code>config.toml</code>:</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><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><p>The theme will append an additional <code>index.html</code> to all branch bundle links by default to make the page be servable from the file system. If you don’t care about the file system and only serve your page via a webserver you can also generate the links without this change by adding this to your <code>config.toml</code></p>
|
||||
<div class="highlight"><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 class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><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><p>The theme will append an additional <code>index.html</code> to all branch bundle links by default to make the page be servable from the file system. If you don’t care about the file system and only serve your page via a webserver you can also generate the links without this change by adding this to your <code>config.toml</code></p>
|
||||
<div class="wrap-code highlight"><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 class="box notices cstyle note">
|
||||
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Note</div>
|
||||
<div class="box-content">
|
||||
@ -960,29 +950,26 @@
|
||||
</div>
|
||||
<h2 id="activate-search">Activate search</h2>
|
||||
<p>If not already present, add the following lines in the same <code>config.toml</code> file.</p>
|
||||
<div class="highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">]</span>
|
||||
</span></span></code></pre></div><p>This will generate a search index file at the root of your public folder ready to be consumed by the Lunr search library. Note that the <code>SEARCH</code> outputformat was named <code>JSON</code> in previous releases but was implemented differently. Although <code>JSON</code> still works, it is now deprecated.</p>
|
||||
<div class="wrap-code highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">]</span></span></span></code></pre></div><p>This will generate a search index file at the root of your public folder ready to be consumed by the Lunr search library. Note that the <code>SEARCH</code> outputformat was named <code>JSON</code> in previous releases but was implemented differently. Although <code>JSON</code> still works, it is now deprecated.</p>
|
||||
<h3 id="activate-dedicated-search-page">Activate dedicated search page</h3>
|
||||
<p>You can add a dedicated search page for your page by adding the <code>SEARCHPAGE</code> outputformat to your home page by adding the following lines in your <code>config.toml</code> file.</p>
|
||||
<div class="highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">,</span> <span class="s2">"SEARCHPAGE"</span><span class="p">]</span>
|
||||
</span></span></code></pre></div><p>You can access this page by either clicking on the magnifier glass or by typing some search term and pressing <code>ENTER</code> inside of the menu’s search box .</p>
|
||||
<div class="wrap-code highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">,</span> <span class="s2">"SEARCHPAGE"</span><span class="p">]</span></span></span></code></pre></div><p>You can access this page by either clicking on the magnifier glass or by typing some search term and pressing <code>ENTER</code> inside of the menu’s search box .</p>
|
||||
<p>
|
||||
|
||||
<a href="#image-09311665f026a033330f4f82ec5cdf74" class="lightbox-link">
|
||||
<a href="#image-e74f01a1de74f05c5e0da4781a16b4b6" class="lightbox-link">
|
||||
<img src="../basics/configuration/search_page.png?&width=60pc" alt="Screenshot of the dedicated search page" style="height: auto; width: 60pc;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-09311665f026a033330f4f82ec5cdf74">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-e74f01a1de74f05c5e0da4781a16b4b6">
|
||||
<img src="../basics/configuration/search_page.png?&width=60pc" alt="Screenshot of the dedicated search page" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<h2 id="activate-print-support">Activate print support</h2>
|
||||
<p>You can activate print support to add the capability to print whole chapters or even the complete site. Just add the <code>PRINT</code> output format to your home, section and page in your <code>config.toml</code> as seen below:</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"PRINT"</span><span class="p">,</span> <span class="s2">"SEARCH"</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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"PRINT"</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">page</span> <span class="p">=</span> <span class="p">[</span><span class="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"PRINT"</span><span class="p">]</span>
|
||||
</span></span></code></pre></div><p>This will add a little printer icon in the top bar. It will switch the page to print preview when clicked. You can then send this page to the printer by using your browser’s usual print functionality.</p>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">page</span> <span class="p">=</span> <span class="p">[</span><span class="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"PRINT"</span><span class="p">]</span></span></span></code></pre></div><p>This will add a little printer icon in the top bar. It will switch the page to print preview when clicked. You can then send this page to the printer by using your 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> Note</div>
|
||||
@ -1008,7 +995,7 @@
|
||||
<p>If the <code>disableLandingPageButton</code> option is set to <code>false</code>, a Home button will appear
|
||||
on the left menu. It is an alternative for clicking on the logo. To edit the
|
||||
appearance, you will have to configure two parameters for the defined languages:</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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></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>
|
||||
@ -1018,17 +1005,15 @@ appearance, you will have to configure two parameters for the defined languages:
|
||||
</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 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='fas fa-home'></i> Arrr! Homme"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">...</span>
|
||||
</span></span></code></pre></div><p>If those params are not configured for a specific language, they will get their
|
||||
</span></span><span class="line"><span class="cl"><span class="p">...</span></span></span></code></pre></div><p>If those params are not configured for a specific language, they will get their
|
||||
default values:</p>
|
||||
<div class="highlight"><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='fas fa-home'></i> Home"</span>
|
||||
</span></span></code></pre></div><p>The home button is going to look like this:</p>
|
||||
<div class="wrap-code highlight"><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='fas fa-home'></i> Home"</span></span></span></code></pre></div><p>The home button is going to look like this:</p>
|
||||
<p>
|
||||
|
||||
<a href="#image-3ee871315f6b03463f12ffc408f8b391" class="lightbox-link">
|
||||
<a href="#image-ba5164e416f909add89320c4d9c64123" class="lightbox-link">
|
||||
<img src="../basics/configuration/home_button_defaults.png?classes=shadow&width=18.75rem" alt="Default Home Button" class="shadow" style="height: auto; width: 18.75rem;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-3ee871315f6b03463f12ffc408f8b391">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-ba5164e416f909add89320c4d9c64123">
|
||||
<img src="../basics/configuration/home_button_defaults.png?classes=shadow&width=18.75rem" alt="Default Home Button" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
|
||||
@ -1092,21 +1077,18 @@ If you have requirements to support IE and/or older browser versions, use one of
|
||||
</div>
|
||||
<p>If no favicon file is found, the theme will lookup the alternative filename <code>logo</code> in the same location and will repeat the search for the list of supported file types.</p>
|
||||
<p>If you need to change this default behavior, create a new file in <code>layouts/partials/</code> named <code>favicon.html</code>. Then write something like this:</p>
|
||||
<div class="highlight"><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><h2 id="theme-variant">Change the colors</h2>
|
||||
<div class="wrap-code highlight"><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><h2 id="theme-variant">Change the colors</h2>
|
||||
<p>The Relearn theme lets you choose between some predefined color variants in light or dark mode, but feel free to add one yourself!</p>
|
||||
<p>You can preview the shipped variants by changing them in the variant selector at the bottom of the menu.</p>
|
||||
<h3 id="single-variant">Single variant</h3>
|
||||
<p>Set the <code>themeVariant</code> value with the name of your theme file. That’s it!</p>
|
||||
<div class="highlight"><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="s2">"relearn-light"</span>
|
||||
</span></span></code></pre></div><p>In the above example your theme file has to be named <code>theme-relearn-light.css</code></p>
|
||||
<div class="wrap-code highlight"><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="s2">"relearn-light"</span></span></span></code></pre></div><p>In the above example your theme file has to be named <code>theme-relearn-light.css</code></p>
|
||||
<h3 id="multiple-variants">Multiple variants</h3>
|
||||
<p>You can also set multiple variants. In this case, the first variant is the default chosen on first view and a variant switch will be shown in the menu footer.</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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"># Change default color scheme with a variant one.</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">themeVariant</span> <span class="p">=</span> <span class="p">[</span> <span class="s2">"relearn-light"</span><span class="p">,</span> <span class="s2">"relearn-dark"</span> <span class="p">]</span>
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">themeVariant</span> <span class="p">=</span> <span class="p">[</span> <span class="s2">"relearn-light"</span><span class="p">,</span> <span class="s2">"relearn-dark"</span> <span class="p">]</span></span></span></code></pre></div>
|
||||
<div class="box notices cstyle tip">
|
||||
<div class="box-label"><i class="fa-fw fas fa-lightbulb"></i> Tip</div>
|
||||
<div class="box-content">
|
||||
@ -1117,13 +1099,11 @@ If you have requirements to support IE and/or older browser versions, use one of
|
||||
<h3 id="adjust-to-os-settings">Adjust to OS Settings</h3>
|
||||
<p>You can also cause the site to adjust to your OS settings for light/dark mode. Just set the <code>themeVariant</code> to <code>auto</code>. That’s it.</p>
|
||||
<p>If you’ve set multiple variants, you can drop <code>auto</code> at any position, but usually it makes sense to set it in the first position and make it the default.</p>
|
||||
<div class="highlight"><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="s2">"auto"</span><span class="p">,</span> <span class="s2">"red"</span> <span class="p">]</span>
|
||||
</span></span></code></pre></div><p>If you don’t configure anything else, the theme will use <code>relearn-light</code> for light mode and <code>relearn-dark</code> for dark mode.</p>
|
||||
<div class="wrap-code highlight"><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="s2">"auto"</span><span class="p">,</span> <span class="s2">"red"</span> <span class="p">]</span></span></span></code></pre></div><p>If you don’t configure anything else, the theme will use <code>relearn-light</code> for light mode and <code>relearn-dark</code> for dark mode.</p>
|
||||
<p>If you don’t like that, you can set <code>themeVariantAuto</code>. The first element is the variant for light mode, the second for dark mode</p>
|
||||
<div class="highlight"><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="s2">"learn"</span><span class="p">,</span> <span class="s2">"neon"</span> <span class="p">]</span>
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><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="s2">"learn"</span><span class="p">,</span> <span class="s2">"neon"</span> <span class="p">]</span></span></span></code></pre></div>
|
||||
<div class="box notices cstyle note">
|
||||
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Note</div>
|
||||
<div class="box-content">
|
||||
@ -1152,13 +1132,13 @@ If you have requirements to support IE and/or older browser versions, use one of
|
||||
<p>This interactive tool may help you to generate your own color variant stylesheet.</p>
|
||||
|
||||
<div class="expand">
|
||||
<input type="checkbox" id="expand-285fb7659276a8cb1a83801c48b01fc6" aria-controls="expandcontent-285fb7659276a8cb1a83801c48b01fc6" >
|
||||
<label class="expand-label" for="expand-285fb7659276a8cb1a83801c48b01fc6" >
|
||||
<input type="checkbox" id="expand-0667512b14a9091d51ef73ac21450abe" aria-controls="expandcontent-0667512b14a9091d51ef73ac21450abe" >
|
||||
<label class="expand-label" for="expand-0667512b14a9091d51ef73ac21450abe" >
|
||||
<i class="fas fa-chevron-down"></i>
|
||||
<i class="fas fa-chevron-right"></i>
|
||||
Show usage instructions
|
||||
</label>
|
||||
<div id="expandcontent-285fb7659276a8cb1a83801c48b01fc6" class="expand-content">
|
||||
<div id="expandcontent-0667512b14a9091d51ef73ac21450abe" class="expand-content">
|
||||
|
||||
<p>To get started, first select a color variant from the variant switch in the lower left sidebar that fits you best as a starting point.</p>
|
||||
<p>The graph is interactive and reflect the current colors. You can click on any of the colored boxes to adjust the respective color. The graph <strong>and the page</strong> will update accordingly.</p>
|
||||
@ -2361,21 +2341,21 @@ window.variants && variants.generator( '#vargenerator' );
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../js/clipboard.min.js?1687081538" defer></script>
|
||||
<script src="../js/perfect-scrollbar.min.js?1687081538" defer></script>
|
||||
<script src="../js/d3/d3-color.min.js?1687081538" defer></script>
|
||||
<script src="../js/d3/d3-dispatch.min.js?1687081538" defer></script>
|
||||
<script src="../js/d3/d3-drag.min.js?1687081538" defer></script>
|
||||
<script src="../js/d3/d3-ease.min.js?1687081538" defer></script>
|
||||
<script src="../js/d3/d3-interpolate.min.js?1687081538" defer></script>
|
||||
<script src="../js/d3/d3-selection.min.js?1687081538" defer></script>
|
||||
<script src="../js/d3/d3-timer.min.js?1687081538" defer></script>
|
||||
<script src="../js/d3/d3-transition.min.js?1687081538" defer></script>
|
||||
<script src="../js/d3/d3-zoom.min.js?1687081538" defer></script>
|
||||
<script src="../js/mermaid.min.js?1687081538" defer></script>
|
||||
<script src="../js/clipboard.min.js?1687389786" defer></script>
|
||||
<script src="../js/perfect-scrollbar.min.js?1687389786" defer></script>
|
||||
<script src="../js/d3/d3-color.min.js?1687389786" defer></script>
|
||||
<script src="../js/d3/d3-dispatch.min.js?1687389786" defer></script>
|
||||
<script src="../js/d3/d3-drag.min.js?1687389786" defer></script>
|
||||
<script src="../js/d3/d3-ease.min.js?1687389786" defer></script>
|
||||
<script src="../js/d3/d3-interpolate.min.js?1687389786" defer></script>
|
||||
<script src="../js/d3/d3-selection.min.js?1687389786" defer></script>
|
||||
<script src="../js/d3/d3-timer.min.js?1687389786" defer></script>
|
||||
<script src="../js/d3/d3-transition.min.js?1687389786" defer></script>
|
||||
<script src="../js/d3/d3-zoom.min.js?1687389786" defer></script>
|
||||
<script src="../js/mermaid.min.js?1687389786" defer></script>
|
||||
<script>
|
||||
window.themeUseMermaid = JSON.parse("{ \"securityLevel\": \"loose\" }");
|
||||
</script>
|
||||
<script src="../js/theme.js?1687081538" defer></script>
|
||||
<script src="../js/theme.js?1687389786" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -32,8 +32,8 @@ Just download at least version 0.95.0 of the Hugo binary for your OS (Windows, L
|
||||
<guid>https://McShelby.github.io/hugo-theme-relearn/basics/installation/index.html</guid>
|
||||
<description>The following steps are here to help you initialize your new website. If you don&rsquo;t know Hugo at all, we strongly suggest you learn more about it by following this great documentation for beginners.
|
||||
Create your project Hugo provides a new command to create a new website.
|
||||
hugo new site &lt;new_project&gt; Install the theme Install the Relearn theme by following this documentation using Hugo&rsquo;s module system.
|
||||
This theme&rsquo;s repository is: https://github.</description>
|
||||
hugo new site &lt;new_project&gt;Install the theme Install the Relearn theme by following this documentation using Hugo&rsquo;s module system.
|
||||
This theme&rsquo;s repository is: https://github.com/McShelby/hugo-theme-relearn.git</description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Configuration</title>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/installation/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../basics/installation/index.xml" rel="alternate" type="application/rss+xml" title="Installation :: Hugo Relearn Theme">
|
||||
<link href="../../basics/installation/index.print.html" rel="alternate" type="text/html" title="Installation :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081536"></script>
|
||||
<script src="../../js/variant.js?1687081536"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389782"></script>
|
||||
<script src="../../js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -117,8 +117,7 @@
|
||||
<p>The following steps are here to help you initialize your new website. If you don’t know Hugo at all, we strongly suggest you learn more about it by following this <a href="https://gohugo.io/overview/quickstart/" target="_blank">great documentation for beginners</a>.</p>
|
||||
<h2 id="create-your-project">Create your project</h2>
|
||||
<p>Hugo provides a <code>new</code> command to create a new website.</p>
|
||||
<pre tabindex="0"><code>hugo new site <new_project>
|
||||
</code></pre><h2 id="install-the-theme">Install the theme</h2>
|
||||
<div class="wrap-code highlight"><pre tabindex="0"><code>hugo new site <new_project></code></pre></div><h2 id="install-the-theme">Install the theme</h2>
|
||||
<p>Install the Relearn theme by following <a href="https://gohugo.io/hugo-modules/use-modules/#use-a-module-for-a-theme" target="_blank">this documentation</a> using Hugo’s module system.</p>
|
||||
<p>This theme’s repository is: <a href="https://github.com/McShelby/hugo-theme-relearn.git" target="_blank">https://github.com/McShelby/hugo-theme-relearn.git</a></p>
|
||||
<p>Alternatively, you can <a href="https://github.com/McShelby/hugo-theme-relearn/archive/main.zip" target="_blank">download the theme as .zip</a> file and extract it in the <code>themes</code> directory</p>
|
||||
@ -129,41 +128,36 @@
|
||||
<p>Besides the usual version tags (eg <code>1.2.3</code>) there are also tags for the main version (eg. <code>1.2.x</code>), major version (eg. <code>1.x</code>) and the latest (just <code>x</code>) released version making it easier for you to pin the theme to a certain version.</p>
|
||||
<h2 id="basic-configuration">Basic configuration</h2>
|
||||
<p>When building the website, you can set a theme by using <code>--theme</code> option. However, we suggest you modify the configuration file (<code>config.toml</code>) and set the theme as the default. You can also add the <code>[outputs]</code> section to enable the search functionality.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="c"># Change the default theme to be use when building the site with Hugo</span>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="c"># Change the default theme to be use when building the site with Hugo</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">theme</span> <span class="p">=</span> <span class="s2">"hugo-theme-relearn"</span>
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl"><span class="c"># For search functionality</span>
|
||||
</span></span><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">]</span>
|
||||
</span></span></code></pre></div><h2 id="create-your-first-chapter-page">Create your first chapter page</h2>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">home</span> <span class="p">=</span> <span class="p">[</span> <span class="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">]</span></span></span></code></pre></div><h2 id="create-your-first-chapter-page">Create your first chapter page</h2>
|
||||
<p>Chapters are pages that contain other child pages. It has a special layout style and usually just contains a <em>chapter name</em>, the <em>title</em> and a <em>brief abstract</em> of the section.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="gu">### Chapter 1
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="gu">### Chapter 1
|
||||
</span></span></span><span class="line"><span class="cl"><span class="gu"></span>
|
||||
</span></span><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 Hugo theme is all about and the core concepts behind it.
|
||||
</span></span></code></pre></div><p>renders as</p>
|
||||
</span></span><span class="line"><span class="cl">Discover what this Hugo theme is all about and the core concepts behind it.</span></span></code></pre></div><p>renders as</p>
|
||||
<p>
|
||||
|
||||
<a href="#image-775708c84c19e18612235f11727b755d" class="lightbox-link">
|
||||
<a href="#image-9b47d092f5317b3a09ca9d4bef114585" class="lightbox-link">
|
||||
<img src="../../basics/installation/chapter.png?classes=shadow&width=60pc" alt="A Chapter" class="shadow" style="height: auto; width: 60pc;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-775708c84c19e18612235f11727b755d">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-9b47d092f5317b3a09ca9d4bef114585">
|
||||
<img src="../../basics/installation/chapter.png?classes=shadow&width=60pc" alt="A Chapter" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<p>The Relearn theme provides archetypes to create skeletons for your website. Begin by creating your first chapter page with the following command</p>
|
||||
<div class="highlight"><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 opening the given file, you should see the property <code>chapter=true</code> on top, meaning this page is a <em>chapter</em>.</p>
|
||||
<div class="wrap-code highlight"><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 opening the given file, you should see the property <code>chapter=true</code> on top, meaning this page is a <em>chapter</em>.</p>
|
||||
<p>By default all chapters and pages are created as a draft. If you want to render these pages, remove the property <code>draft: true</code> from the metadata.</p>
|
||||
<h2 id="create-your-first-content-pages">Create your first content pages</h2>
|
||||
<p>Then, create content pages inside the previously created chapter. Here are two ways to create content in the chapter:</p>
|
||||
<div class="highlight"><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 to edit those files by adding some sample content and replacing the <code>title</code> value in the beginning of the files.</p>
|
||||
<div class="wrap-code highlight"><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 to edit those files by adding some sample content and replacing the <code>title</code> value in the beginning of the files.</p>
|
||||
<h2 id="launching-the-website-locally">Launching the website locally</h2>
|
||||
<p>Launch by using the following command:</p>
|
||||
<div class="highlight"><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 to <code>http://localhost:1313</code></p>
|
||||
<div class="wrap-code highlight"><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 to <code>http://localhost:1313</code></p>
|
||||
<p>You should notice three things:</p>
|
||||
<ol>
|
||||
<li>You have a left-side <strong>Basics</strong> menu, containing two submenus with names equal to the <code>title</code> properties in the previously created files.</li>
|
||||
@ -172,8 +166,7 @@
|
||||
</ol>
|
||||
<h2 id="build-the-website">Build the website</h2>
|
||||
<p>When your site is ready to deploy, run the following command:</p>
|
||||
<div class="highlight"><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, containing all static content and assets for your website. It can now be deployed on any web server.</p>
|
||||
<div class="wrap-code highlight"><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, containing all static content and assets for your website. It can now be deployed on any web server.</p>
|
||||
|
||||
<div class="box notices cstyle note">
|
||||
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Note</div>
|
||||
@ -268,12 +261,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../js/auto-complete.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687081537" defer></script>
|
||||
<script src="../../js/search.js?1687081537" defer></script>
|
||||
<script src="../../js/auto-complete.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687389784" defer></script>
|
||||
<script src="../../js/search.js?1687389784" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -289,7 +282,6 @@
|
||||
<li data-nav-id="/cont/pages/index.html" class=""><a class="padding" href="../../cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class=""><a class="padding" href="../../cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class=""><a class="padding" href="../../cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class=""><a class="padding" href="../../cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class=""><a class="padding" href="../../cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class=""><a class="padding" href="../../cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -309,6 +301,7 @@
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="../../shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="../../shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="../../shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="../../shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="../../shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="../../shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -392,12 +385,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../js/buttons.js?1687081537"></script>
|
||||
<script async src="../../js/buttons.js?1687389784"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../js/clipboard.min.js?1687081537" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081537" defer></script>
|
||||
<script src="../../js/theme.js?1687081537" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389784" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389784" defer></script>
|
||||
<script src="../../js/theme.js?1687389784" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,21 +13,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/installation/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/basics/installation/index.html" rel="canonical" type="text/html" title="Installation :: Hugo Relearn Theme">
|
||||
<link href="../../basics/installation/index.xml" rel="alternate" type="application/rss+xml" title="Installation :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081538"></script>
|
||||
<script src="../../js/variant.js?1687081538"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389786"></script>
|
||||
<script src="../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -82,8 +82,7 @@
|
||||
<p>The following steps are here to help you initialize your new website. If you don’t know Hugo at all, we strongly suggest you learn more about it by following this <a href="https://gohugo.io/overview/quickstart/" target="_blank">great documentation for beginners</a>.</p>
|
||||
<h2 id="create-your-project">Create your project</h2>
|
||||
<p>Hugo provides a <code>new</code> command to create a new website.</p>
|
||||
<pre tabindex="0"><code>hugo new site <new_project>
|
||||
</code></pre><h2 id="install-the-theme">Install the theme</h2>
|
||||
<div class="wrap-code highlight"><pre tabindex="0"><code>hugo new site <new_project></code></pre></div><h2 id="install-the-theme">Install the theme</h2>
|
||||
<p>Install the Relearn theme by following <a href="https://gohugo.io/hugo-modules/use-modules/#use-a-module-for-a-theme" target="_blank">this documentation</a> using Hugo’s module system.</p>
|
||||
<p>This theme’s repository is: <a href="https://github.com/McShelby/hugo-theme-relearn.git" target="_blank">https://github.com/McShelby/hugo-theme-relearn.git</a></p>
|
||||
<p>Alternatively, you can <a href="https://github.com/McShelby/hugo-theme-relearn/archive/main.zip" target="_blank">download the theme as .zip</a> file and extract it in the <code>themes</code> directory</p>
|
||||
@ -94,41 +93,36 @@
|
||||
<p>Besides the usual version tags (eg <code>1.2.3</code>) there are also tags for the main version (eg. <code>1.2.x</code>), major version (eg. <code>1.x</code>) and the latest (just <code>x</code>) released version making it easier for you to pin the theme to a certain version.</p>
|
||||
<h2 id="basic-configuration">Basic configuration</h2>
|
||||
<p>When building the website, you can set a theme by using <code>--theme</code> option. However, we suggest you modify the configuration file (<code>config.toml</code>) and set the theme as the default. You can also add the <code>[outputs]</code> section to enable the search functionality.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="c"># Change the default theme to be use when building the site with Hugo</span>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="c"># Change the default theme to be use when building the site with Hugo</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">theme</span> <span class="p">=</span> <span class="s2">"hugo-theme-relearn"</span>
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl"><span class="c"># For search functionality</span>
|
||||
</span></span><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">]</span>
|
||||
</span></span></code></pre></div><h2 id="create-your-first-chapter-page">Create your first chapter page</h2>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">home</span> <span class="p">=</span> <span class="p">[</span> <span class="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">]</span></span></span></code></pre></div><h2 id="create-your-first-chapter-page">Create your first chapter page</h2>
|
||||
<p>Chapters are pages that contain other child pages. It has a special layout style and usually just contains a <em>chapter name</em>, the <em>title</em> and a <em>brief abstract</em> of the section.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="gu">### Chapter 1
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="gu">### Chapter 1
|
||||
</span></span></span><span class="line"><span class="cl"><span class="gu"></span>
|
||||
</span></span><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 Hugo theme is all about and the core concepts behind it.
|
||||
</span></span></code></pre></div><p>renders as</p>
|
||||
</span></span><span class="line"><span class="cl">Discover what this Hugo theme is all about and the core concepts behind it.</span></span></code></pre></div><p>renders as</p>
|
||||
<p>
|
||||
|
||||
<a href="#image-775708c84c19e18612235f11727b755d" class="lightbox-link">
|
||||
<a href="#image-9b47d092f5317b3a09ca9d4bef114585" class="lightbox-link">
|
||||
<img src="../../basics/installation/chapter.png?classes=shadow&width=60pc" alt="A Chapter" class="shadow" style="height: auto; width: 60pc;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-775708c84c19e18612235f11727b755d">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-9b47d092f5317b3a09ca9d4bef114585">
|
||||
<img src="../../basics/installation/chapter.png?classes=shadow&width=60pc" alt="A Chapter" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<p>The Relearn theme provides archetypes to create skeletons for your website. Begin by creating your first chapter page with the following command</p>
|
||||
<div class="highlight"><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 opening the given file, you should see the property <code>chapter=true</code> on top, meaning this page is a <em>chapter</em>.</p>
|
||||
<div class="wrap-code highlight"><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 opening the given file, you should see the property <code>chapter=true</code> on top, meaning this page is a <em>chapter</em>.</p>
|
||||
<p>By default all chapters and pages are created as a draft. If you want to render these pages, remove the property <code>draft: true</code> from the metadata.</p>
|
||||
<h2 id="create-your-first-content-pages">Create your first content pages</h2>
|
||||
<p>Then, create content pages inside the previously created chapter. Here are two ways to create content in the chapter:</p>
|
||||
<div class="highlight"><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 to edit those files by adding some sample content and replacing the <code>title</code> value in the beginning of the files.</p>
|
||||
<div class="wrap-code highlight"><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 to edit those files by adding some sample content and replacing the <code>title</code> value in the beginning of the files.</p>
|
||||
<h2 id="launching-the-website-locally">Launching the website locally</h2>
|
||||
<p>Launch by using the following command:</p>
|
||||
<div class="highlight"><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 to <code>http://localhost:1313</code></p>
|
||||
<div class="wrap-code highlight"><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 to <code>http://localhost:1313</code></p>
|
||||
<p>You should notice three things:</p>
|
||||
<ol>
|
||||
<li>You have a left-side <strong>Basics</strong> menu, containing two submenus with names equal to the <code>title</code> properties in the previously created files.</li>
|
||||
@ -137,8 +131,7 @@
|
||||
</ol>
|
||||
<h2 id="build-the-website">Build the website</h2>
|
||||
<p>When your site is ready to deploy, run the following command:</p>
|
||||
<div class="highlight"><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, containing all static content and assets for your website. It can now be deployed on any web server.</p>
|
||||
<div class="wrap-code highlight"><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, containing all static content and assets for your website. It can now be deployed on any web server.</p>
|
||||
|
||||
<div class="box notices cstyle note">
|
||||
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Note</div>
|
||||
@ -156,8 +149,8 @@
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../js/clipboard.min.js?1687081538" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081538" defer></script>
|
||||
<script src="../../js/theme.js?1687081538" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389786" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389786" defer></script>
|
||||
<script src="../../js/theme.js?1687389786" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/migration/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../basics/migration/index.xml" rel="alternate" type="application/rss+xml" title="What's New :: Hugo Relearn Theme">
|
||||
<link href="../../basics/migration/index.print.html" rel="alternate" type="text/html" title="What's New :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081536"></script>
|
||||
<script src="../../js/variant.js?1687081536"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389782"></script>
|
||||
<script src="../../js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -87,6 +87,7 @@
|
||||
<div class="toc-wrapper">
|
||||
<nav id="TableOfContents">
|
||||
<ul>
|
||||
<li><a href="#5170-2023-06-20">5.17.0 (2023-06-20)</a></li>
|
||||
<li><a href="#5160-2023-06-10">5.16.0 (2023-06-10)</a></li>
|
||||
<li><a href="#5150-2023-05-29">5.15.0 (2023-05-29)</a></li>
|
||||
<li><a href="#5140-2023-05-20">5.14.0 (2023-05-20)</a></li>
|
||||
@ -145,6 +146,14 @@
|
||||
<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 you might find interesting or comes configurable.</p>
|
||||
<!--GH-ACTION-RELEASE-MILESTONE-->
|
||||
<hr>
|
||||
<h2 id="5170-2023-06-20">5.17.0 (2023-06-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> The new <a href="../../shortcodes/highlight/"><code>highlight</code> shortcode</a> replaces Hugo’s default implementation and is fully compatible. So you don’t need to change anything.</p>
|
||||
<p>In addition it offers some extensions. Currently only the <code>wrap</code> extension option is provided to control whether a code block should be wrapped or scrolled if to long to fit.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h2 id="5160-2023-06-10">5.16.0 (2023-06-10)</h2>
|
||||
<ul>
|
||||
<li>
|
||||
@ -222,14 +231,13 @@
|
||||
<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 for the great <a href="https://github.com/estruyf/vscode-front-matter" target="_blank">VSCode Front Matter extension</a> which provides on-premise CMS capabilties to Hugo.</p>
|
||||
<p>The theme provides Front Matter snippets for its shortcodes. Currently only English and German is supported. Put a reference into your <code>frontmatter.json</code> like this</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
||||
<div class="wrap-code highlight"><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></li>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></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 for languages that are written right to left (like Arabic) is now complete and extended to the menu, the top navigation bar and print. You can experience this in the <a href="../../pir/basics/migration/">pirate translation</a>. This feature is not available in Internet Explorer 11.</p>
|
||||
</li>
|
||||
@ -243,8 +251,7 @@
|
||||
<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> The theme removed the popular <a href="https://jquery.com" target="_blank">jQuery</a> library from its distribution.</p>
|
||||
<p>In case you made changes to the theme that are dependend on this library you can place a copy of jQuery into your <code>static/js</code> directory and load it from your own <code>layouts/partials/custom-header.html</code> like this:</p>
|
||||
<div class="highlight"><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></li>
|
||||
<div class="wrap-code highlight"><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></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="../../shortcodes/mermaid/#parameter">Mermaid</a> diagrams can now be configured for pan and zoom on site-, page-level or individually for each graph.</p>
|
||||
<p>The default setting of <code>on</code>, in effect since 1.1.0, changed back to <code>off</code> as there was interference with scrolling on mobile and big pages.</p>
|
||||
@ -287,18 +294,16 @@
|
||||
<ol>
|
||||
<li>
|
||||
<p>Make the page file for the <code>More</code> section a <a href="https://gohugo.io/content-management/page-bundles/#headless-bundle" target="_blank">headless branch bundle</a> (contained in its own subdirectory and called <code>_index.md</code>) and add the following frontmatter configuration to the file (see exampleSite’s <code>content/showcase</code>). This causes its content to <strong>not</strong> be contained in the sitemap.</p>
|
||||
<div class="highlight"><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">_build</span><span class="p">]</span>
|
||||
<div class="wrap-code highlight"><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">_build</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">render</span> <span class="p">=</span> <span class="s2">"never"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">list</span> <span class="p">=</span> <span class="s2">"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></code></pre></div></li>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">publishResources</span> <span class="p">=</span> <span class="kc">false</span></span></span></code></pre></div></li>
|
||||
<li>
|
||||
<p>Store the page file for the <code>More</code> section below a parent headless branch bundle and add the following frontmatter to the <strong>parent</strong>. In this case, the file itself can be a branch bundle, leaf bundle or simple page (see exampleSite’s <code>content/more/</code> and <code>content/more/credits</code>). This causes its content to be contained in the sitemap.</p>
|
||||
<div class="highlight"><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">_build</span><span class="p">]</span>
|
||||
<div class="wrap-code highlight"><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">_build</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">render</span> <span class="p">=</span> <span class="s2">"always"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">list</span> <span class="p">=</span> <span class="s2">"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></code></pre></div></li>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">publishResources</span> <span class="p">=</span> <span class="kc">true</span></span></span></code></pre></div></li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>
|
||||
@ -435,23 +440,21 @@
|
||||
<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 the print preview URLs were non deterministic for normal pages in comparison to page bundles, this is now changed. Each print preview is now accessible by adding a <code>index.print.html</code> to the default URL.</p>
|
||||
<p>You can revert this behavior by overwriting the PRINT output format setting in your <code>config.toml</code>to:</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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">name</span><span class="p">=</span> <span class="s2">"PRINT"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">baseName</span> <span class="p">=</span> <span class="s2">"index"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">path</span> <span class="p">=</span> <span class="s2">"_print"</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">permalinkable</span> <span class="p">=</span> <span class="kc">false</span>
|
||||
</span></span></code></pre></div></li>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">permalinkable</span> <span class="p">=</span> <span class="kc">false</span></span></span></code></pre></div></li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h2 id="500-2022-07-05">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">Breaking</span></span> The theme changed how JavaScript and CSS dependencies are loaded to provide a better performance. In case you’ve added own JavaScript code that depends on the themes jQuery implementation, you have to put it into a separate <code>*.js</code> file (if not already) and add the <code>defer</code> keyword to the <code>script</code> element. Eg.</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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> The way <a href="../../cont/archetypes/">archetypes</a> are used to generate output has changed. The new systems allows you, to redefine existing archetypes or even generate your own ones.</p>
|
||||
<p>Your existing markdown files will still work like before and therefore you don’t need to change anything after the upgrade. Nevertheless, it is recommended to adapt your existing markdown files to the new way as follows:</p>
|
||||
@ -635,8 +638,7 @@
|
||||
<p>Also, the old themes implementation allowed refs to non-existing content. This will cause Hugos implementation to show the error below and abort the generation. If your project relies on this old behavior, you can <a href="https://gohugo.io/content-management/cross-references/#link-to-another-language-version" target="_blank">reconfigure the error handling</a> of Hugos implementation.</p>
|
||||
<p>In the best case your usage of the old implementation is already standard compliant and you don’t need to change anything. You’ll notice this very easily once you’ve started <code>hugo server</code> after an upgrade and no errors are written to the console.</p>
|
||||
<p>You may see errors on the console after the update in the form:</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-sh" data-lang="sh"><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>: page not found
|
||||
</span></span></code></pre></div><p>In this case, you must apply one of two options:</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-sh" data-lang="sh"><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>: page not found</span></span></code></pre></div><p>In this case, you must apply one of two options:</p>
|
||||
<ol>
|
||||
<li>
|
||||
<p>Start up a text editor with regular expression support for search and replace. Search for <code>(ref\s+"[^"]*?)(?:/_index|/index)?(?:\.md)?(#[^"]*?)?"</code> and replace it by <code>$1$2"</code> in all <code>*.md</code> files. <strong>This is the recommended choice</strong>.</p>
|
||||
@ -873,12 +875,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../js/auto-complete.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687081537" defer></script>
|
||||
<script src="../../js/search.js?1687081537" defer></script>
|
||||
<script src="../../js/auto-complete.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687389784" defer></script>
|
||||
<script src="../../js/search.js?1687389784" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -894,7 +896,6 @@
|
||||
<li data-nav-id="/cont/pages/index.html" class=""><a class="padding" href="../../cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class=""><a class="padding" href="../../cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class=""><a class="padding" href="../../cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class=""><a class="padding" href="../../cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class=""><a class="padding" href="../../cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class=""><a class="padding" href="../../cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -914,6 +915,7 @@
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="../../shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="../../shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="../../shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="../../shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="../../shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="../../shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -997,12 +999,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../js/buttons.js?1687081537"></script>
|
||||
<script async src="../../js/buttons.js?1687389784"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../js/clipboard.min.js?1687081537" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081537" defer></script>
|
||||
<script src="../../js/theme.js?1687081537" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389784" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389784" defer></script>
|
||||
<script src="../../js/theme.js?1687389784" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,21 +13,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/migration/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/basics/migration/index.html" rel="canonical" type="text/html" title="What's New :: Hugo Relearn Theme">
|
||||
<link href="../../basics/migration/index.xml" rel="alternate" type="application/rss+xml" title="What's New :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081538"></script>
|
||||
<script src="../../js/variant.js?1687081538"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389786"></script>
|
||||
<script src="../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -83,6 +83,14 @@
|
||||
<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 you might find interesting or comes configurable.</p>
|
||||
<!--GH-ACTION-RELEASE-MILESTONE-->
|
||||
<hr>
|
||||
<h2 id="5170-2023-06-20">5.17.0 (2023-06-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> The new <a href="../../shortcodes/highlight/"><code>highlight</code> shortcode</a> replaces Hugo’s default implementation and is fully compatible. So you don’t need to change anything.</p>
|
||||
<p>In addition it offers some extensions. Currently only the <code>wrap</code> extension option is provided to control whether a code block should be wrapped or scrolled if to long to fit.</p>
|
||||
</li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h2 id="5160-2023-06-10">5.16.0 (2023-06-10)</h2>
|
||||
<ul>
|
||||
<li>
|
||||
@ -160,14 +168,13 @@
|
||||
<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 for the great <a href="https://github.com/estruyf/vscode-front-matter" target="_blank">VSCode Front Matter extension</a> which provides on-premise CMS capabilties to Hugo.</p>
|
||||
<p>The theme provides Front Matter snippets for its shortcodes. Currently only English and German is supported. Put a reference into your <code>frontmatter.json</code> like this</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
||||
<div class="wrap-code highlight"><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></li>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></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 for languages that are written right to left (like Arabic) is now complete and extended to the menu, the top navigation bar and print. You can experience this in the <a href="../../pir/basics/migration/">pirate translation</a>. This feature is not available in Internet Explorer 11.</p>
|
||||
</li>
|
||||
@ -181,8 +188,7 @@
|
||||
<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> The theme removed the popular <a href="https://jquery.com" target="_blank">jQuery</a> library from its distribution.</p>
|
||||
<p>In case you made changes to the theme that are dependend on this library you can place a copy of jQuery into your <code>static/js</code> directory and load it from your own <code>layouts/partials/custom-header.html</code> like this:</p>
|
||||
<div class="highlight"><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></li>
|
||||
<div class="wrap-code highlight"><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></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="../../shortcodes/mermaid/#parameter">Mermaid</a> diagrams can now be configured for pan and zoom on site-, page-level or individually for each graph.</p>
|
||||
<p>The default setting of <code>on</code>, in effect since 1.1.0, changed back to <code>off</code> as there was interference with scrolling on mobile and big pages.</p>
|
||||
@ -225,18 +231,16 @@
|
||||
<ol>
|
||||
<li>
|
||||
<p>Make the page file for the <code>More</code> section a <a href="https://gohugo.io/content-management/page-bundles/#headless-bundle" target="_blank">headless branch bundle</a> (contained in its own subdirectory and called <code>_index.md</code>) and add the following frontmatter configuration to the file (see exampleSite’s <code>content/showcase</code>). This causes its content to <strong>not</strong> be contained in the sitemap.</p>
|
||||
<div class="highlight"><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">_build</span><span class="p">]</span>
|
||||
<div class="wrap-code highlight"><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">_build</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">render</span> <span class="p">=</span> <span class="s2">"never"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">list</span> <span class="p">=</span> <span class="s2">"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></code></pre></div></li>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">publishResources</span> <span class="p">=</span> <span class="kc">false</span></span></span></code></pre></div></li>
|
||||
<li>
|
||||
<p>Store the page file for the <code>More</code> section below a parent headless branch bundle and add the following frontmatter to the <strong>parent</strong>. In this case, the file itself can be a branch bundle, leaf bundle or simple page (see exampleSite’s <code>content/more/</code> and <code>content/more/credits</code>). This causes its content to be contained in the sitemap.</p>
|
||||
<div class="highlight"><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">_build</span><span class="p">]</span>
|
||||
<div class="wrap-code highlight"><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">_build</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">render</span> <span class="p">=</span> <span class="s2">"always"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">list</span> <span class="p">=</span> <span class="s2">"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></code></pre></div></li>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">publishResources</span> <span class="p">=</span> <span class="kc">true</span></span></span></code></pre></div></li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>
|
||||
@ -373,23 +377,21 @@
|
||||
<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 the print preview URLs were non deterministic for normal pages in comparison to page bundles, this is now changed. Each print preview is now accessible by adding a <code>index.print.html</code> to the default URL.</p>
|
||||
<p>You can revert this behavior by overwriting the PRINT output format setting in your <code>config.toml</code>to:</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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">name</span><span class="p">=</span> <span class="s2">"PRINT"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">baseName</span> <span class="p">=</span> <span class="s2">"index"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">path</span> <span class="p">=</span> <span class="s2">"_print"</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">permalinkable</span> <span class="p">=</span> <span class="kc">false</span>
|
||||
</span></span></code></pre></div></li>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">permalinkable</span> <span class="p">=</span> <span class="kc">false</span></span></span></code></pre></div></li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h2 id="500-2022-07-05">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">Breaking</span></span> The theme changed how JavaScript and CSS dependencies are loaded to provide a better performance. In case you’ve added own JavaScript code that depends on the themes jQuery implementation, you have to put it into a separate <code>*.js</code> file (if not already) and add the <code>defer</code> keyword to the <code>script</code> element. Eg.</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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> The way <a href="../../cont/archetypes/">archetypes</a> are used to generate output has changed. The new systems allows you, to redefine existing archetypes or even generate your own ones.</p>
|
||||
<p>Your existing markdown files will still work like before and therefore you don’t need to change anything after the upgrade. Nevertheless, it is recommended to adapt your existing markdown files to the new way as follows:</p>
|
||||
@ -573,8 +575,7 @@
|
||||
<p>Also, the old themes implementation allowed refs to non-existing content. This will cause Hugos implementation to show the error below and abort the generation. If your project relies on this old behavior, you can <a href="https://gohugo.io/content-management/cross-references/#link-to-another-language-version" target="_blank">reconfigure the error handling</a> of Hugos implementation.</p>
|
||||
<p>In the best case your usage of the old implementation is already standard compliant and you don’t need to change anything. You’ll notice this very easily once you’ve started <code>hugo server</code> after an upgrade and no errors are written to the console.</p>
|
||||
<p>You may see errors on the console after the update in the form:</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-sh" data-lang="sh"><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>: page not found
|
||||
</span></span></code></pre></div><p>In this case, you must apply one of two options:</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-sh" data-lang="sh"><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>: page not found</span></span></code></pre></div><p>In this case, you must apply one of two options:</p>
|
||||
<ol>
|
||||
<li>
|
||||
<p>Start up a text editor with regular expression support for search and replace. Search for <code>(ref\s+"[^"]*?)(?:/_index|/index)?(?:\.md)?(#[^"]*?)?"</code> and replace it by <code>$1$2"</code> in all <code>*.md</code> files. <strong>This is the recommended choice</strong>.</p>
|
||||
@ -734,8 +735,8 @@
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../js/clipboard.min.js?1687081538" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081538" defer></script>
|
||||
<script src="../../js/theme.js?1687081538" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389786" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389786" defer></script>
|
||||
<script src="../../js/theme.js?1687389786" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/requirements/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../basics/requirements/index.xml" rel="alternate" type="application/rss+xml" title="Requirements :: Hugo Relearn Theme">
|
||||
<link href="../../basics/requirements/index.print.html" rel="alternate" type="text/html" title="Requirements :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081536"></script>
|
||||
<script src="../../js/variant.js?1687081536"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389782"></script>
|
||||
<script src="../../js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -94,10 +94,10 @@
|
||||
<p>Thanks to the simplicity of Hugo, this page is 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="fab fa-hackerrank"></i></span><span class="badge-content" style="background-color: fuchsia;">0.95.0</span></span> of the <a href="https://gohugo.io/getting-started/installing/" target="_blank">Hugo binary</a> for your OS (Windows, Linux, Mac).</p>
|
||||
<p>
|
||||
<a href="#image-bb6881835db8cb8f42555e4456a5bf5b" class="lightbox-link">
|
||||
<a href="#image-d9ae4b6038b4c4bca1d54199f51435ab" class="lightbox-link">
|
||||
<img src="../../basics/requirements/magic.gif?classes=shadow" alt="Magic" class="shadow" style="height: auto; width: auto;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-bb6881835db8cb8f42555e4456a5bf5b">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-d9ae4b6038b4c4bca1d54199f51435ab">
|
||||
<img src="../../basics/requirements/magic.gif?classes=shadow" alt="Magic" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
|
||||
@ -188,12 +188,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../js/auto-complete.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687081537" defer></script>
|
||||
<script src="../../js/search.js?1687081537" defer></script>
|
||||
<script src="../../js/auto-complete.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687389784" defer></script>
|
||||
<script src="../../js/search.js?1687389784" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -209,7 +209,6 @@
|
||||
<li data-nav-id="/cont/pages/index.html" class=""><a class="padding" href="../../cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class=""><a class="padding" href="../../cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class=""><a class="padding" href="../../cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class=""><a class="padding" href="../../cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class=""><a class="padding" href="../../cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class=""><a class="padding" href="../../cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -229,6 +228,7 @@
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="../../shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="../../shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="../../shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="../../shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="../../shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="../../shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -312,12 +312,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../js/buttons.js?1687081537"></script>
|
||||
<script async src="../../js/buttons.js?1687389784"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../js/clipboard.min.js?1687081537" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081537" defer></script>
|
||||
<script src="../../js/theme.js?1687081537" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389784" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389784" defer></script>
|
||||
<script src="../../js/theme.js?1687389784" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,21 +13,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/requirements/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/basics/requirements/index.html" rel="canonical" type="text/html" title="Requirements :: Hugo Relearn Theme">
|
||||
<link href="../../basics/requirements/index.xml" rel="alternate" type="application/rss+xml" title="Requirements :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081538"></script>
|
||||
<script src="../../js/variant.js?1687081538"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389786"></script>
|
||||
<script src="../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -79,10 +79,10 @@
|
||||
<p>Thanks to the simplicity of Hugo, this page is 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="fab fa-hackerrank"></i></span><span class="badge-content" style="background-color: fuchsia;">0.95.0</span></span> of the <a href="https://gohugo.io/getting-started/installing/" target="_blank">Hugo binary</a> for your OS (Windows, Linux, Mac).</p>
|
||||
<p>
|
||||
<a href="#image-bb6881835db8cb8f42555e4456a5bf5b" class="lightbox-link">
|
||||
<a href="#image-d9ae4b6038b4c4bca1d54199f51435ab" class="lightbox-link">
|
||||
<img src="../../basics/requirements/magic.gif?classes=shadow" alt="Magic" class="shadow" style="height: auto; width: auto;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-bb6881835db8cb8f42555e4456a5bf5b">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-d9ae4b6038b4c4bca1d54199f51435ab">
|
||||
<img src="../../basics/requirements/magic.gif?classes=shadow" alt="Magic" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
|
||||
@ -96,8 +96,8 @@
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../js/clipboard.min.js?1687081538" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081538" defer></script>
|
||||
<script src="../../js/theme.js?1687081538" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389786" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389786" defer></script>
|
||||
<script src="../../js/theme.js?1687389786" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -12,20 +12,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/categories/basic/index.html" rel="alternate" hreflang="en">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/categories/basic/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../categories/basic/index.xml" rel="alternate" type="application/rss+xml" title="basic :: Category :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081536"></script>
|
||||
<script src="../../js/variant.js?1687081536"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389782"></script>
|
||||
<script src="../../js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -166,12 +166,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../js/auto-complete.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687081537" defer></script>
|
||||
<script src="../../js/search.js?1687081537" defer></script>
|
||||
<script src="../../js/auto-complete.js?1687389785" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687389785" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687389785" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687389785" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687389785" defer></script>
|
||||
<script src="../../js/search.js?1687389785" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -187,7 +187,6 @@
|
||||
<li data-nav-id="/cont/pages/index.html" class=""><a class="padding" href="../../cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class=""><a class="padding" href="../../cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class=""><a class="padding" href="../../cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class=""><a class="padding" href="../../cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class=""><a class="padding" href="../../cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class=""><a class="padding" href="../../cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -207,6 +206,7 @@
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="../../shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="../../shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="../../shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="../../shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="../../shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="../../shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -290,12 +290,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../js/buttons.js?1687081537"></script>
|
||||
<script async src="../../js/buttons.js?1687389785"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../js/clipboard.min.js?1687081537" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081537" defer></script>
|
||||
<script src="../../js/theme.js?1687081537" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389785" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389785" defer></script>
|
||||
<script src="../../js/theme.js?1687389785" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -12,20 +12,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/categories/content/index.html" rel="alternate" hreflang="en">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/categories/content/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../categories/content/index.xml" rel="alternate" type="application/rss+xml" title="content :: Category :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081536"></script>
|
||||
<script src="../../js/variant.js?1687081536"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389782"></script>
|
||||
<script src="../../js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -166,12 +166,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../js/auto-complete.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687081537" defer></script>
|
||||
<script src="../../js/search.js?1687081537" defer></script>
|
||||
<script src="../../js/auto-complete.js?1687389785" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687389785" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687389785" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687389785" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687389785" defer></script>
|
||||
<script src="../../js/search.js?1687389785" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -187,7 +187,6 @@
|
||||
<li data-nav-id="/cont/pages/index.html" class=""><a class="padding" href="../../cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class=""><a class="padding" href="../../cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class=""><a class="padding" href="../../cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class=""><a class="padding" href="../../cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class=""><a class="padding" href="../../cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class=""><a class="padding" href="../../cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -207,6 +206,7 @@
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="../../shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="../../shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="../../shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="../../shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="../../shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="../../shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -290,12 +290,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../js/buttons.js?1687081538"></script>
|
||||
<script async src="../../js/buttons.js?1687389785"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../js/clipboard.min.js?1687081538" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081538" defer></script>
|
||||
<script src="../../js/theme.js?1687081538" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389785" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389785" defer></script>
|
||||
<script src="../../js/theme.js?1687389785" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -13,7 +13,7 @@
|
||||
<guid>https://McShelby.github.io/hugo-theme-relearn/cont/taxonomy/index.html</guid>
|
||||
<description>The Relearn theme supports Hugo&rsquo;s default taxonomies tag and category out of the box.
|
||||
Configuration Just add tags and/or categories to any page. They can be given as a single string or an array of strings.
|
||||
+++ categories = [&#34;taxonomy&#34;, &#34;content&#34;] tags = &#34;tutorial&#34; title = &#34;Taxonomy&#34; +++ Behavior The tags are displayed at the top of the page in alphabetical order.
|
||||
+++ categories = [&#34;taxonomy&#34;, &#34;content&#34;] tags = &#34;tutorial&#34; title = &#34;Taxonomy&#34; +++Behavior The tags are displayed at the top of the page in alphabetical order.
|
||||
The categories are displayed at the bottom of the page in alphabetical order in the default implementation of the theme but can be customized by providing your own content-footer.</description>
|
||||
</item>
|
||||
</channel>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -12,20 +12,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/categories/custom/index.html" rel="alternate" hreflang="en">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/categories/custom/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../categories/custom/index.xml" rel="alternate" type="application/rss+xml" title="custom :: Category :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081536"></script>
|
||||
<script src="../../js/variant.js?1687081536"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389782"></script>
|
||||
<script src="../../js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -166,12 +166,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../js/auto-complete.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687081537" defer></script>
|
||||
<script src="../../js/search.js?1687081537" defer></script>
|
||||
<script src="../../js/auto-complete.js?1687389785" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687389785" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687389785" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687389785" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687389785" defer></script>
|
||||
<script src="../../js/search.js?1687389785" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -187,7 +187,6 @@
|
||||
<li data-nav-id="/cont/pages/index.html" class=""><a class="padding" href="../../cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class=""><a class="padding" href="../../cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class=""><a class="padding" href="../../cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class=""><a class="padding" href="../../cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class=""><a class="padding" href="../../cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class=""><a class="padding" href="../../cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -207,6 +206,7 @@
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="../../shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="../../shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="../../shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="../../shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="../../shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="../../shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -290,12 +290,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../js/buttons.js?1687081538"></script>
|
||||
<script async src="../../js/buttons.js?1687389785"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../js/clipboard.min.js?1687081538" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081538" defer></script>
|
||||
<script src="../../js/theme.js?1687081538" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389785" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389785" defer></script>
|
||||
<script src="../../js/theme.js?1687389785" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -12,20 +12,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/categories/index.html" rel="alternate" hreflang="en">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/categories/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../categories/index.xml" rel="alternate" type="application/rss+xml" title="Categories :: Hugo Relearn Theme">
|
||||
<link href="../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="../css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="../css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="../css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="../css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="../css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="../css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="../js/url.js?1687081536"></script>
|
||||
<script src="../js/variant.js?1687081536"></script>
|
||||
<link href="../css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="../css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="../css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="../css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="../css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="../css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="../css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="../js/url.js?1687389782"></script>
|
||||
<script src="../js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -188,12 +188,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../js/auto-complete.js?1687081537" defer></script>
|
||||
<script src="../js/lunr/lunr.min.js?1687081537" defer></script>
|
||||
<script src="../js/lunr/lunr.stemmer.support.min.js?1687081537" defer></script>
|
||||
<script src="../js/lunr/lunr.multi.min.js?1687081537" defer></script>
|
||||
<script src="../js/lunr/lunr.en.min.js?1687081537" defer></script>
|
||||
<script src="../js/search.js?1687081537" defer></script>
|
||||
<script src="../js/auto-complete.js?1687389785" defer></script>
|
||||
<script src="../js/lunr/lunr.min.js?1687389785" defer></script>
|
||||
<script src="../js/lunr/lunr.stemmer.support.min.js?1687389785" defer></script>
|
||||
<script src="../js/lunr/lunr.multi.min.js?1687389785" defer></script>
|
||||
<script src="../js/lunr/lunr.en.min.js?1687389785" defer></script>
|
||||
<script src="../js/search.js?1687389785" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -209,7 +209,6 @@
|
||||
<li data-nav-id="/cont/pages/index.html" class=""><a class="padding" href="../cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class=""><a class="padding" href="../cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class=""><a class="padding" href="../cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class=""><a class="padding" href="../cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class=""><a class="padding" href="../cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class=""><a class="padding" href="../cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -229,6 +228,7 @@
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="../shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="../shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="../shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="../shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="../shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="../shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -312,12 +312,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../js/buttons.js?1687081537"></script>
|
||||
<script async src="../js/buttons.js?1687389785"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../js/clipboard.min.js?1687081537" defer></script>
|
||||
<script src="../js/perfect-scrollbar.min.js?1687081537" defer></script>
|
||||
<script src="../js/theme.js?1687081537" defer></script>
|
||||
<script src="../js/clipboard.min.js?1687389785" defer></script>
|
||||
<script src="../js/perfect-scrollbar.min.js?1687389785" defer></script>
|
||||
<script src="../js/theme.js?1687389785" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -12,20 +12,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/categories/taxonomy/index.html" rel="alternate" hreflang="en">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/categories/taxonomy/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../categories/taxonomy/index.xml" rel="alternate" type="application/rss+xml" title="taxonomy :: Category :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081536"></script>
|
||||
<script src="../../js/variant.js?1687081536"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389782"></script>
|
||||
<script src="../../js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -166,12 +166,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../js/auto-complete.js?1687081538" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687081538" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687081538" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687081538" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687081538" defer></script>
|
||||
<script src="../../js/search.js?1687081538" defer></script>
|
||||
<script src="../../js/auto-complete.js?1687389785" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687389785" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687389785" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687389785" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687389785" defer></script>
|
||||
<script src="../../js/search.js?1687389785" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -187,7 +187,6 @@
|
||||
<li data-nav-id="/cont/pages/index.html" class=""><a class="padding" href="../../cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class=""><a class="padding" href="../../cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class=""><a class="padding" href="../../cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class=""><a class="padding" href="../../cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class=""><a class="padding" href="../../cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class=""><a class="padding" href="../../cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -207,6 +206,7 @@
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="../../shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="../../shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="../../shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="../../shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="../../shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="../../shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -290,12 +290,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../js/buttons.js?1687081538"></script>
|
||||
<script async src="../../js/buttons.js?1687389785"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../js/clipboard.min.js?1687081538" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081538" defer></script>
|
||||
<script src="../../js/theme.js?1687081538" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389785" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389785" defer></script>
|
||||
<script src="../../js/theme.js?1687389785" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -13,7 +13,7 @@
|
||||
<guid>https://McShelby.github.io/hugo-theme-relearn/cont/taxonomy/index.html</guid>
|
||||
<description>The Relearn theme supports Hugo&rsquo;s default taxonomies tag and category out of the box.
|
||||
Configuration Just add tags and/or categories to any page. They can be given as a single string or an array of strings.
|
||||
+++ categories = [&#34;taxonomy&#34;, &#34;content&#34;] tags = &#34;tutorial&#34; title = &#34;Taxonomy&#34; +++ Behavior The tags are displayed at the top of the page in alphabetical order.
|
||||
+++ categories = [&#34;taxonomy&#34;, &#34;content&#34;] tags = &#34;tutorial&#34; title = &#34;Taxonomy&#34; +++Behavior The tags are displayed at the top of the page in alphabetical order.
|
||||
The categories are displayed at the bottom of the page in alphabetical order in the default implementation of the theme but can be customized by providing your own content-footer.</description>
|
||||
</item>
|
||||
</channel>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -12,20 +12,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/categories/theming/index.html" rel="alternate" hreflang="en">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/categories/theming/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../categories/theming/index.xml" rel="alternate" type="application/rss+xml" title="theming :: Category :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081536"></script>
|
||||
<script src="../../js/variant.js?1687081536"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389782"></script>
|
||||
<script src="../../js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -167,12 +167,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../js/auto-complete.js?1687081538" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687081538" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687081538" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687081538" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687081538" defer></script>
|
||||
<script src="../../js/search.js?1687081538" defer></script>
|
||||
<script src="../../js/auto-complete.js?1687389785" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687389785" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687389785" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687389785" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687389785" defer></script>
|
||||
<script src="../../js/search.js?1687389785" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -188,7 +188,6 @@
|
||||
<li data-nav-id="/cont/pages/index.html" class=""><a class="padding" href="../../cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class=""><a class="padding" href="../../cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class=""><a class="padding" href="../../cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class=""><a class="padding" href="../../cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class=""><a class="padding" href="../../cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class=""><a class="padding" href="../../cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -208,6 +207,7 @@
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="../../shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="../../shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="../../shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="../../shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="../../shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="../../shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -291,12 +291,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../js/buttons.js?1687081538"></script>
|
||||
<script async src="../../js/buttons.js?1687389785"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../js/clipboard.min.js?1687081538" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081538" defer></script>
|
||||
<script src="../../js/theme.js?1687081538" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389785" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389785" defer></script>
|
||||
<script src="../../js/theme.js?1687389785" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/archetypes/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../cont/archetypes/index.xml" rel="alternate" type="application/rss+xml" title="Archetypes :: Hugo Relearn Theme">
|
||||
<link href="../../cont/archetypes/index.print.html" rel="alternate" type="text/html" title="Archetypes :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081536"></script>
|
||||
<script src="../../js/variant.js?1687081536"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389782"></script>
|
||||
<script src="../../js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -120,74 +120,65 @@
|
||||
<p>A <strong>Home</strong> page is the starting page of your project. It’s best to have only one page of this kind in your project.</p>
|
||||
<p>
|
||||
|
||||
<a href="#image-120e0f5ecd0ad1a92bdef8801b504a1e" class="lightbox-link">
|
||||
<a href="#image-54f914bc1bb8f6fd368a42cd6b3b844d" class="lightbox-link">
|
||||
<img src="../../cont/archetypes/pages-home.png?classes=shadow&width=60pc" alt="Home page" class="shadow" style="height: auto; width: 60pc;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-120e0f5ecd0ad1a92bdef8801b504a1e">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-54f914bc1bb8f6fd368a42cd6b3b844d">
|
||||
<img src="../../cont/archetypes/pages-home.png?classes=shadow&width=60pc" alt="Home page" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<p>To create a home page, run the following command</p>
|
||||
<div class="highlight"><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>This leads to a file with the following content</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
<div class="wrap-code highlight"><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>This leads to a file with the following content</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">archetype = "home"
|
||||
</span></span><span class="line"><span class="cl">title = "{{ replace .Name "-" " " | title }}"
|
||||
</span></span><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Lorem Ipsum.
|
||||
</span></span></code></pre></div><h3 id="archetypes-chapter">Chapter</h3>
|
||||
</span></span><span class="line"><span class="cl">Lorem Ipsum.</span></span></code></pre></div><h3 id="archetypes-chapter">Chapter</h3>
|
||||
<p>A <strong>Chapter</strong> displays a page meant to be used as introduction for a set of child pages. Commonly, it contains a simple title and a catch line to define content that can be found below it.</p>
|
||||
<p>
|
||||
|
||||
<a href="#image-c6664ca6ea7f168d2b92b9ec9a7845fa" class="lightbox-link">
|
||||
<a href="#image-b063792cca9d2ba065ecdc9b16151932" class="lightbox-link">
|
||||
<img src="../../cont/archetypes/pages-chapter.png?classes=shadow&width=60pc" alt="Chapter page" class="shadow" style="height: auto; width: 60pc;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-c6664ca6ea7f168d2b92b9ec9a7845fa">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-b063792cca9d2ba065ecdc9b16151932">
|
||||
<img src="../../cont/archetypes/pages-chapter.png?classes=shadow&width=60pc" alt="Chapter page" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<p>To create a chapter page, run the following command</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new --kind chapter <name>/_index.md
|
||||
</span></span></code></pre></div><p>This leads to a file with the following content</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new --kind chapter <name>/_index.md</span></span></code></pre></div><p>This leads to a file with the following content</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">archetype = "chapter"
|
||||
</span></span><span class="line"><span class="cl">title = "{{ replace .Name "-" " " | title }}"
|
||||
</span></span><span class="line"><span class="cl">weight = X
|
||||
</span></span><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Lorem Ipsum.
|
||||
</span></span></code></pre></div><p>Replace the <code>X</code> with a number. Because this number will be used to generate the subtitle of the chapter page, set the number to a consecutive value starting at 1 for each new chapter level.</p>
|
||||
</span></span><span class="line"><span class="cl">Lorem Ipsum.</span></span></code></pre></div><p>Replace the <code>X</code> with a number. Because this number will be used to generate the subtitle of the chapter page, set the number to a consecutive value starting at 1 for each new chapter level.</p>
|
||||
<h3 id="archetypes-default">Default</h3>
|
||||
<p>A <strong>Default</strong> page is any other content page. If you set an unknown archetype in your frontmatter, this archetype will be used to generate the page.</p>
|
||||
<p>
|
||||
|
||||
<a href="#image-b3ebb1419c42dd9a2f6f8438674defd1" class="lightbox-link">
|
||||
<a href="#image-ac8ad423db7050d917f36282e8d61fad" class="lightbox-link">
|
||||
<img src="../../cont/archetypes/pages-default.png?classes=shadow&width=60pc" alt="Default page" class="shadow" style="height: auto; width: 60pc;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-b3ebb1419c42dd9a2f6f8438674defd1">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-ac8ad423db7050d917f36282e8d61fad">
|
||||
<img src="../../cont/archetypes/pages-default.png?classes=shadow&width=60pc" alt="Default page" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<p>To create a default page, run either one of the following commands</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new <chapter>/<name>/_index.md
|
||||
</span></span></code></pre></div><p>or</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new <chapter>/<name>.md
|
||||
</span></span></code></pre></div><p>This leads to a file with the following content</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new <chapter>/<name>/_index.md</span></span></code></pre></div><p>or</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new <chapter>/<name>.md</span></span></code></pre></div><p>This leads to a file with the following content</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">title = "{{ replace .Name "-" " " | title }}"
|
||||
</span></span><span class="line"><span class="cl">weight = X
|
||||
</span></span><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Lorem Ipsum.
|
||||
</span></span></code></pre></div><p>Replace the <code>X</code> with a number or delete the whole <code>weight</code> parameter entirely.</p>
|
||||
</span></span><span class="line"><span class="cl">Lorem Ipsum.</span></span></code></pre></div><p>Replace the <code>X</code> with a number or delete the whole <code>weight</code> parameter entirely.</p>
|
||||
<h2 id="self-defined-archetypes">Self defined Archetypes</h2>
|
||||
<p>If you are in need of further archetypes you can define your own or even redefine existing ones.</p>
|
||||
<h3 id="template">Template</h3>
|
||||
<p>Define a template file in your project at <code>archetypes/<kind>.md</code> and make sure it has at least the frontmatter parameter for that archetype like</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">archetype = "<span class="p"><</span><span class="nt">kind</span><span class="p">></span>"
|
||||
</span></span><span class="line"><span class="cl">+++
|
||||
</span></span></code></pre></div><p>Afterwards you can generate new content files of that kind with the following command</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new --kind <kind> <name>/_index.md
|
||||
</span></span></code></pre></div><h3 id="partials">Partials</h3>
|
||||
</span></span><span class="line"><span class="cl">+++</span></span></code></pre></div><p>Afterwards you can generate new content files of that kind with the following command</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new --kind <kind> <name>/_index.md</span></span></code></pre></div><h3 id="partials">Partials</h3>
|
||||
<p>To define how your archetypes are rendered, define corresponding partial files in your projects directory <code>layouts/partials/archetypes/<kind></code>.</p>
|
||||
<p>If you use an unknown archetype in your frontmatter, the <code>default</code> archetype will be used to generate the page.</p>
|
||||
<p>Related to each archetype, several <em>hook</em> partial files in the form of <code><hook>.html</code> can be given inside each archetype directory. If a partial for a specific hook is missing, no output is generated for this hook.</p>
|
||||
@ -299,12 +290,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../js/auto-complete.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687081537" defer></script>
|
||||
<script src="../../js/search.js?1687081537" defer></script>
|
||||
<script src="../../js/auto-complete.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687389784" defer></script>
|
||||
<script src="../../js/search.js?1687389784" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -320,7 +311,6 @@
|
||||
<li data-nav-id="/cont/pages/index.html" class=""><a class="padding" href="../../cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class="active"><a class="padding" href="../../cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class=""><a class="padding" href="../../cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class=""><a class="padding" href="../../cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class=""><a class="padding" href="../../cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class=""><a class="padding" href="../../cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -340,6 +330,7 @@
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="../../shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="../../shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="../../shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="../../shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="../../shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="../../shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -423,12 +414,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../js/buttons.js?1687081537"></script>
|
||||
<script async src="../../js/buttons.js?1687389784"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../js/clipboard.min.js?1687081537" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081537" defer></script>
|
||||
<script src="../../js/theme.js?1687081537" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389784" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389784" defer></script>
|
||||
<script src="../../js/theme.js?1687389784" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,21 +13,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/archetypes/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/cont/archetypes/index.html" rel="canonical" type="text/html" title="Archetypes :: Hugo Relearn Theme">
|
||||
<link href="../../cont/archetypes/index.xml" rel="alternate" type="application/rss+xml" title="Archetypes :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081538"></script>
|
||||
<script src="../../js/variant.js?1687081538"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389786"></script>
|
||||
<script src="../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -83,74 +83,65 @@
|
||||
<p>A <strong>Home</strong> page is the starting page of your project. It’s best to have only one page of this kind in your project.</p>
|
||||
<p>
|
||||
|
||||
<a href="#image-120e0f5ecd0ad1a92bdef8801b504a1e" class="lightbox-link">
|
||||
<a href="#image-54f914bc1bb8f6fd368a42cd6b3b844d" class="lightbox-link">
|
||||
<img src="../../cont/archetypes/pages-home.png?classes=shadow&width=60pc" alt="Home page" class="shadow" style="height: auto; width: 60pc;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-120e0f5ecd0ad1a92bdef8801b504a1e">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-54f914bc1bb8f6fd368a42cd6b3b844d">
|
||||
<img src="../../cont/archetypes/pages-home.png?classes=shadow&width=60pc" alt="Home page" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<p>To create a home page, run the following command</p>
|
||||
<div class="highlight"><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>This leads to a file with the following content</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
<div class="wrap-code highlight"><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>This leads to a file with the following content</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">archetype = "home"
|
||||
</span></span><span class="line"><span class="cl">title = "{{ replace .Name "-" " " | title }}"
|
||||
</span></span><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Lorem Ipsum.
|
||||
</span></span></code></pre></div><h3 id="archetypes-chapter">Chapter</h3>
|
||||
</span></span><span class="line"><span class="cl">Lorem Ipsum.</span></span></code></pre></div><h3 id="archetypes-chapter">Chapter</h3>
|
||||
<p>A <strong>Chapter</strong> displays a page meant to be used as introduction for a set of child pages. Commonly, it contains a simple title and a catch line to define content that can be found below it.</p>
|
||||
<p>
|
||||
|
||||
<a href="#image-c6664ca6ea7f168d2b92b9ec9a7845fa" class="lightbox-link">
|
||||
<a href="#image-b063792cca9d2ba065ecdc9b16151932" class="lightbox-link">
|
||||
<img src="../../cont/archetypes/pages-chapter.png?classes=shadow&width=60pc" alt="Chapter page" class="shadow" style="height: auto; width: 60pc;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-c6664ca6ea7f168d2b92b9ec9a7845fa">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-b063792cca9d2ba065ecdc9b16151932">
|
||||
<img src="../../cont/archetypes/pages-chapter.png?classes=shadow&width=60pc" alt="Chapter page" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<p>To create a chapter page, run the following command</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new --kind chapter <name>/_index.md
|
||||
</span></span></code></pre></div><p>This leads to a file with the following content</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new --kind chapter <name>/_index.md</span></span></code></pre></div><p>This leads to a file with the following content</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">archetype = "chapter"
|
||||
</span></span><span class="line"><span class="cl">title = "{{ replace .Name "-" " " | title }}"
|
||||
</span></span><span class="line"><span class="cl">weight = X
|
||||
</span></span><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Lorem Ipsum.
|
||||
</span></span></code></pre></div><p>Replace the <code>X</code> with a number. Because this number will be used to generate the subtitle of the chapter page, set the number to a consecutive value starting at 1 for each new chapter level.</p>
|
||||
</span></span><span class="line"><span class="cl">Lorem Ipsum.</span></span></code></pre></div><p>Replace the <code>X</code> with a number. Because this number will be used to generate the subtitle of the chapter page, set the number to a consecutive value starting at 1 for each new chapter level.</p>
|
||||
<h3 id="archetypes-default">Default</h3>
|
||||
<p>A <strong>Default</strong> page is any other content page. If you set an unknown archetype in your frontmatter, this archetype will be used to generate the page.</p>
|
||||
<p>
|
||||
|
||||
<a href="#image-b3ebb1419c42dd9a2f6f8438674defd1" class="lightbox-link">
|
||||
<a href="#image-ac8ad423db7050d917f36282e8d61fad" class="lightbox-link">
|
||||
<img src="../../cont/archetypes/pages-default.png?classes=shadow&width=60pc" alt="Default page" class="shadow" style="height: auto; width: 60pc;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-b3ebb1419c42dd9a2f6f8438674defd1">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-ac8ad423db7050d917f36282e8d61fad">
|
||||
<img src="../../cont/archetypes/pages-default.png?classes=shadow&width=60pc" alt="Default page" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<p>To create a default page, run either one of the following commands</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new <chapter>/<name>/_index.md
|
||||
</span></span></code></pre></div><p>or</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new <chapter>/<name>.md
|
||||
</span></span></code></pre></div><p>This leads to a file with the following content</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new <chapter>/<name>/_index.md</span></span></code></pre></div><p>or</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new <chapter>/<name>.md</span></span></code></pre></div><p>This leads to a file with the following content</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">title = "{{ replace .Name "-" " " | title }}"
|
||||
</span></span><span class="line"><span class="cl">weight = X
|
||||
</span></span><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Lorem Ipsum.
|
||||
</span></span></code></pre></div><p>Replace the <code>X</code> with a number or delete the whole <code>weight</code> parameter entirely.</p>
|
||||
</span></span><span class="line"><span class="cl">Lorem Ipsum.</span></span></code></pre></div><p>Replace the <code>X</code> with a number or delete the whole <code>weight</code> parameter entirely.</p>
|
||||
<h2 id="self-defined-archetypes">Self defined Archetypes</h2>
|
||||
<p>If you are in need of further archetypes you can define your own or even redefine existing ones.</p>
|
||||
<h3 id="template">Template</h3>
|
||||
<p>Define a template file in your project at <code>archetypes/<kind>.md</code> and make sure it has at least the frontmatter parameter for that archetype like</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">archetype = "<span class="p"><</span><span class="nt">kind</span><span class="p">></span>"
|
||||
</span></span><span class="line"><span class="cl">+++
|
||||
</span></span></code></pre></div><p>Afterwards you can generate new content files of that kind with the following command</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new --kind <kind> <name>/_index.md
|
||||
</span></span></code></pre></div><h3 id="partials">Partials</h3>
|
||||
</span></span><span class="line"><span class="cl">+++</span></span></code></pre></div><p>Afterwards you can generate new content files of that kind with the following command</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new --kind <kind> <name>/_index.md</span></span></code></pre></div><h3 id="partials">Partials</h3>
|
||||
<p>To define how your archetypes are rendered, define corresponding partial files in your projects directory <code>layouts/partials/archetypes/<kind></code>.</p>
|
||||
<p>If you use an unknown archetype in your frontmatter, the <code>default</code> archetype will be used to generate the page.</p>
|
||||
<p>Related to each archetype, several <em>hook</em> partial files in the form of <code><hook>.html</code> can be given inside each archetype directory. If a partial for a specific hook is missing, no output is generated for this hook.</p>
|
||||
@ -185,8 +176,8 @@
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../js/clipboard.min.js?1687081538" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081538" defer></script>
|
||||
<script src="../../js/theme.js?1687081538" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389786" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389786" defer></script>
|
||||
<script src="../../js/theme.js?1687389786" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/i18n/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../cont/i18n/index.xml" rel="alternate" type="application/rss+xml" title="Multilingual and i18n :: Hugo Relearn Theme">
|
||||
<link href="../../cont/i18n/index.print.html" rel="alternate" type="text/html" title="Multilingual and i18n :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081536"></script>
|
||||
<script src="../../js/variant.js?1687081536"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389782"></script>
|
||||
<script src="../../js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -117,10 +117,10 @@
|
||||
</ul>
|
||||
<p>
|
||||
|
||||
<a href="#image-3fb7aa3aaea19a6e4ea0a7bbd290719e" class="lightbox-link">
|
||||
<a href="#image-2b3cfbbc6aced9539dc65741da514ee5" class="lightbox-link">
|
||||
<img src="../../cont/i18n/i18n-menu.gif?classes=shadow&width=18.75rem" alt="I18n menu" class="shadow" style="height: auto; width: 18.75rem;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-3fb7aa3aaea19a6e4ea0a7bbd290719e">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-2b3cfbbc6aced9539dc65741da514ee5">
|
||||
<img src="../../cont/i18n/i18n-menu.gif?classes=shadow&width=18.75rem" alt="I18n menu" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<h2 id="basic-configuration">Basic configuration</h2>
|
||||
@ -134,7 +134,7 @@
|
||||
<p>Make sure your default language is defined as the first one in the <code>[languages]</code> array, as the theme needs to make assumptions on it</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="c"># English is the default language</span>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="c"># English is the default language</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">defaultContentLanguage</span> <span class="p">=</span> <span class="s2">"en"</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>
|
||||
@ -146,8 +146,7 @@
|
||||
</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="nx">title</span> <span class="p">=</span> <span class="s2">"Cap'n Hugo Relearrrn Theme"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">weight</span> <span class="p">=</span> <span class="mi">2</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">languageName</span> <span class="p">=</span> <span class="s2">"Arrr! Pirrrates"</span>
|
||||
</span></span></code></pre></div><p>Then, for each new page, append the <em>id</em> of the language to the file.</p>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">languageName</span> <span class="p">=</span> <span class="s2">"Arrr! Pirrrates"</span></span></span></code></pre></div><p>Then, for each new page, append the <em>id</em> of the language to the file.</p>
|
||||
<ul>
|
||||
<li>Single file <code>my-page.md</code> is split in two files:
|
||||
<ul>
|
||||
@ -196,9 +195,8 @@ You’ll see error reports in your browsers console log for each unsupported
|
||||
</div>
|
||||
<h3 id="search-with-mixed-language-support">Search with mixed language support</h3>
|
||||
<p>In case your page’s content contains text in multiple languages (e.g. you are writing a Russian documentation for your english API), you can add those languages to your <code>config.toml</code> to broaden search.</p>
|
||||
<div class="highlight"><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="s2">"en"</span> <span class="p">]</span>
|
||||
</span></span></code></pre></div><p>As this is an array, you can add multiple additional languages.</p>
|
||||
<div class="wrap-code highlight"><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="s2">"en"</span> <span class="p">]</span></span></span></code></pre></div><p>As this is an array, you can add multiple additional languages.</p>
|
||||
|
||||
<div class="box notices cstyle note">
|
||||
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Note</div>
|
||||
@ -213,10 +211,9 @@ You’ll see error reports in your browsers console log for each unsupported
|
||||
<h2 id="disable-language-switching">Disable language switching</h2>
|
||||
<p>Switching the language in the browser is a great feature, but for some reasons you may want to disable it.</p>
|
||||
<p>Just set <code>disableLanguageSwitchingButton=true</code> in your <code>config.toml</code></p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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"># When using multilingual website, disable the switch language button.</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">disableLanguageSwitchingButton</span> <span class="p">=</span> <span class="kc">true</span>
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">disableLanguageSwitchingButton</span> <span class="p">=</span> <span class="kc">true</span></span></span></code></pre></div>
|
||||
<footer class="footline">
|
||||
|
||||
</footer>
|
||||
@ -302,12 +299,12 @@ You’ll see error reports in your browsers console log for each unsupported
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../js/auto-complete.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687081537" defer></script>
|
||||
<script src="../../js/search.js?1687081537" defer></script>
|
||||
<script src="../../js/auto-complete.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687389784" defer></script>
|
||||
<script src="../../js/search.js?1687389784" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -323,7 +320,6 @@ You’ll see error reports in your browsers console log for each unsupported
|
||||
<li data-nav-id="/cont/pages/index.html" class=""><a class="padding" href="../../cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class=""><a class="padding" href="../../cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class=""><a class="padding" href="../../cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class=""><a class="padding" href="../../cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class="active"><a class="padding" href="../../cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class=""><a class="padding" href="../../cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -343,6 +339,7 @@ You’ll see error reports in your browsers console log for each unsupported
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="../../shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="../../shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="../../shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="../../shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="../../shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="../../shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -426,12 +423,12 @@ You’ll see error reports in your browsers console log for each unsupported
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../js/buttons.js?1687081537"></script>
|
||||
<script async src="../../js/buttons.js?1687389784"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../js/clipboard.min.js?1687081537" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081537" defer></script>
|
||||
<script src="../../js/theme.js?1687081537" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389784" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389784" defer></script>
|
||||
<script src="../../js/theme.js?1687389784" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,21 +13,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/i18n/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/cont/i18n/index.html" rel="canonical" type="text/html" title="Multilingual and i18n :: Hugo Relearn Theme">
|
||||
<link href="../../cont/i18n/index.xml" rel="alternate" type="application/rss+xml" title="Multilingual and i18n :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081538"></script>
|
||||
<script src="../../js/variant.js?1687081538"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389786"></script>
|
||||
<script src="../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -85,10 +85,10 @@
|
||||
</ul>
|
||||
<p>
|
||||
|
||||
<a href="#image-3fb7aa3aaea19a6e4ea0a7bbd290719e" class="lightbox-link">
|
||||
<a href="#image-2b3cfbbc6aced9539dc65741da514ee5" class="lightbox-link">
|
||||
<img src="../../cont/i18n/i18n-menu.gif?classes=shadow&width=18.75rem" alt="I18n menu" class="shadow" style="height: auto; width: 18.75rem;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-3fb7aa3aaea19a6e4ea0a7bbd290719e">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-2b3cfbbc6aced9539dc65741da514ee5">
|
||||
<img src="../../cont/i18n/i18n-menu.gif?classes=shadow&width=18.75rem" alt="I18n menu" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<h2 id="basic-configuration">Basic configuration</h2>
|
||||
@ -102,7 +102,7 @@
|
||||
<p>Make sure your default language is defined as the first one in the <code>[languages]</code> array, as the theme needs to make assumptions on it</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="c"># English is the default language</span>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="c"># English is the default language</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">defaultContentLanguage</span> <span class="p">=</span> <span class="s2">"en"</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>
|
||||
@ -114,8 +114,7 @@
|
||||
</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="nx">title</span> <span class="p">=</span> <span class="s2">"Cap'n Hugo Relearrrn Theme"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">weight</span> <span class="p">=</span> <span class="mi">2</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">languageName</span> <span class="p">=</span> <span class="s2">"Arrr! Pirrrates"</span>
|
||||
</span></span></code></pre></div><p>Then, for each new page, append the <em>id</em> of the language to the file.</p>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">languageName</span> <span class="p">=</span> <span class="s2">"Arrr! Pirrrates"</span></span></span></code></pre></div><p>Then, for each new page, append the <em>id</em> of the language to the file.</p>
|
||||
<ul>
|
||||
<li>Single file <code>my-page.md</code> is split in two files:
|
||||
<ul>
|
||||
@ -164,9 +163,8 @@ You’ll see error reports in your browsers console log for each unsupported
|
||||
</div>
|
||||
<h3 id="search-with-mixed-language-support">Search with mixed language support</h3>
|
||||
<p>In case your page’s content contains text in multiple languages (e.g. you are writing a Russian documentation for your english API), you can add those languages to your <code>config.toml</code> to broaden search.</p>
|
||||
<div class="highlight"><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="s2">"en"</span> <span class="p">]</span>
|
||||
</span></span></code></pre></div><p>As this is an array, you can add multiple additional languages.</p>
|
||||
<div class="wrap-code highlight"><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="s2">"en"</span> <span class="p">]</span></span></span></code></pre></div><p>As this is an array, you can add multiple additional languages.</p>
|
||||
|
||||
<div class="box notices cstyle note">
|
||||
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Note</div>
|
||||
@ -181,10 +179,9 @@ You’ll see error reports in your browsers console log for each unsupported
|
||||
<h2 id="disable-language-switching">Disable language switching</h2>
|
||||
<p>Switching the language in the browser is a great feature, but for some reasons you may want to disable it.</p>
|
||||
<p>Just set <code>disableLanguageSwitchingButton=true</code> in your <code>config.toml</code></p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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"># When using multilingual website, disable the switch language button.</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">disableLanguageSwitchingButton</span> <span class="p">=</span> <span class="kc">true</span>
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">disableLanguageSwitchingButton</span> <span class="p">=</span> <span class="kc">true</span></span></span></code></pre></div>
|
||||
<footer class="footline">
|
||||
|
||||
</footer>
|
||||
@ -193,8 +190,8 @@ You’ll see error reports in your browsers console log for each unsupported
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../js/clipboard.min.js?1687081538" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081538" defer></script>
|
||||
<script src="../../js/theme.js?1687081538" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389786" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389786" defer></script>
|
||||
<script src="../../js/theme.js?1687389786" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../cont/index.xml" rel="alternate" type="application/rss+xml" title="Content :: Hugo Relearn Theme">
|
||||
<link href="../cont/index.print.html" rel="alternate" type="text/html" title="Content :: Hugo Relearn Theme">
|
||||
<link href="../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="../css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="../css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="../css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="../css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="../css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="../css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="../js/url.js?1687081536"></script>
|
||||
<script src="../js/variant.js?1687081536"></script>
|
||||
<link href="../css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="../css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="../css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="../css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="../css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="../css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="../css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="../js/url.js?1687389782"></script>
|
||||
<script src="../js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -178,12 +178,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../js/auto-complete.js?1687081537" defer></script>
|
||||
<script src="../js/lunr/lunr.min.js?1687081537" defer></script>
|
||||
<script src="../js/lunr/lunr.stemmer.support.min.js?1687081537" defer></script>
|
||||
<script src="../js/lunr/lunr.multi.min.js?1687081537" defer></script>
|
||||
<script src="../js/lunr/lunr.en.min.js?1687081537" defer></script>
|
||||
<script src="../js/search.js?1687081537" defer></script>
|
||||
<script src="../js/auto-complete.js?1687389784" defer></script>
|
||||
<script src="../js/lunr/lunr.min.js?1687389784" defer></script>
|
||||
<script src="../js/lunr/lunr.stemmer.support.min.js?1687389784" defer></script>
|
||||
<script src="../js/lunr/lunr.multi.min.js?1687389784" defer></script>
|
||||
<script src="../js/lunr/lunr.en.min.js?1687389784" defer></script>
|
||||
<script src="../js/search.js?1687389784" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -199,7 +199,6 @@
|
||||
<li data-nav-id="/cont/pages/index.html" class=""><a class="padding" href="../cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class=""><a class="padding" href="../cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class=""><a class="padding" href="../cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class=""><a class="padding" href="../cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class=""><a class="padding" href="../cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class=""><a class="padding" href="../cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -219,6 +218,7 @@
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="../shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="../shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="../shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="../shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="../shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="../shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -302,12 +302,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../js/buttons.js?1687081537"></script>
|
||||
<script async src="../js/buttons.js?1687389784"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../js/clipboard.min.js?1687081537" defer></script>
|
||||
<script src="../js/perfect-scrollbar.min.js?1687081537" defer></script>
|
||||
<script src="../js/theme.js?1687081537" defer></script>
|
||||
<script src="../js/clipboard.min.js?1687389784" defer></script>
|
||||
<script src="../js/perfect-scrollbar.min.js?1687389784" defer></script>
|
||||
<script src="../js/theme.js?1687389784" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -32,16 +32,6 @@ The Relearn theme defines some few archetypes of pages but you are free to defin
|
||||
Markdown is a better way to write HTML, without all the complexities and ugliness that usually accompanies it.
|
||||
Some of the key benefits are:
|
||||
Markdown is simple to learn, with minimal extra characters so it&rsquo;s also quicker to write content. Less chance of errors when writing in Markdown.</description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Code highlighting</title>
|
||||
<link>https://McShelby.github.io/hugo-theme-relearn/cont/syntaxhighlight/index.html</link>
|
||||
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||||
<guid>https://McShelby.github.io/hugo-theme-relearn/cont/syntaxhighlight/index.html</guid>
|
||||
<description>The Relearn theme uses Hugo&rsquo;s built-in syntax highlighting for code.
|
||||
Markdown syntax Wrap the code block with three backticks and the name of the language. Highlight will try to auto detect the language if one is not provided.
|
||||
```json [ { &#34;title&#34;: &#34;apples&#34;, &#34;count&#34;: [12000, 20000], &#34;description&#34;: {&#34;text&#34;: &#34;...&#34;, &#34;sensitive&#34;: false} }, { &#34;title&#34;: &#34;oranges&#34;, &#34;count&#34;: [17500, null], &#34;description&#34;: {&#34;text&#34;: &#34;...&#34;, &#34;sensitive&#34;: false} } ] ``` Renders to:
|
||||
[ { &#34;title&#34;: &#34;apples&#34;, &#34;count&#34;: [12000, 20000], &#34;description&#34;: {&#34;text&#34;: &#34;.</description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Menu extra shortcuts</title>
|
||||
@ -68,7 +58,7 @@ Available languages: Arabic, Simplified Chinese, Traditional Chinese, Czech, Dut
|
||||
<guid>https://McShelby.github.io/hugo-theme-relearn/cont/taxonomy/index.html</guid>
|
||||
<description>The Relearn theme supports Hugo&rsquo;s default taxonomies tag and category out of the box.
|
||||
Configuration Just add tags and/or categories to any page. They can be given as a single string or an array of strings.
|
||||
+++ categories = [&#34;taxonomy&#34;, &#34;content&#34;] tags = &#34;tutorial&#34; title = &#34;Taxonomy&#34; +++ Behavior The tags are displayed at the top of the page in alphabetical order.
|
||||
+++ categories = [&#34;taxonomy&#34;, &#34;content&#34;] tags = &#34;tutorial&#34; title = &#34;Taxonomy&#34; +++Behavior The tags are displayed at the top of the page in alphabetical order.
|
||||
The categories are displayed at the bottom of the page in alphabetical order in the default implementation of the theme but can be customized by providing your own content-footer.</description>
|
||||
</item>
|
||||
</channel>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/markdown/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../cont/markdown/index.xml" rel="alternate" type="application/rss+xml" title="Markdown syntax :: Hugo Relearn Theme">
|
||||
<link href="../../cont/markdown/index.print.html" rel="alternate" type="text/html" title="Markdown syntax :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081536"></script>
|
||||
<script src="../../js/variant.js?1687081536"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389782"></script>
|
||||
<script src="../../js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -57,7 +57,7 @@
|
||||
<nav id="topbar" class="highlightable">
|
||||
<div>
|
||||
<div class="navigation">
|
||||
<a class="nav nav-next topbar-link" href="../../cont/syntaxhighlight/index.html" title="Code highlighting (🡒)"><i class="fas fa-chevron-right fa-fw"></i></a>
|
||||
<a class="nav nav-next topbar-link" href="../../cont/menushortcuts/index.html" title="Menu extra shortcuts (🡒)"><i class="fas fa-chevron-right fa-fw"></i></a>
|
||||
</div>
|
||||
<div class="navigation">
|
||||
<a class="nav nav-prev topbar-link" href="../../cont/archetypes/index.html" title="Archetypes (🡐)"><i class="fas fa-chevron-left fa-fw"></i></a>
|
||||
@ -180,10 +180,9 @@
|
||||
<h2 id="paragraphs">Paragraphs</h2>
|
||||
<p>In Markdown your content usually spans the whole available document width. This is called a block. Blocks are always separated by whitespace to their adjacent blocks in the resulting document.</p>
|
||||
<p>Any text not starting with a special sign is written as normal, plain text paragraph block and must be separated to its adjacent blocks by empty lines.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus.
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Et legere ocurreret pri, animal tacimates complectitur ad cum. Cu eum inermis inimicus efficiendi. Labore officiis his ex, soluta officiis concludaturque ei qui, vide sensibus vim ad.
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">Et legere ocurreret pri, animal tacimates complectitur ad cum. Cu eum inermis inimicus efficiendi. Labore officiis his ex, soluta officiis concludaturque ei qui, vide sensibus vim ad.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -195,7 +194,7 @@
|
||||
<h2 id="headings">Headings</h2>
|
||||
<p>A good idea is to structure your content using headings and subheadings. HTML-headings from <code>h1</code> through <code>h6</code> are constructed with a <code>#</code> for each level.</p>
|
||||
<p>In Hugo you usually don’t use <code>h1</code> as this is generated by your theme and you should only have one such element in a document.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="gh"># h1 Heading
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="gh"># h1 Heading
|
||||
</span></span></span><span class="line"><span class="cl"><span class="gh"></span>
|
||||
</span></span><span class="line"><span class="cl"><span class="gu">## h2 Heading
|
||||
</span></span></span><span class="line"><span class="cl"><span class="gu"></span>
|
||||
@ -205,8 +204,7 @@
|
||||
</span></span></span><span class="line"><span class="cl"><span class="gu"></span>
|
||||
</span></span><span class="line"><span class="cl"><span class="gu">##### h5 Heading
|
||||
</span></span></span><span class="line"><span class="cl"><span class="gu"></span>
|
||||
</span></span><span class="line"><span class="cl"><span class="gu">###### h6 Heading
|
||||
</span></span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">###### h6 Heading</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -221,12 +219,11 @@
|
||||
</div>
|
||||
<h2 id="horizontal-rules">Horizontal Rules</h2>
|
||||
<p>To further structure your content you can add horizontal rules. They create a “thematic break” between paragraph blocks. In Markdown, you can create it with three consecutive dashes <code>---</code>.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus.
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">---
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Et legere ocurreret pri, animal tacimates complectitur ad cum. Cu eum inermis inimicus efficiendi. Labore officiis his ex, soluta officiis concludaturque ei qui, vide sensibus vim ad.
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">Et legere ocurreret pri, animal tacimates complectitur ad cum. Cu eum inermis inimicus efficiendi. Labore officiis his ex, soluta officiis concludaturque ei qui, vide sensibus vim ad.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -239,8 +236,7 @@
|
||||
<h2 id="text-markers">Text Markers</h2>
|
||||
<h3 id="bold">Bold</h3>
|
||||
<p>You can show importance of a snippet of text with a heavier font-weight by enclosing it with two asterisks <code>**</code>.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">I am rendered with <span class="gs">**bold text**</span>
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">I am rendered with **bold text**</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -250,8 +246,7 @@
|
||||
</div>
|
||||
<h3 id="italics">Italics</h3>
|
||||
<p>You can emphasize a snippet of text with italics by enclosing it with underscores <code>_</code>.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">I am rendered with <span class="ge">_italicized text_</span>
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">I am rendered with _italicized text_</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -261,8 +256,7 @@
|
||||
</div>
|
||||
<h3 id="strikethrough">Strikethrough</h3>
|
||||
<p>In GFM (GitHub Flavored Markdown) you can do strikethroughs by enclosing text with two tildes <code>~~</code>.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">~~Strike through this text~~
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">~~Strike through this text~~</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -272,14 +266,13 @@
|
||||
</div>
|
||||
<h2 id="text-substitution">Text substitution</h2>
|
||||
<p>This Markdown dialect supports an extension to combine multiple punctuation characters to single typographic entities. This will only be applied to text outside of code blocks or inline code.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Double quotes <span class="sb">`"`</span> and single quotes <span class="sb">`'`</span> of enclosed text are replaced by <span class="ge">**</span>"double curly quotes"** and <span class="ge">**</span>'single curly quotes'**.
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Double quotes <span class="sb">`"`</span> and single quotes <span class="sb">`'`</span> of enclosed text are replaced by <span class="ge">**</span>"double curly quotes"** and <span class="ge">**</span>'single curly quotes'**.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Double dashes <span class="sb">`--`</span> and triple dashes <span class="sb">`---`</span> are replaced by en-dash <span class="ge">**</span>--** and em-dash <span class="ge">**</span>---** entities.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Double arrows pointing left <span class="sb">`<<`</span> or right <span class="sb">`>>`</span> are replaced by arrow <span class="ge">**</span><span class="err"><<</span>** and <span class="ge">**</span>>>** entities.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Three consecutive dots <span class="sb">`...`</span> are replaced by an ellipsis <span class="ge">**</span>...** entity.
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">Three consecutive dots <span class="sb">`...`</span> are replaced by an ellipsis <span class="ge">**</span>...** entity.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -295,15 +288,14 @@
|
||||
<p>You can write a list of items in which the order of the items does not explicitly matter.</p>
|
||||
<p>It is possible to nest lists by indenting an item for the next sublevel.</p>
|
||||
<p>You may use any of <code>-</code>, <code>*</code> or <code>+</code> to denote bullets for each list item but should not switch between those symbols inside one whole list.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">-</span> Lorem ipsum dolor sit amet
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">-</span> Lorem ipsum dolor sit amet
|
||||
</span></span><span class="line"><span class="cl"><span class="k">-</span> Consectetur adipiscing elit
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">-</span> Vestibulum laoreet porttitor sem
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">-</span> Ac tristique libero volutpat at
|
||||
</span></span><span class="line"><span class="cl"><span class="k">-</span> Nulla volutpat aliquam velit
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">-</span> Phasellus iaculis neque
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">-</span> Purus sodales ultricies
|
||||
</span></span><span class="line"><span class="cl"><span class="k">-</span> Faucibus porta lacus fringilla vel
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">- Faucibus porta lacus fringilla vel</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -330,15 +322,14 @@
|
||||
<p>You can create a list of items in which the order of items does explicitly matter.</p>
|
||||
<p>It is possible to nest lists by indenting an item for the next sublevel.</p>
|
||||
<p>Markdown will automatically number each of your items consecutively. This means, the order number you are providing is irrelevant.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">1.</span> Lorem ipsum dolor sit amet
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">1.</span> Lorem ipsum dolor sit amet
|
||||
</span></span><span class="line"><span class="cl"><span class="k">3.</span> Consectetur adipiscing elit
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">1.</span> Integer molestie lorem at massa
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">7.</span> Facilisis in pretium nisl aliquet
|
||||
</span></span><span class="line"><span class="cl"><span class="k">99.</span> Nulla volutpat aliquam velit
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">1.</span> Faucibus porta lacus fringilla vel
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">1.</span> Aenean sit amet erat nunc
|
||||
</span></span><span class="line"><span class="cl"><span class="k">17.</span> Eget porttitor lorem
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">17. Eget porttitor lorem</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -363,12 +354,11 @@
|
||||
</div>
|
||||
<h3 id="tasks">Tasks</h3>
|
||||
<p>In GFM (GitHub Flavored Markdown) you can add task lists resulting in checked or unchecked non-clickable items</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">- [x]</span> Basic Test
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">- [x]</span> Basic Test
|
||||
</span></span><span class="line"><span class="cl"><span class="k">- [ ]</span> More Tests
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">- [x]</span> View
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">- [x]</span> Hear
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">- [ ]</span> Smell
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"> - [ ] Smell</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -389,7 +379,7 @@
|
||||
<p>This Markdown dialect supports an extension to add definition lists. Definition lists are made of terms and definitions of these terms, much like in a dictionary.</p>
|
||||
<p>A definition list in Markdown Extra is made of a single-line term followed by a colon and the definition for that term. You can also associate more than one term to a definition.</p>
|
||||
<p>If you add empty lines around the definition terms, additional vertical space will be generated. Also multiple paragraphs are possible</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Apple
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Apple
|
||||
</span></span><span class="line"><span class="cl">: Pomaceous fruit of plants of the genus Malus in the family Rosaceae.
|
||||
</span></span><span class="line"><span class="cl">: An American computer company.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
@ -399,8 +389,7 @@
|
||||
</span></span><span class="line"><span class="cl"> You can make juice out of it.
|
||||
</span></span><span class="line"><span class="cl">: A telecommunication company.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl"> You can't make juice out of it.
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"> You can't make juice out of it.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -422,8 +411,7 @@
|
||||
<h2 id="code">Code</h2>
|
||||
<h3 id="inline-code">Inline Code</h3>
|
||||
<p>Inline snippets of code can be wrapped with backticks <code>`</code>.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">In this example, <span class="sb">`<div></div>`</span> is marked as code.
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">In this example, <span class="sb">`<div></div>`</span> is marked as code.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -433,13 +421,12 @@
|
||||
</div>
|
||||
<h3 id="indented-code-block">Indented Code Block</h3>
|
||||
<p>A simple code block can be generated by indenting several lines of code by at least two spaces.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Be impressed by my advanced code:
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Be impressed by my advanced code:
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl"> // Some comments
|
||||
</span></span><span class="line"><span class="cl"> line 1 of code
|
||||
</span></span><span class="line"><span class="cl"> line 2 of code
|
||||
</span></span><span class="line"><span class="cl"> line 3 of code
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"> line 3 of code</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -455,8 +442,8 @@ line 3 of code
|
||||
<h3 id="fenced-code-block">Fenced Code Block</h3>
|
||||
<p>If you want to gain more control of your code block you can enclose your code by at least three backticks <code>```</code> a so called fence.</p>
|
||||
<p>In GFM (GitHub Flavored Markdown) you can also add a language specifier directly after the opening fence, <code>```js</code>, and syntax highlighting will automatically be applied according to the selected language in the rendered HTML.</p>
|
||||
<p>See <a href="../../cont/syntaxhighlight/">Code Highlighting</a> for additional documentation.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">```js
|
||||
<p>See <a href="../../shortcodes/highlight/">Code Highlighting</a> for additional documentation.</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">```js
|
||||
</span></span><span class="line"><span class="cl">grunt.initConfig({
|
||||
</span></span><span class="line"><span class="cl"> assemble: {
|
||||
</span></span><span class="line"><span class="cl"> options: {
|
||||
@ -475,13 +462,12 @@ line 3 of code
|
||||
</span></span><span class="line"><span class="cl"> }
|
||||
</span></span><span class="line"><span class="cl"> }
|
||||
</span></span><span class="line"><span class="cl">};
|
||||
</span></span><span class="line"><span class="cl">```
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">```</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-js" data-lang="js"><span class="line"><span class="cl"><span class="nx">grunt</span><span class="p">.</span><span class="nx">initConfig</span><span class="p">({</span>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-js" data-lang="js"><span class="line"><span class="cl"><span class="nx">grunt</span><span class="p">.</span><span class="nx">initConfig</span><span class="p">({</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">assemble</span><span class="o">:</span> <span class="p">{</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">options</span><span class="o">:</span> <span class="p">{</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">assets</span><span class="o">:</span> <span class="s1">'docs/assets'</span><span class="p">,</span>
|
||||
@ -498,17 +484,15 @@ line 3 of code
|
||||
</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>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">};</span></span></span></code></pre></div></div>
|
||||
</div>
|
||||
<h2 id="tables">Tables</h2>
|
||||
<p>In GFM (GitHub Flavored Markdown) you can create tables by adding pipes as dividers between each cell, and by adding a line of dashes (also separated by bars) beneath the header. Note that the pipes do not need to be vertically aligned.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">| Option | Description |
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">| Option | Description |
|
||||
</span></span><span class="line"><span class="cl">| ------ | ----------- |
|
||||
</span></span><span class="line"><span class="cl">| data | path to data files to supply the data that will be passed into templates. |
|
||||
</span></span><span class="line"><span class="cl">| engine | engine to be used for processing templates. Handlebars is the default. |
|
||||
</span></span><span class="line"><span class="cl">| ext | extension to be used for dest files. |
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">| ext | extension to be used for dest files. |</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -539,12 +523,11 @@ line 3 of code
|
||||
</div>
|
||||
<h3 id="aligned-columns">Aligned Columns</h3>
|
||||
<p>Adding a colon on the left and/or right side of the dashes below any heading will align the text for that column accordingly.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">| Option | Number | Description |
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">| Option | Number | Description |
|
||||
</span></span><span class="line"><span class="cl">| ------:|:------:|:----------- |
|
||||
</span></span><span class="line"><span class="cl">| data | 1 | path to data files to supply the data that will be passed into templates. |
|
||||
</span></span><span class="line"><span class="cl">| engine | 2 | engine to be used for processing templates. Handlebars is the default. |
|
||||
</span></span><span class="line"><span class="cl">| ext | 3 | extension to be used for dest files. |
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">| ext | 3 | extension to be used for dest files. |</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -580,12 +563,11 @@ line 3 of code
|
||||
<h2 id="blockquotes">Blockquotes</h2>
|
||||
<p>For quoting blocks of content from another source within your document add <code>></code> before any text you want to quote.</p>
|
||||
<p>Blockquotes can also be nested.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">> </span><span class="ge">Donec massa lacus, ultricies a ullamcorper in, fermentum sed augue. Nunc augue augue, aliquam non hendrerit ac, commodo vel nisi.
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">> </span><span class="ge">Donec massa lacus, ultricies a ullamcorper in, fermentum sed augue. Nunc augue augue, aliquam non hendrerit ac, commodo vel nisi.
|
||||
</span></span></span><span class="line"><span class="cl"><span class="ge"></span><span class="k">>
|
||||
</span></span></span><span class="line"><span class="cl"><span class="k"></span><span class="ge">> > Sed adipiscing elit vitae augue consectetur a gravida nunc vehicula. Donec auctor odio non est accumsan facilisis. Aliquam id turpis in dolor tincidunt mollis ac eu diam.
|
||||
</span></span></span><span class="line"><span class="cl"><span class="ge"></span><span class="k">>
|
||||
</span></span></span><span class="line"><span class="cl"><span class="k"></span><span class="ge">> Mauris sit amet ligula egestas, feugiat metus tincidunt, luctus libero. Donec congue finibus tempor. Vestibulum aliquet sollicitudin erat, ut aliquet purus posuere luctus.
|
||||
</span></span></span></code></pre></div>
|
||||
</span></span></span><span class="line"><span class="cl"><span class="ge"></span>>
|
||||
</span></span><span class="line"><span class="cl">> Mauris sit amet ligula egestas, feugiat metus tincidunt, luctus libero. Donec congue finibus tempor. Vestibulum aliquet sollicitudin erat, ut aliquet purus posuere luctus.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -602,8 +584,7 @@ line 3 of code
|
||||
<h2 id="links">Links</h2>
|
||||
<h3 id="autolink">Autolink</h3>
|
||||
<p>In GFM (GitHub Flavored Markdown) absolute URLs will automatically be converted into a link.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">This is a link to https://example.com.
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">This is a link to https://example.com.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -613,8 +594,7 @@ line 3 of code
|
||||
</div>
|
||||
<h3 id="basic-link">Basic Link</h3>
|
||||
<p>You can explicitly define links in case you want to use non-absolute URLs or want to give different text.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">[<span class="nt">Assemble</span>](<span class="na">http://assemble.io</span>)
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">[<span class="nt">Assemble</span>](<span class="na">http://assemble.io</span>)</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -624,8 +604,7 @@ line 3 of code
|
||||
</div>
|
||||
<h3 id="link-with-tooltip">Link with Tooltip</h3>
|
||||
<p>For even further information, you can add an additional text, displayed in a tooltip on hovering over the link.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">[<span class="nt">Upstage</span>](<span class="na">https://github.com/upstage/ "Visit Upstage!"</span>)
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">[<span class="nt">Upstage</span>](<span class="na">https://github.com/upstage/ "Visit Upstage!"</span>)</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -635,10 +614,9 @@ line 3 of code
|
||||
</div>
|
||||
<h3 id="link-references">Link References</h3>
|
||||
<p>Links can be simplyfied for recurring reuse by using a reference ID to later define the URL location. This simplyfies writing if you want to use a link more than once in a document.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">[Example][somelinkID]
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">[Example][somelinkID]
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">[somelinkID]: https://example.com "Go to example domain"
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">[somelinkID]: https://example.com "Go to example domain"</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -650,7 +628,7 @@ line 3 of code
|
||||
<p>Footnotes work mostly like reference-style links. A footnote is made of two things, a marker in the text that will become a superscript number and a footnote definition that will be placed in a list of footnotes.</p>
|
||||
<p>Usually the list of footnotes will be shown at the end of your document. If we use a footnote in a notice box it will instead be listed at the end of its box.</p>
|
||||
<p>Footnotes can contain block elements, which means that you can put multiple paragraphs, lists, blockquotes and so on in a footnote. It works the same as for list items, just indent the following paragraphs by four spaces in the footnote definition.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">That's some text with a footnote[^1]
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">That's some text with a footnote[^1]
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">[^1]: And that's the footnote.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
@ -659,8 +637,7 @@ line 3 of code
|
||||
</span></span><span class="line"><span class="cl">[^someid]:
|
||||
</span></span><span class="line"><span class="cl"> Anything of interest goes here.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl"> Blue light glows blue.
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"> Blue light glows blue.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -684,56 +661,53 @@ line 3 of code
|
||||
<h2 id="images">Images</h2>
|
||||
<h3 id="basic-images">Basic Images</h3>
|
||||
<p>Images have a similar syntax to links but include a preceding exclamation mark.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-a88a6992d78640493d99d7329be55031" class="lightbox-link">
|
||||
<a href="#image-156de809eb6274404f38fe812e867bf8" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/spocktocat.png?width=20vw&classes=bg-white" alt="Spock" class="bg-white" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-a88a6992d78640493d99d7329be55031">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-156de809eb6274404f38fe812e867bf8">
|
||||
<img src="https://octodex.github.com/images/spocktocat.png?width=20vw&classes=bg-white" alt="Spock" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h3 id="image-with-tooltip">Image with Tooltip</h3>
|
||||
<p>Like links, images can also be given a tooltip.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-3b1ee8e936744812b397d4d6e80001c2" class="lightbox-link">
|
||||
<a href="#image-22d74778b6fc855ee4060933518a404d" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/jean-luc-picat.jpg?width=20vw" alt="Picard" title="Jean Luc Picard" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-3b1ee8e936744812b397d4d6e80001c2">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-22d74778b6fc855ee4060933518a404d">
|
||||
<img src="https://octodex.github.com/images/jean-luc-picat.jpg?width=20vw" alt="Picard" title="Jean Luc Picard" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h3 id="image-references">Image References</h3>
|
||||
<p>Images can also be linked by reference ID to later define the URL location. This simplyfies writing if you want to use an image more than once in a document.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">![La Forge][laforge]
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">![La Forge][laforge]
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">[laforge]: https://octodex.github.com/images/trekkie.jpg "Geordi La Forge"
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">[laforge]: https://octodex.github.com/images/trekkie.jpg "Geordi La Forge"</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-89639b038255fe44873bf43d5a12475a" class="lightbox-link">
|
||||
<a href="#image-e90ffbe6522b89680f5a42355c47ddf6" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/trekkie.jpg?width=20vw" alt="La Forge" title="Geordi La Forge" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-89639b038255fe44873bf43d5a12475a">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-e90ffbe6522b89680f5a42355c47ddf6">
|
||||
<img src="https://octodex.github.com/images/trekkie.jpg?width=20vw" alt="La Forge" title="Geordi La Forge" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
@ -742,40 +716,37 @@ line 3 of code
|
||||
<p>This theme allows additional non-standard formatting by setting query parameter at the end of the image URL.</p>
|
||||
<h4 id="resizing">Resizing</h4>
|
||||
<p>Add query parameter <code>width</code> and/or <code>height</code> to the link image to resize the image. Values are CSS values (default is <code>auto</code>).</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-ddbc86cc1aa9c61c8005755e03d53ae7" class="lightbox-link">
|
||||
<a href="#image-54f597774a43d3b8861a19ecb82ce6a9" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/minion.png?width=20vw&classes=bg-white" alt="Minion" class="bg-white" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-ddbc86cc1aa9c61c8005755e03d53ae7">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-54f597774a43d3b8861a19ecb82ce6a9">
|
||||
<img src="https://octodex.github.com/images/minion.png?width=20vw&classes=bg-white" alt="Minion" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-77b2cbcd49ef200ba0a295205a48c33b" class="lightbox-link">
|
||||
<a href="#image-02ab7b36fa0836f56fd5a618e5e93001" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/minion.png?height=50px&classes=bg-white" alt="Minion" class="bg-white" style="height: 50px; width: auto;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-77b2cbcd49ef200ba0a295205a48c33b">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-02ab7b36fa0836f56fd5a618e5e93001">
|
||||
<img src="https://octodex.github.com/images/minion.png?height=50px&classes=bg-white" alt="Minion" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -783,10 +754,10 @@ line 3 of code
|
||||
<p>
|
||||
|
||||
|
||||
<a href="#image-7cb3d46076762acd86d7484816ab7762" class="lightbox-link">
|
||||
<a href="#image-7a60156ab25daf93303cd305de347548" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/minion.png?height=50px&width=40vw&classes=bg-white" alt="Minion" class="bg-white" style="height: 50px; width: 40vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-7cb3d46076762acd86d7484816ab7762">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-7a60156ab25daf93303cd305de347548">
|
||||
<img src="https://octodex.github.com/images/minion.png?height=50px&width=40vw&classes=bg-white" alt="Minion" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
@ -794,138 +765,131 @@ line 3 of code
|
||||
<h4 id="css-classes">CSS Classes</h4>
|
||||
<p>Add a query parameter <code>classes</code> to the link image to add CSS classes. Add some of the predefined values or even define your own in your CSS.</p>
|
||||
<h5 id="shadow">Shadow</h5>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-9a41d1d92f4377c115b6a2588b8e2ec6" class="lightbox-link">
|
||||
<a href="#image-2f6bde4af774a4eaabc3dcbbb6b57db4" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/spidertocat.png?width=20vw&classes=shadow,bg-white" alt="Spidertocat" class="shadow bg-white" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-9a41d1d92f4377c115b6a2588b8e2ec6">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-2f6bde4af774a4eaabc3dcbbb6b57db4">
|
||||
<img src="https://octodex.github.com/images/spidertocat.png?width=20vw&classes=shadow,bg-white" alt="Spidertocat" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h5 id="border">Border</h5>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-52488c8ed1ec71057e0558a10cf54aaf" class="lightbox-link">
|
||||
<a href="#image-fa8d2876ca9fee981956deedd43003e7" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/droctocat.png?width=20vw&classes=border" alt="DrOctocat" class="border" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-52488c8ed1ec71057e0558a10cf54aaf">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-fa8d2876ca9fee981956deedd43003e7">
|
||||
<img src="https://octodex.github.com/images/droctocat.png?width=20vw&classes=border" alt="DrOctocat" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h5 id="left">Left</h5>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-7b9d1d8a338a23e547e7f1a80fdbee5f" class="lightbox-link">
|
||||
<a href="#image-783fceb221371c5aaec29886a0e3a604" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/okal-eltocat.jpg?width=20vw&classes=left" alt="Supertocat" class="left" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-7b9d1d8a338a23e547e7f1a80fdbee5f">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-783fceb221371c5aaec29886a0e3a604">
|
||||
<img src="https://octodex.github.com/images/okal-eltocat.jpg?width=20vw&classes=left" alt="Supertocat" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h5 id="right">Right</h5>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-d35799b45b54575032629507b338b949" class="lightbox-link">
|
||||
<a href="#image-40789d5d98911589401846376ca1f6a2" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/riddlocat.jpg?width=20vw&classes=right" alt="Riddlocat" class="right" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-d35799b45b54575032629507b338b949">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-40789d5d98911589401846376ca1f6a2">
|
||||
<img src="https://octodex.github.com/images/riddlocat.jpg?width=20vw&classes=right" alt="Riddlocat" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h5 id="inline">Inline</h5>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-abcb552595bb033185b562ee3baae32a" class="lightbox-link">
|
||||
<a href="#image-0ebdfde349001795785284e18bb1c8b8" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/spidertocat.png?width=10vw&classes=inline,bg-white" alt="Spidertocat" class="inline bg-white" style="height: auto; width: 10vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-abcb552595bb033185b562ee3baae32a">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-0ebdfde349001795785284e18bb1c8b8">
|
||||
<img src="https://octodex.github.com/images/spidertocat.png?width=10vw&classes=inline,bg-white" alt="Spidertocat" class="lightbox-image" loading="lazy">
|
||||
</a>
|
||||
|
||||
|
||||
<a href="#image-a691fa3fe0d6775e834e293292f08a58" class="lightbox-link">
|
||||
<a href="#image-89d4eeab7011ecf11fd50f9b755f554c" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/droctocat.png?width=10vw&classes=inline" alt="DrOctocat" class="inline" style="height: auto; width: 10vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-a691fa3fe0d6775e834e293292f08a58">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-89d4eeab7011ecf11fd50f9b755f554c">
|
||||
<img src="https://octodex.github.com/images/droctocat.png?width=10vw&classes=inline" alt="DrOctocat" class="lightbox-image" loading="lazy">
|
||||
</a>
|
||||
|
||||
|
||||
<a href="#image-23fb0f5dcabb69c2e36aded1282f6c2c" class="lightbox-link">
|
||||
<a href="#image-336930b979b4cc18c1022675baf00d85" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/okal-eltocat.jpg?width=10vw&classes=inline" alt="Supertocat" class="inline" style="height: auto; width: 10vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-23fb0f5dcabb69c2e36aded1282f6c2c">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-336930b979b4cc18c1022675baf00d85">
|
||||
<img src="https://octodex.github.com/images/okal-eltocat.jpg?width=10vw&classes=inline" alt="Supertocat" class="lightbox-image" loading="lazy">
|
||||
</a>
|
||||
|
||||
|
||||
<a href="#image-f3e2f6e5850be9b402ed78547aa14615" class="lightbox-link">
|
||||
<a href="#image-f9a02c991a8b50891234369bca8c237b" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/riddlocat.jpg?width=10vw&classes=inline" alt="Riddlocat" class="inline" style="height: auto; width: 10vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-f3e2f6e5850be9b402ed78547aa14615">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-f9a02c991a8b50891234369bca8c237b">
|
||||
<img src="https://octodex.github.com/images/riddlocat.jpg?width=10vw&classes=inline" alt="Riddlocat" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h5 id="combination">Combination</h5>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-8b0532a39041de30954b358f3d0b191a" class="lightbox-link">
|
||||
<a href="#image-6746a46423e818416c7c3b1d81826f25" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/xtocat.jpg?width=20vw&classes=shadow,border,left" alt="X-tocat" class="shadow border left" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-8b0532a39041de30954b358f3d0b191a">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-6746a46423e818416c7c3b1d81826f25">
|
||||
<img src="https://octodex.github.com/images/xtocat.jpg?width=20vw&classes=shadow,border,left" alt="X-tocat" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h4 id="lightbox">Lightbox</h4>
|
||||
<p>Add the query parameter <code>lightbox=false</code> to the image link to disable the lightbox.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -1021,12 +985,12 @@ line 3 of code
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../js/auto-complete.js?1687081536" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687081536" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687081536" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687081536" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687081536" defer></script>
|
||||
<script src="../../js/search.js?1687081536" defer></script>
|
||||
<script src="../../js/auto-complete.js?1687389782" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687389782" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687389782" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687389782" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687389782" defer></script>
|
||||
<script src="../../js/search.js?1687389782" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -1042,7 +1006,6 @@ line 3 of code
|
||||
<li data-nav-id="/cont/pages/index.html" class=""><a class="padding" href="../../cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class=""><a class="padding" href="../../cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class="active"><a class="padding" href="../../cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class=""><a class="padding" href="../../cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class=""><a class="padding" href="../../cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class=""><a class="padding" href="../../cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -1062,6 +1025,7 @@ line 3 of code
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="../../shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="../../shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="../../shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="../../shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="../../shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="../../shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -1145,12 +1109,12 @@ line 3 of code
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../js/buttons.js?1687081536"></script>
|
||||
<script async src="../../js/buttons.js?1687389782"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../js/clipboard.min.js?1687081536" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081536" defer></script>
|
||||
<script src="../../js/theme.js?1687081536" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389782" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389782" defer></script>
|
||||
<script src="../../js/theme.js?1687389782" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,21 +13,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/markdown/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/cont/markdown/index.html" rel="canonical" type="text/html" title="Markdown syntax :: Hugo Relearn Theme">
|
||||
<link href="../../cont/markdown/index.xml" rel="alternate" type="application/rss+xml" title="Markdown syntax :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081538"></script>
|
||||
<script src="../../js/variant.js?1687081538"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389786"></script>
|
||||
<script src="../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -107,10 +107,9 @@
|
||||
<h2 id="paragraphs">Paragraphs</h2>
|
||||
<p>In Markdown your content usually spans the whole available document width. This is called a block. Blocks are always separated by whitespace to their adjacent blocks in the resulting document.</p>
|
||||
<p>Any text not starting with a special sign is written as normal, plain text paragraph block and must be separated to its adjacent blocks by empty lines.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus.
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Et legere ocurreret pri, animal tacimates complectitur ad cum. Cu eum inermis inimicus efficiendi. Labore officiis his ex, soluta officiis concludaturque ei qui, vide sensibus vim ad.
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">Et legere ocurreret pri, animal tacimates complectitur ad cum. Cu eum inermis inimicus efficiendi. Labore officiis his ex, soluta officiis concludaturque ei qui, vide sensibus vim ad.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -122,7 +121,7 @@
|
||||
<h2 id="headings">Headings</h2>
|
||||
<p>A good idea is to structure your content using headings and subheadings. HTML-headings from <code>h1</code> through <code>h6</code> are constructed with a <code>#</code> for each level.</p>
|
||||
<p>In Hugo you usually don’t use <code>h1</code> as this is generated by your theme and you should only have one such element in a document.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="gh"># h1 Heading
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="gh"># h1 Heading
|
||||
</span></span></span><span class="line"><span class="cl"><span class="gh"></span>
|
||||
</span></span><span class="line"><span class="cl"><span class="gu">## h2 Heading
|
||||
</span></span></span><span class="line"><span class="cl"><span class="gu"></span>
|
||||
@ -132,8 +131,7 @@
|
||||
</span></span></span><span class="line"><span class="cl"><span class="gu"></span>
|
||||
</span></span><span class="line"><span class="cl"><span class="gu">##### h5 Heading
|
||||
</span></span></span><span class="line"><span class="cl"><span class="gu"></span>
|
||||
</span></span><span class="line"><span class="cl"><span class="gu">###### h6 Heading
|
||||
</span></span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">###### h6 Heading</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -148,12 +146,11 @@
|
||||
</div>
|
||||
<h2 id="horizontal-rules">Horizontal Rules</h2>
|
||||
<p>To further structure your content you can add horizontal rules. They create a “thematic break” between paragraph blocks. In Markdown, you can create it with three consecutive dashes <code>---</code>.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus.
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">---
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Et legere ocurreret pri, animal tacimates complectitur ad cum. Cu eum inermis inimicus efficiendi. Labore officiis his ex, soluta officiis concludaturque ei qui, vide sensibus vim ad.
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">Et legere ocurreret pri, animal tacimates complectitur ad cum. Cu eum inermis inimicus efficiendi. Labore officiis his ex, soluta officiis concludaturque ei qui, vide sensibus vim ad.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -166,8 +163,7 @@
|
||||
<h2 id="text-markers">Text Markers</h2>
|
||||
<h3 id="bold">Bold</h3>
|
||||
<p>You can show importance of a snippet of text with a heavier font-weight by enclosing it with two asterisks <code>**</code>.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">I am rendered with <span class="gs">**bold text**</span>
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">I am rendered with **bold text**</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -177,8 +173,7 @@
|
||||
</div>
|
||||
<h3 id="italics">Italics</h3>
|
||||
<p>You can emphasize a snippet of text with italics by enclosing it with underscores <code>_</code>.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">I am rendered with <span class="ge">_italicized text_</span>
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">I am rendered with _italicized text_</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -188,8 +183,7 @@
|
||||
</div>
|
||||
<h3 id="strikethrough">Strikethrough</h3>
|
||||
<p>In GFM (GitHub Flavored Markdown) you can do strikethroughs by enclosing text with two tildes <code>~~</code>.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">~~Strike through this text~~
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">~~Strike through this text~~</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -199,14 +193,13 @@
|
||||
</div>
|
||||
<h2 id="text-substitution">Text substitution</h2>
|
||||
<p>This Markdown dialect supports an extension to combine multiple punctuation characters to single typographic entities. This will only be applied to text outside of code blocks or inline code.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Double quotes <span class="sb">`"`</span> and single quotes <span class="sb">`'`</span> of enclosed text are replaced by <span class="ge">**</span>"double curly quotes"** and <span class="ge">**</span>'single curly quotes'**.
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Double quotes <span class="sb">`"`</span> and single quotes <span class="sb">`'`</span> of enclosed text are replaced by <span class="ge">**</span>"double curly quotes"** and <span class="ge">**</span>'single curly quotes'**.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Double dashes <span class="sb">`--`</span> and triple dashes <span class="sb">`---`</span> are replaced by en-dash <span class="ge">**</span>--** and em-dash <span class="ge">**</span>---** entities.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Double arrows pointing left <span class="sb">`<<`</span> or right <span class="sb">`>>`</span> are replaced by arrow <span class="ge">**</span><span class="err"><<</span>** and <span class="ge">**</span>>>** entities.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Three consecutive dots <span class="sb">`...`</span> are replaced by an ellipsis <span class="ge">**</span>...** entity.
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">Three consecutive dots <span class="sb">`...`</span> are replaced by an ellipsis <span class="ge">**</span>...** entity.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -222,15 +215,14 @@
|
||||
<p>You can write a list of items in which the order of the items does not explicitly matter.</p>
|
||||
<p>It is possible to nest lists by indenting an item for the next sublevel.</p>
|
||||
<p>You may use any of <code>-</code>, <code>*</code> or <code>+</code> to denote bullets for each list item but should not switch between those symbols inside one whole list.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">-</span> Lorem ipsum dolor sit amet
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">-</span> Lorem ipsum dolor sit amet
|
||||
</span></span><span class="line"><span class="cl"><span class="k">-</span> Consectetur adipiscing elit
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">-</span> Vestibulum laoreet porttitor sem
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">-</span> Ac tristique libero volutpat at
|
||||
</span></span><span class="line"><span class="cl"><span class="k">-</span> Nulla volutpat aliquam velit
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">-</span> Phasellus iaculis neque
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">-</span> Purus sodales ultricies
|
||||
</span></span><span class="line"><span class="cl"><span class="k">-</span> Faucibus porta lacus fringilla vel
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">- Faucibus porta lacus fringilla vel</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -257,15 +249,14 @@
|
||||
<p>You can create a list of items in which the order of items does explicitly matter.</p>
|
||||
<p>It is possible to nest lists by indenting an item for the next sublevel.</p>
|
||||
<p>Markdown will automatically number each of your items consecutively. This means, the order number you are providing is irrelevant.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">1.</span> Lorem ipsum dolor sit amet
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">1.</span> Lorem ipsum dolor sit amet
|
||||
</span></span><span class="line"><span class="cl"><span class="k">3.</span> Consectetur adipiscing elit
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">1.</span> Integer molestie lorem at massa
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">7.</span> Facilisis in pretium nisl aliquet
|
||||
</span></span><span class="line"><span class="cl"><span class="k">99.</span> Nulla volutpat aliquam velit
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">1.</span> Faucibus porta lacus fringilla vel
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">1.</span> Aenean sit amet erat nunc
|
||||
</span></span><span class="line"><span class="cl"><span class="k">17.</span> Eget porttitor lorem
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">17. Eget porttitor lorem</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -290,12 +281,11 @@
|
||||
</div>
|
||||
<h3 id="tasks">Tasks</h3>
|
||||
<p>In GFM (GitHub Flavored Markdown) you can add task lists resulting in checked or unchecked non-clickable items</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">- [x]</span> Basic Test
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">- [x]</span> Basic Test
|
||||
</span></span><span class="line"><span class="cl"><span class="k">- [ ]</span> More Tests
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">- [x]</span> View
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">- [x]</span> Hear
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">- [ ]</span> Smell
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"> - [ ] Smell</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -316,7 +306,7 @@
|
||||
<p>This Markdown dialect supports an extension to add definition lists. Definition lists are made of terms and definitions of these terms, much like in a dictionary.</p>
|
||||
<p>A definition list in Markdown Extra is made of a single-line term followed by a colon and the definition for that term. You can also associate more than one term to a definition.</p>
|
||||
<p>If you add empty lines around the definition terms, additional vertical space will be generated. Also multiple paragraphs are possible</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Apple
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Apple
|
||||
</span></span><span class="line"><span class="cl">: Pomaceous fruit of plants of the genus Malus in the family Rosaceae.
|
||||
</span></span><span class="line"><span class="cl">: An American computer company.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
@ -326,8 +316,7 @@
|
||||
</span></span><span class="line"><span class="cl"> You can make juice out of it.
|
||||
</span></span><span class="line"><span class="cl">: A telecommunication company.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl"> You can't make juice out of it.
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"> You can't make juice out of it.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -349,8 +338,7 @@
|
||||
<h2 id="code">Code</h2>
|
||||
<h3 id="inline-code">Inline Code</h3>
|
||||
<p>Inline snippets of code can be wrapped with backticks <code>`</code>.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">In this example, <span class="sb">`<div></div>`</span> is marked as code.
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">In this example, <span class="sb">`<div></div>`</span> is marked as code.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -360,13 +348,12 @@
|
||||
</div>
|
||||
<h3 id="indented-code-block">Indented Code Block</h3>
|
||||
<p>A simple code block can be generated by indenting several lines of code by at least two spaces.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Be impressed by my advanced code:
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Be impressed by my advanced code:
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl"> // Some comments
|
||||
</span></span><span class="line"><span class="cl"> line 1 of code
|
||||
</span></span><span class="line"><span class="cl"> line 2 of code
|
||||
</span></span><span class="line"><span class="cl"> line 3 of code
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"> line 3 of code</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -382,8 +369,8 @@ line 3 of code
|
||||
<h3 id="fenced-code-block">Fenced Code Block</h3>
|
||||
<p>If you want to gain more control of your code block you can enclose your code by at least three backticks <code>```</code> a so called fence.</p>
|
||||
<p>In GFM (GitHub Flavored Markdown) you can also add a language specifier directly after the opening fence, <code>```js</code>, and syntax highlighting will automatically be applied according to the selected language in the rendered HTML.</p>
|
||||
<p>See <a href="../../cont/syntaxhighlight/">Code Highlighting</a> for additional documentation.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">```js
|
||||
<p>See <a href="../../shortcodes/highlight/">Code Highlighting</a> for additional documentation.</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">```js
|
||||
</span></span><span class="line"><span class="cl">grunt.initConfig({
|
||||
</span></span><span class="line"><span class="cl"> assemble: {
|
||||
</span></span><span class="line"><span class="cl"> options: {
|
||||
@ -402,13 +389,12 @@ line 3 of code
|
||||
</span></span><span class="line"><span class="cl"> }
|
||||
</span></span><span class="line"><span class="cl"> }
|
||||
</span></span><span class="line"><span class="cl">};
|
||||
</span></span><span class="line"><span class="cl">```
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">```</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-js" data-lang="js"><span class="line"><span class="cl"><span class="nx">grunt</span><span class="p">.</span><span class="nx">initConfig</span><span class="p">({</span>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-js" data-lang="js"><span class="line"><span class="cl"><span class="nx">grunt</span><span class="p">.</span><span class="nx">initConfig</span><span class="p">({</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">assemble</span><span class="o">:</span> <span class="p">{</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">options</span><span class="o">:</span> <span class="p">{</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">assets</span><span class="o">:</span> <span class="s1">'docs/assets'</span><span class="p">,</span>
|
||||
@ -425,17 +411,15 @@ line 3 of code
|
||||
</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>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">};</span></span></span></code></pre></div></div>
|
||||
</div>
|
||||
<h2 id="tables">Tables</h2>
|
||||
<p>In GFM (GitHub Flavored Markdown) you can create tables by adding pipes as dividers between each cell, and by adding a line of dashes (also separated by bars) beneath the header. Note that the pipes do not need to be vertically aligned.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">| Option | Description |
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">| Option | Description |
|
||||
</span></span><span class="line"><span class="cl">| ------ | ----------- |
|
||||
</span></span><span class="line"><span class="cl">| data | path to data files to supply the data that will be passed into templates. |
|
||||
</span></span><span class="line"><span class="cl">| engine | engine to be used for processing templates. Handlebars is the default. |
|
||||
</span></span><span class="line"><span class="cl">| ext | extension to be used for dest files. |
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">| ext | extension to be used for dest files. |</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -466,12 +450,11 @@ line 3 of code
|
||||
</div>
|
||||
<h3 id="aligned-columns">Aligned Columns</h3>
|
||||
<p>Adding a colon on the left and/or right side of the dashes below any heading will align the text for that column accordingly.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">| Option | Number | Description |
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">| Option | Number | Description |
|
||||
</span></span><span class="line"><span class="cl">| ------:|:------:|:----------- |
|
||||
</span></span><span class="line"><span class="cl">| data | 1 | path to data files to supply the data that will be passed into templates. |
|
||||
</span></span><span class="line"><span class="cl">| engine | 2 | engine to be used for processing templates. Handlebars is the default. |
|
||||
</span></span><span class="line"><span class="cl">| ext | 3 | extension to be used for dest files. |
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">| ext | 3 | extension to be used for dest files. |</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -507,12 +490,11 @@ line 3 of code
|
||||
<h2 id="blockquotes">Blockquotes</h2>
|
||||
<p>For quoting blocks of content from another source within your document add <code>></code> before any text you want to quote.</p>
|
||||
<p>Blockquotes can also be nested.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">> </span><span class="ge">Donec massa lacus, ultricies a ullamcorper in, fermentum sed augue. Nunc augue augue, aliquam non hendrerit ac, commodo vel nisi.
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">> </span><span class="ge">Donec massa lacus, ultricies a ullamcorper in, fermentum sed augue. Nunc augue augue, aliquam non hendrerit ac, commodo vel nisi.
|
||||
</span></span></span><span class="line"><span class="cl"><span class="ge"></span><span class="k">>
|
||||
</span></span></span><span class="line"><span class="cl"><span class="k"></span><span class="ge">> > Sed adipiscing elit vitae augue consectetur a gravida nunc vehicula. Donec auctor odio non est accumsan facilisis. Aliquam id turpis in dolor tincidunt mollis ac eu diam.
|
||||
</span></span></span><span class="line"><span class="cl"><span class="ge"></span><span class="k">>
|
||||
</span></span></span><span class="line"><span class="cl"><span class="k"></span><span class="ge">> Mauris sit amet ligula egestas, feugiat metus tincidunt, luctus libero. Donec congue finibus tempor. Vestibulum aliquet sollicitudin erat, ut aliquet purus posuere luctus.
|
||||
</span></span></span></code></pre></div>
|
||||
</span></span></span><span class="line"><span class="cl"><span class="ge"></span>>
|
||||
</span></span><span class="line"><span class="cl">> Mauris sit amet ligula egestas, feugiat metus tincidunt, luctus libero. Donec congue finibus tempor. Vestibulum aliquet sollicitudin erat, ut aliquet purus posuere luctus.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -529,8 +511,7 @@ line 3 of code
|
||||
<h2 id="links">Links</h2>
|
||||
<h3 id="autolink">Autolink</h3>
|
||||
<p>In GFM (GitHub Flavored Markdown) absolute URLs will automatically be converted into a link.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">This is a link to https://example.com.
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">This is a link to https://example.com.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -540,8 +521,7 @@ line 3 of code
|
||||
</div>
|
||||
<h3 id="basic-link">Basic Link</h3>
|
||||
<p>You can explicitly define links in case you want to use non-absolute URLs or want to give different text.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">[<span class="nt">Assemble</span>](<span class="na">http://assemble.io</span>)
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">[<span class="nt">Assemble</span>](<span class="na">http://assemble.io</span>)</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -551,8 +531,7 @@ line 3 of code
|
||||
</div>
|
||||
<h3 id="link-with-tooltip">Link with Tooltip</h3>
|
||||
<p>For even further information, you can add an additional text, displayed in a tooltip on hovering over the link.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">[<span class="nt">Upstage</span>](<span class="na">https://github.com/upstage/ "Visit Upstage!"</span>)
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">[<span class="nt">Upstage</span>](<span class="na">https://github.com/upstage/ "Visit Upstage!"</span>)</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -562,10 +541,9 @@ line 3 of code
|
||||
</div>
|
||||
<h3 id="link-references">Link References</h3>
|
||||
<p>Links can be simplyfied for recurring reuse by using a reference ID to later define the URL location. This simplyfies writing if you want to use a link more than once in a document.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">[Example][somelinkID]
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">[Example][somelinkID]
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">[somelinkID]: https://example.com "Go to example domain"
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">[somelinkID]: https://example.com "Go to example domain"</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -577,7 +555,7 @@ line 3 of code
|
||||
<p>Footnotes work mostly like reference-style links. A footnote is made of two things, a marker in the text that will become a superscript number and a footnote definition that will be placed in a list of footnotes.</p>
|
||||
<p>Usually the list of footnotes will be shown at the end of your document. If we use a footnote in a notice box it will instead be listed at the end of its box.</p>
|
||||
<p>Footnotes can contain block elements, which means that you can put multiple paragraphs, lists, blockquotes and so on in a footnote. It works the same as for list items, just indent the following paragraphs by four spaces in the footnote definition.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">That's some text with a footnote[^1]
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">That's some text with a footnote[^1]
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">[^1]: And that's the footnote.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
@ -586,8 +564,7 @@ line 3 of code
|
||||
</span></span><span class="line"><span class="cl">[^someid]:
|
||||
</span></span><span class="line"><span class="cl"> Anything of interest goes here.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl"> Blue light glows blue.
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"> Blue light glows blue.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -611,56 +588,53 @@ line 3 of code
|
||||
<h2 id="images">Images</h2>
|
||||
<h3 id="basic-images">Basic Images</h3>
|
||||
<p>Images have a similar syntax to links but include a preceding exclamation mark.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-a88a6992d78640493d99d7329be55031" class="lightbox-link">
|
||||
<a href="#image-156de809eb6274404f38fe812e867bf8" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/spocktocat.png?width=20vw&classes=bg-white" alt="Spock" class="bg-white" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-a88a6992d78640493d99d7329be55031">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-156de809eb6274404f38fe812e867bf8">
|
||||
<img src="https://octodex.github.com/images/spocktocat.png?width=20vw&classes=bg-white" alt="Spock" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h3 id="image-with-tooltip">Image with Tooltip</h3>
|
||||
<p>Like links, images can also be given a tooltip.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-3b1ee8e936744812b397d4d6e80001c2" class="lightbox-link">
|
||||
<a href="#image-22d74778b6fc855ee4060933518a404d" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/jean-luc-picat.jpg?width=20vw" alt="Picard" title="Jean Luc Picard" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-3b1ee8e936744812b397d4d6e80001c2">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-22d74778b6fc855ee4060933518a404d">
|
||||
<img src="https://octodex.github.com/images/jean-luc-picat.jpg?width=20vw" alt="Picard" title="Jean Luc Picard" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h3 id="image-references">Image References</h3>
|
||||
<p>Images can also be linked by reference ID to later define the URL location. This simplyfies writing if you want to use an image more than once in a document.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">![La Forge][laforge]
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">![La Forge][laforge]
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">[laforge]: https://octodex.github.com/images/trekkie.jpg "Geordi La Forge"
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">[laforge]: https://octodex.github.com/images/trekkie.jpg "Geordi La Forge"</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-89639b038255fe44873bf43d5a12475a" class="lightbox-link">
|
||||
<a href="#image-e90ffbe6522b89680f5a42355c47ddf6" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/trekkie.jpg?width=20vw" alt="La Forge" title="Geordi La Forge" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-89639b038255fe44873bf43d5a12475a">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-e90ffbe6522b89680f5a42355c47ddf6">
|
||||
<img src="https://octodex.github.com/images/trekkie.jpg?width=20vw" alt="La Forge" title="Geordi La Forge" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
@ -669,40 +643,37 @@ line 3 of code
|
||||
<p>This theme allows additional non-standard formatting by setting query parameter at the end of the image URL.</p>
|
||||
<h4 id="resizing">Resizing</h4>
|
||||
<p>Add query parameter <code>width</code> and/or <code>height</code> to the link image to resize the image. Values are CSS values (default is <code>auto</code>).</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-ddbc86cc1aa9c61c8005755e03d53ae7" class="lightbox-link">
|
||||
<a href="#image-54f597774a43d3b8861a19ecb82ce6a9" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/minion.png?width=20vw&classes=bg-white" alt="Minion" class="bg-white" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-ddbc86cc1aa9c61c8005755e03d53ae7">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-54f597774a43d3b8861a19ecb82ce6a9">
|
||||
<img src="https://octodex.github.com/images/minion.png?width=20vw&classes=bg-white" alt="Minion" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-77b2cbcd49ef200ba0a295205a48c33b" class="lightbox-link">
|
||||
<a href="#image-02ab7b36fa0836f56fd5a618e5e93001" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/minion.png?height=50px&classes=bg-white" alt="Minion" class="bg-white" style="height: 50px; width: auto;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-77b2cbcd49ef200ba0a295205a48c33b">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-02ab7b36fa0836f56fd5a618e5e93001">
|
||||
<img src="https://octodex.github.com/images/minion.png?height=50px&classes=bg-white" alt="Minion" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -710,10 +681,10 @@ line 3 of code
|
||||
<p>
|
||||
|
||||
|
||||
<a href="#image-7cb3d46076762acd86d7484816ab7762" class="lightbox-link">
|
||||
<a href="#image-7a60156ab25daf93303cd305de347548" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/minion.png?height=50px&width=40vw&classes=bg-white" alt="Minion" class="bg-white" style="height: 50px; width: 40vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-7cb3d46076762acd86d7484816ab7762">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-7a60156ab25daf93303cd305de347548">
|
||||
<img src="https://octodex.github.com/images/minion.png?height=50px&width=40vw&classes=bg-white" alt="Minion" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
@ -721,138 +692,131 @@ line 3 of code
|
||||
<h4 id="css-classes">CSS Classes</h4>
|
||||
<p>Add a query parameter <code>classes</code> to the link image to add CSS classes. Add some of the predefined values or even define your own in your CSS.</p>
|
||||
<h5 id="shadow">Shadow</h5>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-9a41d1d92f4377c115b6a2588b8e2ec6" class="lightbox-link">
|
||||
<a href="#image-2f6bde4af774a4eaabc3dcbbb6b57db4" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/spidertocat.png?width=20vw&classes=shadow,bg-white" alt="Spidertocat" class="shadow bg-white" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-9a41d1d92f4377c115b6a2588b8e2ec6">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-2f6bde4af774a4eaabc3dcbbb6b57db4">
|
||||
<img src="https://octodex.github.com/images/spidertocat.png?width=20vw&classes=shadow,bg-white" alt="Spidertocat" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h5 id="border">Border</h5>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-52488c8ed1ec71057e0558a10cf54aaf" class="lightbox-link">
|
||||
<a href="#image-fa8d2876ca9fee981956deedd43003e7" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/droctocat.png?width=20vw&classes=border" alt="DrOctocat" class="border" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-52488c8ed1ec71057e0558a10cf54aaf">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-fa8d2876ca9fee981956deedd43003e7">
|
||||
<img src="https://octodex.github.com/images/droctocat.png?width=20vw&classes=border" alt="DrOctocat" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h5 id="left">Left</h5>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-7b9d1d8a338a23e547e7f1a80fdbee5f" class="lightbox-link">
|
||||
<a href="#image-783fceb221371c5aaec29886a0e3a604" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/okal-eltocat.jpg?width=20vw&classes=left" alt="Supertocat" class="left" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-7b9d1d8a338a23e547e7f1a80fdbee5f">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-783fceb221371c5aaec29886a0e3a604">
|
||||
<img src="https://octodex.github.com/images/okal-eltocat.jpg?width=20vw&classes=left" alt="Supertocat" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h5 id="right">Right</h5>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-d35799b45b54575032629507b338b949" class="lightbox-link">
|
||||
<a href="#image-40789d5d98911589401846376ca1f6a2" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/riddlocat.jpg?width=20vw&classes=right" alt="Riddlocat" class="right" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-d35799b45b54575032629507b338b949">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-40789d5d98911589401846376ca1f6a2">
|
||||
<img src="https://octodex.github.com/images/riddlocat.jpg?width=20vw&classes=right" alt="Riddlocat" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h5 id="inline">Inline</h5>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-abcb552595bb033185b562ee3baae32a" class="lightbox-link">
|
||||
<a href="#image-0ebdfde349001795785284e18bb1c8b8" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/spidertocat.png?width=10vw&classes=inline,bg-white" alt="Spidertocat" class="inline bg-white" style="height: auto; width: 10vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-abcb552595bb033185b562ee3baae32a">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-0ebdfde349001795785284e18bb1c8b8">
|
||||
<img src="https://octodex.github.com/images/spidertocat.png?width=10vw&classes=inline,bg-white" alt="Spidertocat" class="lightbox-image" loading="lazy">
|
||||
</a>
|
||||
|
||||
|
||||
<a href="#image-a691fa3fe0d6775e834e293292f08a58" class="lightbox-link">
|
||||
<a href="#image-89d4eeab7011ecf11fd50f9b755f554c" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/droctocat.png?width=10vw&classes=inline" alt="DrOctocat" class="inline" style="height: auto; width: 10vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-a691fa3fe0d6775e834e293292f08a58">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-89d4eeab7011ecf11fd50f9b755f554c">
|
||||
<img src="https://octodex.github.com/images/droctocat.png?width=10vw&classes=inline" alt="DrOctocat" class="lightbox-image" loading="lazy">
|
||||
</a>
|
||||
|
||||
|
||||
<a href="#image-23fb0f5dcabb69c2e36aded1282f6c2c" class="lightbox-link">
|
||||
<a href="#image-336930b979b4cc18c1022675baf00d85" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/okal-eltocat.jpg?width=10vw&classes=inline" alt="Supertocat" class="inline" style="height: auto; width: 10vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-23fb0f5dcabb69c2e36aded1282f6c2c">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-336930b979b4cc18c1022675baf00d85">
|
||||
<img src="https://octodex.github.com/images/okal-eltocat.jpg?width=10vw&classes=inline" alt="Supertocat" class="lightbox-image" loading="lazy">
|
||||
</a>
|
||||
|
||||
|
||||
<a href="#image-f3e2f6e5850be9b402ed78547aa14615" class="lightbox-link">
|
||||
<a href="#image-f9a02c991a8b50891234369bca8c237b" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/riddlocat.jpg?width=10vw&classes=inline" alt="Riddlocat" class="inline" style="height: auto; width: 10vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-f3e2f6e5850be9b402ed78547aa14615">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-f9a02c991a8b50891234369bca8c237b">
|
||||
<img src="https://octodex.github.com/images/riddlocat.jpg?width=10vw&classes=inline" alt="Riddlocat" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h5 id="combination">Combination</h5>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-8b0532a39041de30954b358f3d0b191a" class="lightbox-link">
|
||||
<a href="#image-6746a46423e818416c7c3b1d81826f25" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/xtocat.jpg?width=20vw&classes=shadow,border,left" alt="X-tocat" class="shadow border left" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-8b0532a39041de30954b358f3d0b191a">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-6746a46423e818416c7c3b1d81826f25">
|
||||
<img src="https://octodex.github.com/images/xtocat.jpg?width=20vw&classes=shadow,border,left" alt="X-tocat" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h4 id="lightbox">Lightbox</h4>
|
||||
<p>Add the query parameter <code>lightbox=false</code> to the image link to disable the lightbox.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -871,8 +835,8 @@ line 3 of code
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../js/clipboard.min.js?1687081538" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081538" defer></script>
|
||||
<script src="../../js/theme.js?1687081538" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389786" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389786" defer></script>
|
||||
<script src="../../js/theme.js?1687389786" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/menushortcuts/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../cont/menushortcuts/index.xml" rel="alternate" type="application/rss+xml" title="Menu extra shortcuts :: Hugo Relearn Theme">
|
||||
<link href="../../cont/menushortcuts/index.print.html" rel="alternate" type="text/html" title="Menu extra shortcuts :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081536"></script>
|
||||
<script src="../../js/variant.js?1687081536"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389782"></script>
|
||||
<script src="../../js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -60,7 +60,7 @@
|
||||
<a class="nav nav-next topbar-link" href="../../cont/i18n/index.html" title="Multilingual and i18n (🡒)"><i class="fas fa-chevron-right fa-fw"></i></a>
|
||||
</div>
|
||||
<div class="navigation">
|
||||
<a class="nav nav-prev topbar-link" href="../../cont/syntaxhighlight/index.html" title="Code highlighting (🡐)"><i class="fas fa-chevron-left fa-fw"></i></a>
|
||||
<a class="nav nav-prev topbar-link" href="../../cont/markdown/index.html" title="Markdown syntax (🡐)"><i class="fas fa-chevron-left fa-fw"></i></a>
|
||||
</div>
|
||||
<div id="top-print-link">
|
||||
<a class="print-link topbar-link" title='Print whole chapter (CTRL+ALT+p)' href="../../cont/menushortcuts/index.print.html">
|
||||
@ -107,7 +107,7 @@
|
||||
<h2 id="basic-configuration">Basic configuration</h2>
|
||||
<p>Edit the website configuration <code>config.toml</code> and add a <code>[[menu.shortcuts]]</code> entry for each link your want to add.</p>
|
||||
<p>Example from the current website:</p>
|
||||
<div class="highlight"><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">menu</span><span class="p">.</span><span class="nx">shortcuts</span><span class="p">]]</span>
|
||||
<div class="wrap-code highlight"><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">menu</span><span class="p">.</span><span class="nx">shortcuts</span><span class="p">]]</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">name</span> <span class="p">=</span> <span class="s2">"<i class='fab fa-fw fa-github'></i> GitHub repo"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">identifier</span> <span class="p">=</span> <span class="s2">"ds"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">url</span> <span class="p">=</span> <span class="s2">"https://github.com/McShelby/hugo-theme-relearn"</span>
|
||||
@ -132,17 +132,15 @@
|
||||
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">menu</span><span class="p">.</span><span class="nx">shortcuts</span><span class="p">]]</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">name</span> <span class="p">=</span> <span class="s2">"<i class='fas fa-fw fa-tags'></i> Tags"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">url</span> <span class="p">=</span> <span class="s2">"tags/"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">weight</span> <span class="p">=</span> <span class="mi">40</span>
|
||||
</span></span></code></pre></div><p>By default, shortcuts are preceded by a title. This title can be disabled by setting <code>disableShortcutsTitle=true</code>.
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">weight</span> <span class="p">=</span> <span class="mi">40</span></span></span></code></pre></div><p>By default, shortcuts are preceded by a title. This title can be disabled by setting <code>disableShortcutsTitle=true</code>.
|
||||
However, if you want to keep the title but change its value, it can be overridden by changing your local i18n translation string configuration.</p>
|
||||
<p>For example, in your local <code>i18n/en.toml</code> file, add the following content</p>
|
||||
<div class="highlight"><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">Shortcuts-Title</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">other</span> <span class="p">=</span> <span class="s2">"<Your value>"</span>
|
||||
</span></span></code></pre></div><p>Read more about <a href="https://gohugo.io/extras/menus/" target="_blank">hugo menu</a> and <a href="https://gohugo.io/content-management/multilingual/#translation-of-strings" target="_blank">hugo i18n translation strings</a></p>
|
||||
<div class="wrap-code highlight"><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">Shortcuts-Title</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">other</span> <span class="p">=</span> <span class="s2">"<Your value>"</span></span></span></code></pre></div><p>Read more about <a href="https://gohugo.io/extras/menus/" target="_blank">hugo menu</a> and <a href="https://gohugo.io/content-management/multilingual/#translation-of-strings" target="_blank">hugo i18n translation strings</a></p>
|
||||
<h2 id="i18n">Configuration for Multilingual mode</h2>
|
||||
<p>When using a multilingual website, you can set different menus for each language. In the <code>config.toml</code> file, prefix your menu configuration by <code>Languages.<language-id></code>.</p>
|
||||
<p>Example from the current website:</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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="nx">title</span> <span class="p">=</span> <span class="s2">"Hugo Relearn Theme"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">weight</span> <span class="p">=</span> <span class="mi">1</span>
|
||||
@ -209,25 +207,22 @@ However, if you want to keep the title but change its value, it can be overridde
|
||||
</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">menu</span><span class="p">.</span><span class="nx">shortcuts</span><span class="p">]]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">name</span> <span class="p">=</span> <span class="s2">"<i class='fas fa-fw fa-tags'></i> Arrr! Tags"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">pageRef</span> <span class="p">=</span> <span class="s2">"tags/"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">weight</span> <span class="p">=</span> <span class="mi">40</span>
|
||||
</span></span></code></pre></div><p>Read more about <a href="https://gohugo.io/extras/menus/" target="_blank">hugo menu</a> and <a href="https://gohugo.io/content-management/multilingual/#menus" target="_blank">hugo multilingual menus</a></p>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">weight</span> <span class="p">=</span> <span class="mi">40</span></span></span></code></pre></div><p>Read more about <a href="https://gohugo.io/extras/menus/" target="_blank">hugo menu</a> and <a href="https://gohugo.io/content-management/multilingual/#menus" target="_blank">hugo multilingual menus</a></p>
|
||||
<h2 id="shortcuts-to-pages-inside-of-your-project">Shortcuts to pages inside of your project</h2>
|
||||
<p>If you have shortcuts to pages inside of your project and you don’t want them to show up in page menu section, you have two choices:</p>
|
||||
<ol>
|
||||
<li>
|
||||
<p>Make the page file for the shortcut section a <a href="https://gohugo.io/content-management/age-bundles/#headless-bundle" target="_blank">headless branch bundle</a> (contained in its own subdirectory and called <code>_index.md</code>) and add the following rontmatter configuration to the file (see exampleSite’s <code>content/showcase</code>). This causes its content to <strong>not</strong> be ontained in the sitemap.</p>
|
||||
<div class="highlight"><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">_build</span><span class="p">]</span>
|
||||
<div class="wrap-code highlight"><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">_build</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">render</span> <span class="p">=</span> <span class="s2">"never"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">list</span> <span class="p">=</span> <span class="s2">"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></code></pre></div></li>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">publishResources</span> <span class="p">=</span> <span class="kc">false</span></span></span></code></pre></div></li>
|
||||
<li>
|
||||
<p>Store the page file for the shortcut section below a parent headless branch bundle and add the following frontmatter to he <strong>parent</strong>. In this case, the file itself can be a branch bundle, leaf bundle or simple page (see exampleSite’s content/more/<code>and</code>content/more/credits`). This causes its content to be contained in the sitemap.</p>
|
||||
<div class="highlight"><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">_build</span><span class="p">]</span>
|
||||
<div class="wrap-code highlight"><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">_build</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">render</span> <span class="p">=</span> <span class="s2">"always"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">list</span> <span class="p">=</span> <span class="s2">"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></code></pre></div></li>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">publishResources</span> <span class="p">=</span> <span class="kc">true</span></span></span></code></pre></div></li>
|
||||
</ol>
|
||||
|
||||
<footer class="footline">
|
||||
@ -315,12 +310,12 @@ However, if you want to keep the title but change its value, it can be overridde
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../js/auto-complete.js?1687081536" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687081536" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687081536" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687081536" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687081536" defer></script>
|
||||
<script src="../../js/search.js?1687081536" defer></script>
|
||||
<script src="../../js/auto-complete.js?1687389782" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687389782" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687389782" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687389782" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687389782" defer></script>
|
||||
<script src="../../js/search.js?1687389782" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -336,7 +331,6 @@ However, if you want to keep the title but change its value, it can be overridde
|
||||
<li data-nav-id="/cont/pages/index.html" class=""><a class="padding" href="../../cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class=""><a class="padding" href="../../cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class=""><a class="padding" href="../../cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class="active"><a class="padding" href="../../cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class=""><a class="padding" href="../../cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class=""><a class="padding" href="../../cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -356,6 +350,7 @@ However, if you want to keep the title but change its value, it can be overridde
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="../../shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="../../shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="../../shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="../../shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="../../shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="../../shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -439,12 +434,12 @@ However, if you want to keep the title but change its value, it can be overridde
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../js/buttons.js?1687081536"></script>
|
||||
<script async src="../../js/buttons.js?1687389782"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../js/clipboard.min.js?1687081536" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081536" defer></script>
|
||||
<script src="../../js/theme.js?1687081536" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389782" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389782" defer></script>
|
||||
<script src="../../js/theme.js?1687389782" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,21 +13,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/menushortcuts/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/cont/menushortcuts/index.html" rel="canonical" type="text/html" title="Menu extra shortcuts :: Hugo Relearn Theme">
|
||||
<link href="../../cont/menushortcuts/index.xml" rel="alternate" type="application/rss+xml" title="Menu extra shortcuts :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081538"></script>
|
||||
<script src="../../js/variant.js?1687081538"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389786"></script>
|
||||
<script src="../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -80,7 +80,7 @@
|
||||
<h2 id="basic-configuration">Basic configuration</h2>
|
||||
<p>Edit the website configuration <code>config.toml</code> and add a <code>[[menu.shortcuts]]</code> entry for each link your want to add.</p>
|
||||
<p>Example from the current website:</p>
|
||||
<div class="highlight"><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">menu</span><span class="p">.</span><span class="nx">shortcuts</span><span class="p">]]</span>
|
||||
<div class="wrap-code highlight"><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">menu</span><span class="p">.</span><span class="nx">shortcuts</span><span class="p">]]</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">name</span> <span class="p">=</span> <span class="s2">"<i class='fab fa-fw fa-github'></i> GitHub repo"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">identifier</span> <span class="p">=</span> <span class="s2">"ds"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">url</span> <span class="p">=</span> <span class="s2">"https://github.com/McShelby/hugo-theme-relearn"</span>
|
||||
@ -105,17 +105,15 @@
|
||||
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">menu</span><span class="p">.</span><span class="nx">shortcuts</span><span class="p">]]</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">name</span> <span class="p">=</span> <span class="s2">"<i class='fas fa-fw fa-tags'></i> Tags"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">url</span> <span class="p">=</span> <span class="s2">"tags/"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">weight</span> <span class="p">=</span> <span class="mi">40</span>
|
||||
</span></span></code></pre></div><p>By default, shortcuts are preceded by a title. This title can be disabled by setting <code>disableShortcutsTitle=true</code>.
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">weight</span> <span class="p">=</span> <span class="mi">40</span></span></span></code></pre></div><p>By default, shortcuts are preceded by a title. This title can be disabled by setting <code>disableShortcutsTitle=true</code>.
|
||||
However, if you want to keep the title but change its value, it can be overridden by changing your local i18n translation string configuration.</p>
|
||||
<p>For example, in your local <code>i18n/en.toml</code> file, add the following content</p>
|
||||
<div class="highlight"><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">Shortcuts-Title</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">other</span> <span class="p">=</span> <span class="s2">"<Your value>"</span>
|
||||
</span></span></code></pre></div><p>Read more about <a href="https://gohugo.io/extras/menus/" target="_blank">hugo menu</a> and <a href="https://gohugo.io/content-management/multilingual/#translation-of-strings" target="_blank">hugo i18n translation strings</a></p>
|
||||
<div class="wrap-code highlight"><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">Shortcuts-Title</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">other</span> <span class="p">=</span> <span class="s2">"<Your value>"</span></span></span></code></pre></div><p>Read more about <a href="https://gohugo.io/extras/menus/" target="_blank">hugo menu</a> and <a href="https://gohugo.io/content-management/multilingual/#translation-of-strings" target="_blank">hugo i18n translation strings</a></p>
|
||||
<h2 id="i18n">Configuration for Multilingual mode</h2>
|
||||
<p>When using a multilingual website, you can set different menus for each language. In the <code>config.toml</code> file, prefix your menu configuration by <code>Languages.<language-id></code>.</p>
|
||||
<p>Example from the current website:</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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="nx">title</span> <span class="p">=</span> <span class="s2">"Hugo Relearn Theme"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">weight</span> <span class="p">=</span> <span class="mi">1</span>
|
||||
@ -182,25 +180,22 @@ However, if you want to keep the title but change its value, it can be overridde
|
||||
</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">menu</span><span class="p">.</span><span class="nx">shortcuts</span><span class="p">]]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">name</span> <span class="p">=</span> <span class="s2">"<i class='fas fa-fw fa-tags'></i> Arrr! Tags"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">pageRef</span> <span class="p">=</span> <span class="s2">"tags/"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">weight</span> <span class="p">=</span> <span class="mi">40</span>
|
||||
</span></span></code></pre></div><p>Read more about <a href="https://gohugo.io/extras/menus/" target="_blank">hugo menu</a> and <a href="https://gohugo.io/content-management/multilingual/#menus" target="_blank">hugo multilingual menus</a></p>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">weight</span> <span class="p">=</span> <span class="mi">40</span></span></span></code></pre></div><p>Read more about <a href="https://gohugo.io/extras/menus/" target="_blank">hugo menu</a> and <a href="https://gohugo.io/content-management/multilingual/#menus" target="_blank">hugo multilingual menus</a></p>
|
||||
<h2 id="shortcuts-to-pages-inside-of-your-project">Shortcuts to pages inside of your project</h2>
|
||||
<p>If you have shortcuts to pages inside of your project and you don’t want them to show up in page menu section, you have two choices:</p>
|
||||
<ol>
|
||||
<li>
|
||||
<p>Make the page file for the shortcut section a <a href="https://gohugo.io/content-management/age-bundles/#headless-bundle" target="_blank">headless branch bundle</a> (contained in its own subdirectory and called <code>_index.md</code>) and add the following rontmatter configuration to the file (see exampleSite’s <code>content/showcase</code>). This causes its content to <strong>not</strong> be ontained in the sitemap.</p>
|
||||
<div class="highlight"><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">_build</span><span class="p">]</span>
|
||||
<div class="wrap-code highlight"><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">_build</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">render</span> <span class="p">=</span> <span class="s2">"never"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">list</span> <span class="p">=</span> <span class="s2">"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></code></pre></div></li>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">publishResources</span> <span class="p">=</span> <span class="kc">false</span></span></span></code></pre></div></li>
|
||||
<li>
|
||||
<p>Store the page file for the shortcut section below a parent headless branch bundle and add the following frontmatter to he <strong>parent</strong>. In this case, the file itself can be a branch bundle, leaf bundle or simple page (see exampleSite’s content/more/<code>and</code>content/more/credits`). This causes its content to be contained in the sitemap.</p>
|
||||
<div class="highlight"><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">_build</span><span class="p">]</span>
|
||||
<div class="wrap-code highlight"><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">_build</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">render</span> <span class="p">=</span> <span class="s2">"always"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">list</span> <span class="p">=</span> <span class="s2">"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></code></pre></div></li>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">publishResources</span> <span class="p">=</span> <span class="kc">true</span></span></span></code></pre></div></li>
|
||||
</ol>
|
||||
|
||||
<footer class="footline">
|
||||
@ -211,8 +206,8 @@ However, if you want to keep the title but change its value, it can be overridde
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../js/clipboard.min.js?1687081538" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081538" defer></script>
|
||||
<script src="../../js/theme.js?1687081538" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389786" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389786" defer></script>
|
||||
<script src="../../js/theme.js?1687389786" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/pages/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../cont/pages/index.xml" rel="alternate" type="application/rss+xml" title="Pages organization :: Hugo Relearn Theme">
|
||||
<link href="../../cont/pages/index.print.html" rel="alternate" type="text/html" title="Pages organization :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081536"></script>
|
||||
<script src="../../js/variant.js?1687081536"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389782"></script>
|
||||
<script src="../../js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -113,7 +113,7 @@
|
||||
<p>In <strong>Hugo</strong>, pages are the core of your site. Once it is configured, pages are definitely the added value to your documentation site.</p>
|
||||
<h2 id="folders">Folders</h2>
|
||||
<p>Organize your site like <a href="https://gohugo.io/content/organization/" target="_blank">any other Hugo project</a>. Typically, you will have a <em>content</em> folder with all your pages.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">content
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">content
|
||||
</span></span><span class="line"><span class="cl">├── level-one
|
||||
</span></span><span class="line"><span class="cl">│ ├── level-two
|
||||
</span></span><span class="line"><span class="cl">│ │ ├── level-three
|
||||
@ -135,8 +135,7 @@
|
||||
</span></span><span class="line"><span class="cl">│ ├── page-1-b.md <-- /level-one/page-1-b
|
||||
</span></span><span class="line"><span class="cl">│ └── page-1-c.md <-- /level-one/page-1-c
|
||||
</span></span><span class="line"><span class="cl">├── _index.md <-- /
|
||||
</span></span><span class="line"><span class="cl">└── page-top.md <-- /page-top
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">└── page-top.md <-- /page-top</span></span></code></pre></div>
|
||||
<div class="box notices cstyle note">
|
||||
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Note</div>
|
||||
<div class="box-content">
|
||||
@ -147,12 +146,11 @@
|
||||
<h2 id="create-your-project">Create your project</h2>
|
||||
<p>The following steps are here to help you initialize your new website. If you don’t know Hugo at all, we strongly suggest you to train by following <a href="https://gohugo.io/overview/quickstart/" target="_blank">great documentation for beginners</a>.</p>
|
||||
<p>Hugo provides a <code>new</code> command to create a new website.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new site <new_project>
|
||||
</span></span></code></pre></div><p>The Relearn theme provides <a href="../../cont/archetypes/">archetypes</a> to help you create this kind of pages.</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new site <new_project></span></span></code></pre></div><p>The Relearn theme provides <a href="../../cont/archetypes/">archetypes</a> to help you create this kind of pages.</p>
|
||||
<h2 id="frontmatter-configuration">Frontmatter Configuration</h2>
|
||||
<p>Each Hugo page has to define a <a href="https://gohugo.io/content/front-matter/" target="_blank">frontmatter</a> in <em>toml</em>, <em>yaml</em> or <em>json</em>. This site will use <em>toml</em> in all cases.</p>
|
||||
<p>The Relearn theme uses the following parameters on top of Hugo ones:</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="err">+++</span>
|
||||
<div class="wrap-code highlight"><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="c"># Table of contents (toc) is enabled by default. Set this parameter to true to disable it.</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="c"># Note: Toc is always disabled for chapter pages</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">disableToc</span> <span class="p">=</span> <span class="kc">false</span>
|
||||
@ -176,38 +174,34 @@
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">LastModifierDisplayName</span> <span class="p">=</span> <span class="s2">""</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="c"># Email of this page modifier. If set with LastModifierDisplayName, it will be displayed in the footer</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">LastModifierEmail</span> <span class="p">=</span> <span class="s2">""</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="err">+++</span>
|
||||
</span></span></code></pre></div><h3 id="add-icon-to-a-menu-entry">Add icon to a menu entry</h3>
|
||||
</span></span><span class="line"><span class="cl"><span class="err">+++</span></span></span></code></pre></div><h3 id="add-icon-to-a-menu-entry">Add icon to a menu entry</h3>
|
||||
<p>In the page frontmatter, add a <code>menuPre</code> param to insert any HTML code before the menu label. The example below uses the GitHub icon.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="err">+++</span>
|
||||
<div class="wrap-code highlight"><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="s2">"GitHub repo"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">menuPre</span> <span class="p">=</span> <span class="s2">"<i class='fab fa-github'></i> "</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="err">+++</span>
|
||||
</span></span></code></pre></div><p>
|
||||
</span></span><span class="line"><span class="cl"><span class="err">+++</span></span></span></code></pre></div><p>
|
||||
|
||||
<a href="#image-e30cd65c24a1b70c534445db09993de6" class="lightbox-link">
|
||||
<a href="#image-a875a0b214cb678df13fd89cb96f7348" class="lightbox-link">
|
||||
<img src="../../cont/pages/frontmatter-icon.png?classes=shadow&width=18.75rem" alt="Title with icon" class="shadow" style="height: auto; width: 18.75rem;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-e30cd65c24a1b70c534445db09993de6">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-a875a0b214cb678df13fd89cb96f7348">
|
||||
<img src="../../cont/pages/frontmatter-icon.png?classes=shadow&width=18.75rem" alt="Title with icon" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<h3 id="ordering-sibling-menupage-entries">Ordering sibling menu/page entries</h3>
|
||||
<p>Hugo provides a <a href="https://gohugo.io/content/ordering/" target="_blank">flexible way</a> to handle order for your pages.</p>
|
||||
<p>The simplest way is to set <code>weight</code> parameter to a number.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="err">+++</span>
|
||||
<div class="wrap-code highlight"><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="s2">"My page"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">weight</span> <span class="p">=</span> <span class="mi">5</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="err">+++</span>
|
||||
</span></span></code></pre></div><h3 id="using-a-custom-title-for-menu-entries">Using a custom title for menu entries</h3>
|
||||
</span></span><span class="line"><span class="cl"><span class="err">+++</span></span></span></code></pre></div><h3 id="using-a-custom-title-for-menu-entries">Using a custom title for menu entries</h3>
|
||||
<p>By default, the Relearn theme will use a page’s <code>title</code> attribute for the menu item (or <code>linkTitle</code> if defined).</p>
|
||||
<p>But a page’s title has to be descriptive on its own while the menu is a hierarchy.
|
||||
We’ve added the <code>menuTitle</code> parameter for that purpose:</p>
|
||||
<p>For example (for a page named <code>content/install/linux.md</code>):</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="err">+++</span>
|
||||
<div class="wrap-code highlight"><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="s2">"Install on Linux"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">menuTitle</span> <span class="p">=</span> <span class="s2">"Linux"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="err">+++</span>
|
||||
</span></span></code></pre></div><h3 id="override-expand-state-rules-for-menu-entries">Override expand state rules for menu entries</h3>
|
||||
</span></span><span class="line"><span class="cl"><span class="err">+++</span></span></span></code></pre></div><h3 id="override-expand-state-rules-for-menu-entries">Override expand state rules for menu entries</h3>
|
||||
<p>You can change how the theme expands menu entries on the side of the content with the <code>alwaysopen</code> setting on a per page basis. If <code>alwaysopen=false</code> for any given entry, its children will not be shown in the menu as long as it is not necessary for the sake of navigation.</p>
|
||||
<p>The theme generates the menu based on the following rules:</p>
|
||||
<ul>
|
||||
@ -305,12 +299,12 @@ We’ve added the <code>menuTitle</code> parameter for that purpose:</p>
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../js/auto-complete.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687081537" defer></script>
|
||||
<script src="../../js/search.js?1687081537" defer></script>
|
||||
<script src="../../js/auto-complete.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687389784" defer></script>
|
||||
<script src="../../js/search.js?1687389784" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -326,7 +320,6 @@ We’ve added the <code>menuTitle</code> parameter for that purpose:</p>
|
||||
<li data-nav-id="/cont/pages/index.html" class="active"><a class="padding" href="../../cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class=""><a class="padding" href="../../cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class=""><a class="padding" href="../../cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class=""><a class="padding" href="../../cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class=""><a class="padding" href="../../cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class=""><a class="padding" href="../../cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -346,6 +339,7 @@ We’ve added the <code>menuTitle</code> parameter for that purpose:</p>
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="../../shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="../../shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="../../shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="../../shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="../../shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="../../shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -429,12 +423,12 @@ We’ve added the <code>menuTitle</code> parameter for that purpose:</p>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../js/buttons.js?1687081537"></script>
|
||||
<script async src="../../js/buttons.js?1687389784"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../js/clipboard.min.js?1687081537" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081537" defer></script>
|
||||
<script src="../../js/theme.js?1687081537" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389784" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389784" defer></script>
|
||||
<script src="../../js/theme.js?1687389784" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,21 +13,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/pages/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/cont/pages/index.html" rel="canonical" type="text/html" title="Pages organization :: Hugo Relearn Theme">
|
||||
<link href="../../cont/pages/index.xml" rel="alternate" type="application/rss+xml" title="Pages organization :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081538"></script>
|
||||
<script src="../../js/variant.js?1687081538"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389786"></script>
|
||||
<script src="../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -79,7 +79,7 @@
|
||||
<p>In <strong>Hugo</strong>, pages are the core of your site. Once it is configured, pages are definitely the added value to your documentation site.</p>
|
||||
<h2 id="folders">Folders</h2>
|
||||
<p>Organize your site like <a href="https://gohugo.io/content/organization/" target="_blank">any other Hugo project</a>. Typically, you will have a <em>content</em> folder with all your pages.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">content
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">content
|
||||
</span></span><span class="line"><span class="cl">├── level-one
|
||||
</span></span><span class="line"><span class="cl">│ ├── level-two
|
||||
</span></span><span class="line"><span class="cl">│ │ ├── level-three
|
||||
@ -101,8 +101,7 @@
|
||||
</span></span><span class="line"><span class="cl">│ ├── page-1-b.md <-- /level-one/page-1-b
|
||||
</span></span><span class="line"><span class="cl">│ └── page-1-c.md <-- /level-one/page-1-c
|
||||
</span></span><span class="line"><span class="cl">├── _index.md <-- /
|
||||
</span></span><span class="line"><span class="cl">└── page-top.md <-- /page-top
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">└── page-top.md <-- /page-top</span></span></code></pre></div>
|
||||
<div class="box notices cstyle note">
|
||||
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Note</div>
|
||||
<div class="box-content">
|
||||
@ -113,12 +112,11 @@
|
||||
<h2 id="create-your-project">Create your project</h2>
|
||||
<p>The following steps are here to help you initialize your new website. If you don’t know Hugo at all, we strongly suggest you to train by following <a href="https://gohugo.io/overview/quickstart/" target="_blank">great documentation for beginners</a>.</p>
|
||||
<p>Hugo provides a <code>new</code> command to create a new website.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new site <new_project>
|
||||
</span></span></code></pre></div><p>The Relearn theme provides <a href="../../cont/archetypes/">archetypes</a> to help you create this kind of pages.</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new site <new_project></span></span></code></pre></div><p>The Relearn theme provides <a href="../../cont/archetypes/">archetypes</a> to help you create this kind of pages.</p>
|
||||
<h2 id="frontmatter-configuration">Frontmatter Configuration</h2>
|
||||
<p>Each Hugo page has to define a <a href="https://gohugo.io/content/front-matter/" target="_blank">frontmatter</a> in <em>toml</em>, <em>yaml</em> or <em>json</em>. This site will use <em>toml</em> in all cases.</p>
|
||||
<p>The Relearn theme uses the following parameters on top of Hugo ones:</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="err">+++</span>
|
||||
<div class="wrap-code highlight"><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="c"># Table of contents (toc) is enabled by default. Set this parameter to true to disable it.</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="c"># Note: Toc is always disabled for chapter pages</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">disableToc</span> <span class="p">=</span> <span class="kc">false</span>
|
||||
@ -142,38 +140,34 @@
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">LastModifierDisplayName</span> <span class="p">=</span> <span class="s2">""</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="c"># Email of this page modifier. If set with LastModifierDisplayName, it will be displayed in the footer</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">LastModifierEmail</span> <span class="p">=</span> <span class="s2">""</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="err">+++</span>
|
||||
</span></span></code></pre></div><h3 id="add-icon-to-a-menu-entry">Add icon to a menu entry</h3>
|
||||
</span></span><span class="line"><span class="cl"><span class="err">+++</span></span></span></code></pre></div><h3 id="add-icon-to-a-menu-entry">Add icon to a menu entry</h3>
|
||||
<p>In the page frontmatter, add a <code>menuPre</code> param to insert any HTML code before the menu label. The example below uses the GitHub icon.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="err">+++</span>
|
||||
<div class="wrap-code highlight"><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="s2">"GitHub repo"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">menuPre</span> <span class="p">=</span> <span class="s2">"<i class='fab fa-github'></i> "</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="err">+++</span>
|
||||
</span></span></code></pre></div><p>
|
||||
</span></span><span class="line"><span class="cl"><span class="err">+++</span></span></span></code></pre></div><p>
|
||||
|
||||
<a href="#image-e30cd65c24a1b70c534445db09993de6" class="lightbox-link">
|
||||
<a href="#image-a875a0b214cb678df13fd89cb96f7348" class="lightbox-link">
|
||||
<img src="../../cont/pages/frontmatter-icon.png?classes=shadow&width=18.75rem" alt="Title with icon" class="shadow" style="height: auto; width: 18.75rem;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-e30cd65c24a1b70c534445db09993de6">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-a875a0b214cb678df13fd89cb96f7348">
|
||||
<img src="../../cont/pages/frontmatter-icon.png?classes=shadow&width=18.75rem" alt="Title with icon" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<h3 id="ordering-sibling-menupage-entries">Ordering sibling menu/page entries</h3>
|
||||
<p>Hugo provides a <a href="https://gohugo.io/content/ordering/" target="_blank">flexible way</a> to handle order for your pages.</p>
|
||||
<p>The simplest way is to set <code>weight</code> parameter to a number.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="err">+++</span>
|
||||
<div class="wrap-code highlight"><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="s2">"My page"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">weight</span> <span class="p">=</span> <span class="mi">5</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="err">+++</span>
|
||||
</span></span></code></pre></div><h3 id="using-a-custom-title-for-menu-entries">Using a custom title for menu entries</h3>
|
||||
</span></span><span class="line"><span class="cl"><span class="err">+++</span></span></span></code></pre></div><h3 id="using-a-custom-title-for-menu-entries">Using a custom title for menu entries</h3>
|
||||
<p>By default, the Relearn theme will use a page’s <code>title</code> attribute for the menu item (or <code>linkTitle</code> if defined).</p>
|
||||
<p>But a page’s title has to be descriptive on its own while the menu is a hierarchy.
|
||||
We’ve added the <code>menuTitle</code> parameter for that purpose:</p>
|
||||
<p>For example (for a page named <code>content/install/linux.md</code>):</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="err">+++</span>
|
||||
<div class="wrap-code highlight"><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="s2">"Install on Linux"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">menuTitle</span> <span class="p">=</span> <span class="s2">"Linux"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="err">+++</span>
|
||||
</span></span></code></pre></div><h3 id="override-expand-state-rules-for-menu-entries">Override expand state rules for menu entries</h3>
|
||||
</span></span><span class="line"><span class="cl"><span class="err">+++</span></span></span></code></pre></div><h3 id="override-expand-state-rules-for-menu-entries">Override expand state rules for menu entries</h3>
|
||||
<p>You can change how the theme expands menu entries on the side of the content with the <code>alwaysopen</code> setting on a per page basis. If <code>alwaysopen=false</code> for any given entry, its children will not be shown in the menu as long as it is not necessary for the sake of navigation.</p>
|
||||
<p>The theme generates the menu based on the following rules:</p>
|
||||
<ul>
|
||||
@ -194,8 +188,8 @@ We’ve added the <code>menuTitle</code> parameter for that purpose:</p>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../js/clipboard.min.js?1687081538" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081538" defer></script>
|
||||
<script src="../../js/theme.js?1687081538" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389786" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389786" defer></script>
|
||||
<script src="../../js/theme.js?1687389786" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,137 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" dir="ltr">
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
<title>Code highlighting :: Hugo Relearn Theme</title>
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/cont/syntaxhighlight/index.html" rel="alternate" hreflang="x-default">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/cont/syntaxhighlight/index.html" rel="alternate" hreflang="en">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/syntaxhighlight/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/cont/syntaxhighlight/index.html" rel="canonical" type="text/html" title="Code highlighting :: Hugo Relearn Theme">
|
||||
<link href="../../cont/syntaxhighlight/index.xml" rel="alternate" type="application/rss+xml" title="Code highlighting :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081538"></script>
|
||||
<script src="../../js/variant.js?1687081538"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
window.index_js_url="../../index.search.js";
|
||||
var root_url="../../";
|
||||
var baseUri=root_url.replace(/\/$/, '');
|
||||
// translations
|
||||
window.T_Copy_to_clipboard = 'Copy to clipboard';
|
||||
window.T_Copied_to_clipboard = 'Copied to clipboard!';
|
||||
window.T_Copy_link_to_clipboard = 'Copy link to clipboard';
|
||||
window.T_Link_copied_to_clipboard = 'Copied link to clipboard!';
|
||||
window.T_No_results_found = 'No results found for \u0022{0}\u0022';
|
||||
window.T_N_results_found = '{1} results found for \u0022{0}\u0022';
|
||||
// some further base stuff
|
||||
var baseUriFull='https:\/\/McShelby.github.io\/hugo-theme-relearn/';
|
||||
window.variants && variants.init( [ 'auto', 'relearn-bright', 'relearn-light', 'relearn-dark', 'learn', 'neon', 'blue', 'green', 'red' ] );
|
||||
</script>
|
||||
<style>
|
||||
#body img.bg-white {
|
||||
background-color: white;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="mobile-support print disableInlineCopyToClipboard" data-url="../../cont/syntaxhighlight/index.html">
|
||||
<div id="body" class="default-animation">
|
||||
<div id="sidebar-overlay"></div>
|
||||
<div id="toc-overlay"></div>
|
||||
<nav id="topbar" class="highlightable">
|
||||
<div>
|
||||
<div id="breadcrumbs">
|
||||
<span id="sidebar-toggle-span">
|
||||
<a href="#" id="sidebar-toggle" class="topbar-link" title='Menu (CTRL+ALT+n)'><i class="fas fa-bars fa-fw"></i></a>
|
||||
</span>
|
||||
<ol class="links" itemscope itemtype="http://schema.org/BreadcrumbList">
|
||||
<li itemscope itemtype="https://schema.org/ListItem" itemprop="itemListElement"><a itemprop="item" href="../../index.html"><span itemprop="name">Hugo Relearn Theme</span></a><meta itemprop="position" content="1"> > </li>
|
||||
<li itemscope itemtype="https://schema.org/ListItem" itemprop="itemListElement"><a itemprop="item" href="../../cont/index.html"><span itemprop="name">Content</span></a><meta itemprop="position" content="2"> > </li>
|
||||
<li itemscope itemtype="https://schema.org/ListItem" itemprop="itemListElement"><span itemprop="name">Code highlighting</span><meta itemprop="position" content="3"></li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<main id="body-inner" class="highlightable default" tabindex="-1">
|
||||
<div class="flex-block-wrapper">
|
||||
<article class="default">
|
||||
<header class="headline">
|
||||
</header>
|
||||
<h1 id="code-highlighting">Code highlighting</h1>
|
||||
|
||||
<p>The Relearn theme uses <a href="https://gohugo.io/content-management/syntax-highlighting/" target="_blank">Hugo’s built-in syntax highlighting</a> for code.</p>
|
||||
<h2 id="markdown-syntax">Markdown syntax</h2>
|
||||
<p>Wrap the code block with three backticks and the name of the language. Highlight will try to auto detect the language if one is not provided.</p>
|
||||
<!-- markdownlint-disable MD046 -->
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">```json
|
||||
</span></span><span class="line"><span class="cl">[
|
||||
</span></span><span class="line"><span class="cl"> {
|
||||
</span></span><span class="line"><span class="cl"> "title": "apples",
|
||||
</span></span><span class="line"><span class="cl"> "count": [12000, 20000],
|
||||
</span></span><span class="line"><span class="cl"> "description": {"text": "...", "sensitive": false}
|
||||
</span></span><span class="line"><span class="cl"> },
|
||||
</span></span><span class="line"><span class="cl"> {
|
||||
</span></span><span class="line"><span class="cl"> "title": "oranges",
|
||||
</span></span><span class="line"><span class="cl"> "count": [17500, null],
|
||||
</span></span><span class="line"><span class="cl"> "description": {"text": "...", "sensitive": false}
|
||||
</span></span><span class="line"><span class="cl"> }
|
||||
</span></span><span class="line"><span class="cl">]
|
||||
</span></span><span class="line"><span class="cl">```
|
||||
</span></span></code></pre></div><!-- markdownlint-disable MD046 -->
|
||||
<p>Renders to:</p>
|
||||
<div class="highlight"><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="p">{</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nt">"title"</span><span class="p">:</span> <span class="s2">"apples"</span><span class="p">,</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nt">"count"</span><span class="p">:</span> <span class="p">[</span><span class="mi">12000</span><span class="p">,</span> <span class="mi">20000</span><span class="p">],</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nt">"description"</span><span class="p">:</span> <span class="p">{</span><span class="nt">"text"</span><span class="p">:</span> <span class="s2">"..."</span><span class="p">,</span> <span class="nt">"sensitive"</span><span class="p">:</span> <span class="kc">false</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="p">{</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nt">"title"</span><span class="p">:</span> <span class="s2">"oranges"</span><span class="p">,</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nt">"count"</span><span class="p">:</span> <span class="p">[</span><span class="mi">17500</span><span class="p">,</span> <span class="kc">null</span><span class="p">],</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nt">"description"</span><span class="p">:</span> <span class="p">{</span><span class="nt">"text"</span><span class="p">:</span> <span class="s2">"..."</span><span class="p">,</span> <span class="nt">"sensitive"</span><span class="p">:</span> <span class="kc">false</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="p">]</span>
|
||||
</span></span></code></pre></div><h2 id="supported-languages">Supported languages</h2>
|
||||
<p>Hugo comes with a <a href="https://gohugo.io/content-management/syntax-highlighting/#list-of-chroma-highlighting-languages" target="_blank">remarkable list</a> of supported languages.</p>
|
||||
<h2 id="recommended-configuration">Recommended configuration</h2>
|
||||
<p>You can choose a color theme from the <a href="https://xyproto.github.io/splash/docs/all.html" target="_blank">list of supported themes</a> and add it in your <code>config.toml</code></p>
|
||||
<div class="highlight"><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">markup</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="p">[</span><span class="nx">markup</span><span class="p">.</span><span class="nx">highlight</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="c"># if `guessSyntax = true`, there will be no unstyled code even if no language</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="c"># was given BUT Mermaid and Math codefences will not work anymore! So this is a</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="c"># mandatory setting for your site if you want to use Mermaid or Math codefences</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">guessSyntax</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"># choose a color theme or create your own</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">style</span> <span class="p">=</span> <span class="s2">"base16-snazzy"</span>
|
||||
</span></span></code></pre></div>
|
||||
<footer class="footline">
|
||||
|
||||
</footer>
|
||||
</article>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../js/clipboard.min.js?1687081538" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081538" defer></script>
|
||||
<script src="../../js/theme.js?1687081538" defer></script>
|
||||
</body>
|
||||
</html>
|
@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>Code highlighting on Hugo Relearn Theme</title>
|
||||
<link>https://McShelby.github.io/hugo-theme-relearn/cont/syntaxhighlight/index.html</link>
|
||||
<description>Recent content in Code highlighting on Hugo Relearn Theme</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<language>en</language><atom:link href="https://McShelby.github.io/hugo-theme-relearn/cont/syntaxhighlight/index.xml" rel="self" type="application/rss+xml" />
|
||||
</channel>
|
||||
</rss>
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/taxonomy/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../cont/taxonomy/index.xml" rel="alternate" type="application/rss+xml" title="Taxonomy :: Hugo Relearn Theme">
|
||||
<link href="../../cont/taxonomy/index.print.html" rel="alternate" type="text/html" title="Taxonomy :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081536"></script>
|
||||
<script src="../../js/variant.js?1687081536"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389782"></script>
|
||||
<script src="../../js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -109,25 +109,23 @@
|
||||
<p>The Relearn theme supports Hugo’s default taxonomies <em>tag</em> and <em>category</em> out of the box.</p>
|
||||
<h2 id="configuration">Configuration</h2>
|
||||
<p>Just add tags and/or categories to any page. They can be given as a single string or an array of strings.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="err">+++</span>
|
||||
<div class="wrap-code highlight"><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">categories</span> <span class="p">=</span> <span class="p">[</span><span class="s2">"taxonomy"</span><span class="p">,</span> <span class="s2">"content"</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">tags</span> <span class="p">=</span> <span class="s2">"tutorial"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">title</span> <span class="p">=</span> <span class="s2">"Taxonomy"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="err">+++</span>
|
||||
</span></span></code></pre></div><h2 id="behavior">Behavior</h2>
|
||||
</span></span><span class="line"><span class="cl"><span class="err">+++</span></span></span></code></pre></div><h2 id="behavior">Behavior</h2>
|
||||
<p>The tags are displayed at the top of the page in alphabetical order.</p>
|
||||
<p>The categories are displayed at the bottom of the page in alphabetical order in the default implementation of the theme but can be customized by providing your own <code>content-footer.html</code> partial.</p>
|
||||
<p>Each item is a link to a taxonomy page displaying all the articles with the given term.</p>
|
||||
<h2 id="list-all-the-tags">List all the tags</h2>
|
||||
<p>In the <code>config.toml</code> file you can add a shortcut to display all the tags and categories</p>
|
||||
<div class="highlight"><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">menu</span><span class="p">.</span><span class="nx">shortcuts</span><span class="p">]]</span>
|
||||
<div class="wrap-code highlight"><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">menu</span><span class="p">.</span><span class="nx">shortcuts</span><span class="p">]]</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">name</span> <span class="p">=</span> <span class="s2">"<i class='fas fa-tags'></i> Tags"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">url</span> <span class="p">=</span> <span class="s2">"/tags"</span>
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">menu</span><span class="p">.</span><span class="nx">shortcuts</span><span class="p">]]</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">name</span> <span class="p">=</span> <span class="s2">"<i class='fas fa-list'></i> Categories"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">url</span> <span class="p">=</span> <span class="s2">"/categories"</span>
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">url</span> <span class="p">=</span> <span class="s2">"/categories"</span></span></span></code></pre></div>
|
||||
<footer class="footline">
|
||||
<i class='fas fa-list'></i>
|
||||
<a class="tag-link" href="../../categories/content/index.html">content</a>
|
||||
@ -216,12 +214,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../js/auto-complete.js?1687081536" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687081536" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687081536" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687081536" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687081536" defer></script>
|
||||
<script src="../../js/search.js?1687081536" defer></script>
|
||||
<script src="../../js/auto-complete.js?1687389782" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687389782" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687389782" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687389782" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687389782" defer></script>
|
||||
<script src="../../js/search.js?1687389782" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -237,7 +235,6 @@
|
||||
<li data-nav-id="/cont/pages/index.html" class=""><a class="padding" href="../../cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class=""><a class="padding" href="../../cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class=""><a class="padding" href="../../cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class=""><a class="padding" href="../../cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class=""><a class="padding" href="../../cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class="active"><a class="padding" href="../../cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -257,6 +254,7 @@
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="../../shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="../../shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="../../shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="../../shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="../../shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="../../shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -340,12 +338,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../js/buttons.js?1687081536"></script>
|
||||
<script async src="../../js/buttons.js?1687389782"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../js/clipboard.min.js?1687081536" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081536" defer></script>
|
||||
<script src="../../js/theme.js?1687081536" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389782" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389782" defer></script>
|
||||
<script src="../../js/theme.js?1687389782" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,21 +13,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/taxonomy/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/cont/taxonomy/index.html" rel="canonical" type="text/html" title="Taxonomy :: Hugo Relearn Theme">
|
||||
<link href="../../cont/taxonomy/index.xml" rel="alternate" type="application/rss+xml" title="Taxonomy :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081538"></script>
|
||||
<script src="../../js/variant.js?1687081538"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389786"></script>
|
||||
<script src="../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -82,25 +82,23 @@
|
||||
<p>The Relearn theme supports Hugo’s default taxonomies <em>tag</em> and <em>category</em> out of the box.</p>
|
||||
<h2 id="configuration">Configuration</h2>
|
||||
<p>Just add tags and/or categories to any page. They can be given as a single string or an array of strings.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="err">+++</span>
|
||||
<div class="wrap-code highlight"><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">categories</span> <span class="p">=</span> <span class="p">[</span><span class="s2">"taxonomy"</span><span class="p">,</span> <span class="s2">"content"</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">tags</span> <span class="p">=</span> <span class="s2">"tutorial"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">title</span> <span class="p">=</span> <span class="s2">"Taxonomy"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="err">+++</span>
|
||||
</span></span></code></pre></div><h2 id="behavior">Behavior</h2>
|
||||
</span></span><span class="line"><span class="cl"><span class="err">+++</span></span></span></code></pre></div><h2 id="behavior">Behavior</h2>
|
||||
<p>The tags are displayed at the top of the page in alphabetical order.</p>
|
||||
<p>The categories are displayed at the bottom of the page in alphabetical order in the default implementation of the theme but can be customized by providing your own <code>content-footer.html</code> partial.</p>
|
||||
<p>Each item is a link to a taxonomy page displaying all the articles with the given term.</p>
|
||||
<h2 id="list-all-the-tags">List all the tags</h2>
|
||||
<p>In the <code>config.toml</code> file you can add a shortcut to display all the tags and categories</p>
|
||||
<div class="highlight"><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">menu</span><span class="p">.</span><span class="nx">shortcuts</span><span class="p">]]</span>
|
||||
<div class="wrap-code highlight"><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">menu</span><span class="p">.</span><span class="nx">shortcuts</span><span class="p">]]</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">name</span> <span class="p">=</span> <span class="s2">"<i class='fas fa-tags'></i> Tags"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">url</span> <span class="p">=</span> <span class="s2">"/tags"</span>
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">menu</span><span class="p">.</span><span class="nx">shortcuts</span><span class="p">]]</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">name</span> <span class="p">=</span> <span class="s2">"<i class='fas fa-list'></i> Categories"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">url</span> <span class="p">=</span> <span class="s2">"/categories"</span>
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">url</span> <span class="p">=</span> <span class="s2">"/categories"</span></span></span></code></pre></div>
|
||||
<footer class="footline">
|
||||
<i class='fas fa-list'></i>
|
||||
<a class="tag-link" href="../../categories/content/index.html">content</a>
|
||||
@ -112,8 +110,8 @@
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../js/clipboard.min.js?1687081538" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081538" defer></script>
|
||||
<script src="../../js/theme.js?1687081538" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389786" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389786" defer></script>
|
||||
<script src="../../js/theme.js?1687389786" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -126,6 +126,7 @@
|
||||
border-bottom-right-radius: 2px;
|
||||
border-bottom-left-radius: 0;
|
||||
}
|
||||
div.highlight > div table + .copy-to-clipboard-button,
|
||||
pre > .copy-to-clipboard-button {
|
||||
right: 4px;
|
||||
}
|
||||
@ -522,11 +523,15 @@
|
||||
color: rgba( 255, 250, 233, 1 ); /* var(--CODE-INLINE-BG-color) */
|
||||
}
|
||||
|
||||
div.highlight > div table + .copy-to-clipboard-button,
|
||||
div.highlight pre + .copy-to-clipboard-button,
|
||||
pre .copy-to-clipboard-button {
|
||||
border-color: rgba( 216, 216, 216, 1 ); /* var(--CODE-BLOCK-BORDER-color) */
|
||||
color: rgba( 72, 106, 201, 1 ); /* var(--MAIN-LINK-color) */
|
||||
}
|
||||
|
||||
div.highlight > div table + .copy-to-clipboard-button:hover,
|
||||
div.highlight pre + .copy-to-clipboard-button:hover,
|
||||
pre .copy-to-clipboard-button:hover {
|
||||
background-color: rgba( 72, 106, 201, 1 ); /* var(--MAIN-LINK-color) */
|
||||
border-color: rgba( 72, 106, 201, 1 ); /* var(--MAIN-LINK-color) */
|
||||
|
@ -544,14 +544,19 @@ div.box > .box-content {
|
||||
|
||||
#body table th > :last-child,
|
||||
#body table th > :last-child :last-child,
|
||||
#body table th > div.highlight:last-child pre,
|
||||
#body table td > :last-child,
|
||||
#body table td > :last-child :last-child,
|
||||
#body table td > div:last-child pre,
|
||||
#body div.box > .box-content > :last-child,
|
||||
#body div.box > .box-content > :last-child :last-child,
|
||||
#body div.box > .box-content > div:last-child pre,
|
||||
#body div.expand > .expand-content-text > :last-child,
|
||||
#body div.expand > .expand-content-text > :last-child :last-child,
|
||||
#body div.expand > .expand-content-text > div:last-child pre,
|
||||
#body div.tab-content > .tab-content-text > :last-child,
|
||||
#body div.tab-content > .tab-content-text > :last-child :last-child {
|
||||
#body div.tab-content > .tab-content-text > :last-child :last-child,
|
||||
#body div.tab-content > .tab-content-text > div:last-child pre {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
@ -663,9 +668,11 @@ pre code {
|
||||
font-size: .9375rem;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
white-space: inherit;
|
||||
}
|
||||
|
||||
div.highlight{
|
||||
position: relative;
|
||||
}
|
||||
/* we may have special treatment if highlight shortcode was used in table lineno mode */
|
||||
div.highlight > div{
|
||||
border-style: solid;
|
||||
@ -679,7 +686,6 @@ div.highlight > div table{
|
||||
}
|
||||
div.highlight > div td{
|
||||
border-width: 0;
|
||||
!padding: 0;
|
||||
}
|
||||
#body div.highlight > div a {
|
||||
line-height: inherit;
|
||||
@ -695,6 +701,20 @@ div.highlight > div td:first-child:not(:last-child){
|
||||
div.highlight > div td:not(:first-child):last-child{
|
||||
width: 100%;
|
||||
}
|
||||
/* add scrollbars if highlight shortcode was used in table lineno mode */
|
||||
div.highlight > div table{
|
||||
display: block;
|
||||
overflow: auto;
|
||||
}
|
||||
div.highlight:not(.wrap-code) pre{
|
||||
overflow: auto;
|
||||
}
|
||||
div.highlight:not(.wrap-code) pre code{
|
||||
white-space: pre;
|
||||
}
|
||||
div.highlight.wrap-code pre code{
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
/* remove border from row cells if highlight shortcode was used in table lineno mode */
|
||||
div.highlight > div td > pre {
|
||||
border-radius: 0;
|
||||
@ -1077,6 +1097,7 @@ html[dir="rtl"] #body #breadcrumbs {
|
||||
border-width: 1px;
|
||||
cursor: pointer;
|
||||
font-size: .934375rem;
|
||||
line-height: 1.15;
|
||||
}
|
||||
|
||||
span > .copy-to-clipboard-button {
|
||||
@ -1091,11 +1112,15 @@ span > .copy-to-clipboard-button {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
div.highlight > div table + .copy-to-clipboard-button > i,
|
||||
div.highlight pre + .copy-to-clipboard-button > i,
|
||||
.copy-to-clipboard-code + .copy-to-clipboard-button > i {
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
div.highlight > div table + .copy-to-clipboard-button,
|
||||
div.highlight pre + .copy-to-clipboard-button,
|
||||
pre > .copy-to-clipboard-button {
|
||||
background-color: rgba( 160, 160, 160, .2 );
|
||||
border-radius: 2px;
|
||||
|
@ -272,11 +272,15 @@ table {
|
||||
color: var(--INTERNAL-CODE-INLINE-BG-color);
|
||||
}
|
||||
|
||||
div.highlight > div table + .copy-to-clipboard-button,
|
||||
div.highlight pre + .copy-to-clipboard-button,
|
||||
pre .copy-to-clipboard-button {
|
||||
border-color: var(--INTERNAL-CODE-BLOCK-BORDER-color);
|
||||
color: var(--INTERNAL-MAIN-LINK-color);
|
||||
}
|
||||
|
||||
div.highlight > div table + .copy-to-clipboard-button:hover,
|
||||
div.highlight pre + .copy-to-clipboard-button:hover,
|
||||
pre .copy-to-clipboard-button:hover {
|
||||
background-color: var(--INTERNAL-MAIN-LINK-color);
|
||||
border-color: var(--INTERNAL-MAIN-LINK-color);
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="robots" content="noindex, nofollow, noarchive, noimageindex">
|
||||
<meta name="description" content="What to know if you want to contribute">
|
||||
@ -12,20 +12,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/dev/contributing/index.html" rel="alternate" hreflang="x-default">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/dev/contributing/index.html" rel="alternate" hreflang="en">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/dev/contributing/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081536"></script>
|
||||
<script src="../../js/variant.js?1687081536"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389782"></script>
|
||||
<script src="../../js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -304,12 +304,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../js/auto-complete.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687081537" defer></script>
|
||||
<script src="../../js/search.js?1687081537" defer></script>
|
||||
<script src="../../js/auto-complete.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687389784" defer></script>
|
||||
<script src="../../js/search.js?1687389784" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -325,7 +325,6 @@
|
||||
<li data-nav-id="/cont/pages/index.html" class=""><a class="padding" href="../../cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class=""><a class="padding" href="../../cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class=""><a class="padding" href="../../cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class=""><a class="padding" href="../../cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class=""><a class="padding" href="../../cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class=""><a class="padding" href="../../cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -345,6 +344,7 @@
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="../../shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="../../shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="../../shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="../../shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="../../shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="../../shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -432,12 +432,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../js/buttons.js?1687081537"></script>
|
||||
<script async src="../../js/buttons.js?1687389784"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../js/clipboard.min.js?1687081537" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081537" defer></script>
|
||||
<script src="../../js/theme.js?1687081537" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389784" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389784" defer></script>
|
||||
<script src="../../js/theme.js?1687389784" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="robots" content="noindex, nofollow, noarchive, noimageindex">
|
||||
<meta name="description" content="What to know if you want to contribute">
|
||||
@ -12,21 +12,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/dev/contributing/index.html" rel="alternate" hreflang="x-default">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/dev/contributing/index.html" rel="alternate" hreflang="en">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/dev/contributing/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081538"></script>
|
||||
<script src="../../js/variant.js?1687081538"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389786"></script>
|
||||
<script src="../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -201,8 +201,8 @@
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../js/clipboard.min.js?1687081538" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081538" defer></script>
|
||||
<script src="../../js/theme.js?1687081538" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389786" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389786" defer></script>
|
||||
<script src="../../js/theme.js?1687389786" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="robots" content="noindex, nofollow, noarchive, noimageindex">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
@ -12,20 +12,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/dev/index.html" rel="alternate" hreflang="x-default">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/dev/index.html" rel="alternate" hreflang="en">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/dev/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="../css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="../css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="../css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="../css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="../css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="../css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="../js/url.js?1687081536"></script>
|
||||
<script src="../js/variant.js?1687081536"></script>
|
||||
<link href="../css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="../css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="../css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="../css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="../css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="../css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="../css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="../js/url.js?1687389782"></script>
|
||||
<script src="../js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -184,12 +184,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../js/auto-complete.js?1687081537" defer></script>
|
||||
<script src="../js/lunr/lunr.min.js?1687081537" defer></script>
|
||||
<script src="../js/lunr/lunr.stemmer.support.min.js?1687081537" defer></script>
|
||||
<script src="../js/lunr/lunr.multi.min.js?1687081537" defer></script>
|
||||
<script src="../js/lunr/lunr.en.min.js?1687081537" defer></script>
|
||||
<script src="../js/search.js?1687081537" defer></script>
|
||||
<script src="../js/auto-complete.js?1687389784" defer></script>
|
||||
<script src="../js/lunr/lunr.min.js?1687389784" defer></script>
|
||||
<script src="../js/lunr/lunr.stemmer.support.min.js?1687389784" defer></script>
|
||||
<script src="../js/lunr/lunr.multi.min.js?1687389784" defer></script>
|
||||
<script src="../js/lunr/lunr.en.min.js?1687389784" defer></script>
|
||||
<script src="../js/search.js?1687389784" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -205,7 +205,6 @@
|
||||
<li data-nav-id="/cont/pages/index.html" class=""><a class="padding" href="../cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class=""><a class="padding" href="../cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class=""><a class="padding" href="../cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class=""><a class="padding" href="../cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class=""><a class="padding" href="../cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class=""><a class="padding" href="../cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -225,6 +224,7 @@
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="../shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="../shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="../shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="../shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="../shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="../shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -312,12 +312,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../js/buttons.js?1687081537"></script>
|
||||
<script async src="../js/buttons.js?1687389784"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../js/clipboard.min.js?1687081537" defer></script>
|
||||
<script src="../js/perfect-scrollbar.min.js?1687081537" defer></script>
|
||||
<script src="../js/theme.js?1687081537" defer></script>
|
||||
<script src="../js/clipboard.min.js?1687389784" defer></script>
|
||||
<script src="../js/perfect-scrollbar.min.js?1687389784" defer></script>
|
||||
<script src="../js/theme.js?1687389784" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="robots" content="noindex, nofollow, noarchive, noimageindex">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
@ -12,21 +12,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/dev/index.html" rel="alternate" hreflang="x-default">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/dev/index.html" rel="alternate" hreflang="en">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/dev/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../css/format-print.css?1687081538" rel="stylesheet">
|
||||
<link href="../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../js/url.js?1687081538"></script>
|
||||
<script src="../js/variant.js?1687081538"></script>
|
||||
<link href="../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../css/format-print.css?1687389786" rel="stylesheet">
|
||||
<link href="../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../js/url.js?1687389786"></script>
|
||||
<script src="../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -462,10 +462,10 @@
|
||||
<p>
|
||||
|
||||
|
||||
<a href="#image-abb87ceabb18f827f89d5e633367860c" class="lightbox-link">
|
||||
<a href="#image-e0571addea9ae71bbf43e224021725fa" class="lightbox-link">
|
||||
<img src="../images/screenshot.png?classes=shadow&width=100%25&height=100%25" alt="Screenshot" class="shadow" style="height: 100%; width: 100%;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-abb87ceabb18f827f89d5e633367860c">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-e0571addea9ae71bbf43e224021725fa">
|
||||
<img src="../images/screenshot.png?classes=shadow&width=100%25&height=100%25" alt="Screenshot" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<h2 id="hero-image">Hero Image</h2>
|
||||
@ -499,20 +499,20 @@
|
||||
<p>
|
||||
|
||||
|
||||
<a href="#image-aeb6a4f545cc35f12a314508458de0ef" class="lightbox-link">
|
||||
<a href="#image-c2fe85c2b76d96d027d982756a62ba9f" class="lightbox-link">
|
||||
<img src="../images/hero.png?classes=shadow&width=100%25&height=100%25" alt="Hero" class="shadow" style="height: 100%; width: 100%;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-aeb6a4f545cc35f12a314508458de0ef">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-c2fe85c2b76d96d027d982756a62ba9f">
|
||||
<img src="../images/hero.png?classes=shadow&width=100%25&height=100%25" alt="Hero" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<h3 id="preview-imagestnpng">Preview <code>images/tn.png</code></h3>
|
||||
<p>
|
||||
|
||||
|
||||
<a href="#image-563515d285faf38233d52e7c2b316955" class="lightbox-link">
|
||||
<a href="#image-f81c633a84857132e4a192ce098e54bf" class="lightbox-link">
|
||||
<img src="../images/tn.png?classes=shadow&width=100%25&height=100%25" alt="tn" class="shadow" style="height: 100%; width: 100%;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-563515d285faf38233d52e7c2b316955">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-f81c633a84857132e4a192ce098e54bf">
|
||||
<img src="../images/tn.png?classes=shadow&width=100%25&height=100%25" alt="tn" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
|
||||
@ -525,8 +525,8 @@
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../js/clipboard.min.js?1687081538" defer></script>
|
||||
<script src="../js/perfect-scrollbar.min.js?1687081538" defer></script>
|
||||
<script src="../js/theme.js?1687081538" defer></script>
|
||||
<script src="../js/clipboard.min.js?1687389786" defer></script>
|
||||
<script src="../js/perfect-scrollbar.min.js?1687389786" defer></script>
|
||||
<script src="../js/theme.js?1687389786" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="robots" content="noindex, nofollow, noarchive, noimageindex">
|
||||
<meta name="description" content="What to know as a maintainer">
|
||||
@ -12,20 +12,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/dev/maintaining/index.html" rel="alternate" hreflang="x-default">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/dev/maintaining/index.html" rel="alternate" hreflang="en">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/dev/maintaining/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081536"></script>
|
||||
<script src="../../js/variant.js?1687081536"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389782"></script>
|
||||
<script src="../../js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -391,12 +391,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../js/auto-complete.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687081537" defer></script>
|
||||
<script src="../../js/search.js?1687081537" defer></script>
|
||||
<script src="../../js/auto-complete.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687389784" defer></script>
|
||||
<script src="../../js/search.js?1687389784" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -412,7 +412,6 @@
|
||||
<li data-nav-id="/cont/pages/index.html" class=""><a class="padding" href="../../cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class=""><a class="padding" href="../../cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class=""><a class="padding" href="../../cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class=""><a class="padding" href="../../cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class=""><a class="padding" href="../../cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class=""><a class="padding" href="../../cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -432,6 +431,7 @@
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="../../shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="../../shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="../../shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="../../shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="../../shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="../../shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -519,12 +519,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../js/buttons.js?1687081537"></script>
|
||||
<script async src="../../js/buttons.js?1687389784"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../js/clipboard.min.js?1687081537" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081537" defer></script>
|
||||
<script src="../../js/theme.js?1687081537" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389784" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389784" defer></script>
|
||||
<script src="../../js/theme.js?1687389784" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="robots" content="noindex, nofollow, noarchive, noimageindex">
|
||||
<meta name="description" content="What to know as a maintainer">
|
||||
@ -12,21 +12,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/dev/maintaining/index.html" rel="alternate" hreflang="x-default">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/dev/maintaining/index.html" rel="alternate" hreflang="en">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/dev/maintaining/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081538"></script>
|
||||
<script src="../../js/variant.js?1687081538"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389786"></script>
|
||||
<script src="../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -277,8 +277,8 @@
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../js/clipboard.min.js?1687081538" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081538" defer></script>
|
||||
<script src="../../js/theme.js?1687081538" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389786" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389786" defer></script>
|
||||
<script src="../../js/theme.js?1687389786" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="robots" content="noindex, nofollow, noarchive, noimageindex">
|
||||
<meta name="description" content="Recipe to create various documentation screenshots">
|
||||
@ -12,20 +12,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/dev/screenshots/index.html" rel="alternate" hreflang="x-default">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/dev/screenshots/index.html" rel="alternate" hreflang="en">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/dev/screenshots/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081536"></script>
|
||||
<script src="../../js/variant.js?1687081536"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389782"></script>
|
||||
<script src="../../js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -145,10 +145,10 @@
|
||||
<p>
|
||||
|
||||
|
||||
<a href="#image-abb87ceabb18f827f89d5e633367860c" class="lightbox-link">
|
||||
<a href="#image-e0571addea9ae71bbf43e224021725fa" class="lightbox-link">
|
||||
<img src="../../images/screenshot.png?classes=shadow&width=100%25&height=100%25" alt="Screenshot" class="shadow" style="height: 100%; width: 100%;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-abb87ceabb18f827f89d5e633367860c">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-e0571addea9ae71bbf43e224021725fa">
|
||||
<img src="../../images/screenshot.png?classes=shadow&width=100%25&height=100%25" alt="Screenshot" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<h2 id="hero-image">Hero Image</h2>
|
||||
@ -182,20 +182,20 @@
|
||||
<p>
|
||||
|
||||
|
||||
<a href="#image-aeb6a4f545cc35f12a314508458de0ef" class="lightbox-link">
|
||||
<a href="#image-c2fe85c2b76d96d027d982756a62ba9f" class="lightbox-link">
|
||||
<img src="../../images/hero.png?classes=shadow&width=100%25&height=100%25" alt="Hero" class="shadow" style="height: 100%; width: 100%;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-aeb6a4f545cc35f12a314508458de0ef">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-c2fe85c2b76d96d027d982756a62ba9f">
|
||||
<img src="../../images/hero.png?classes=shadow&width=100%25&height=100%25" alt="Hero" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<h3 id="preview-imagestnpng">Preview <code>images/tn.png</code></h3>
|
||||
<p>
|
||||
|
||||
|
||||
<a href="#image-563515d285faf38233d52e7c2b316955" class="lightbox-link">
|
||||
<a href="#image-f81c633a84857132e4a192ce098e54bf" class="lightbox-link">
|
||||
<img src="../../images/tn.png?classes=shadow&width=100%25&height=100%25" alt="tn" class="shadow" style="height: 100%; width: 100%;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-563515d285faf38233d52e7c2b316955">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-f81c633a84857132e4a192ce098e54bf">
|
||||
<img src="../../images/tn.png?classes=shadow&width=100%25&height=100%25" alt="tn" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
|
||||
@ -284,12 +284,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../js/auto-complete.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687081537" defer></script>
|
||||
<script src="../../js/search.js?1687081537" defer></script>
|
||||
<script src="../../js/auto-complete.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687389784" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687389784" defer></script>
|
||||
<script src="../../js/search.js?1687389784" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -305,7 +305,6 @@
|
||||
<li data-nav-id="/cont/pages/index.html" class=""><a class="padding" href="../../cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class=""><a class="padding" href="../../cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class=""><a class="padding" href="../../cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class=""><a class="padding" href="../../cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class=""><a class="padding" href="../../cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class=""><a class="padding" href="../../cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -325,6 +324,7 @@
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="../../shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="../../shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="../../shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="../../shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="../../shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="../../shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -412,12 +412,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../js/buttons.js?1687081537"></script>
|
||||
<script async src="../../js/buttons.js?1687389784"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../js/clipboard.min.js?1687081537" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081537" defer></script>
|
||||
<script src="../../js/theme.js?1687081537" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389784" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389784" defer></script>
|
||||
<script src="../../js/theme.js?1687389784" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="robots" content="noindex, nofollow, noarchive, noimageindex">
|
||||
<meta name="description" content="Recipe to create various documentation screenshots">
|
||||
@ -12,21 +12,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/dev/screenshots/index.html" rel="alternate" hreflang="x-default">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/dev/screenshots/index.html" rel="alternate" hreflang="en">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/dev/screenshots/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081538"></script>
|
||||
<script src="../../js/variant.js?1687081538"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389786"></script>
|
||||
<script src="../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -109,10 +109,10 @@
|
||||
<p>
|
||||
|
||||
|
||||
<a href="#image-abb87ceabb18f827f89d5e633367860c" class="lightbox-link">
|
||||
<a href="#image-e0571addea9ae71bbf43e224021725fa" class="lightbox-link">
|
||||
<img src="../../images/screenshot.png?classes=shadow&width=100%25&height=100%25" alt="Screenshot" class="shadow" style="height: 100%; width: 100%;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-abb87ceabb18f827f89d5e633367860c">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-e0571addea9ae71bbf43e224021725fa">
|
||||
<img src="../../images/screenshot.png?classes=shadow&width=100%25&height=100%25" alt="Screenshot" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<h2 id="hero-image">Hero Image</h2>
|
||||
@ -146,20 +146,20 @@
|
||||
<p>
|
||||
|
||||
|
||||
<a href="#image-aeb6a4f545cc35f12a314508458de0ef" class="lightbox-link">
|
||||
<a href="#image-c2fe85c2b76d96d027d982756a62ba9f" class="lightbox-link">
|
||||
<img src="../../images/hero.png?classes=shadow&width=100%25&height=100%25" alt="Hero" class="shadow" style="height: 100%; width: 100%;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-aeb6a4f545cc35f12a314508458de0ef">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-c2fe85c2b76d96d027d982756a62ba9f">
|
||||
<img src="../../images/hero.png?classes=shadow&width=100%25&height=100%25" alt="Hero" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<h3 id="preview-imagestnpng">Preview <code>images/tn.png</code></h3>
|
||||
<p>
|
||||
|
||||
|
||||
<a href="#image-563515d285faf38233d52e7c2b316955" class="lightbox-link">
|
||||
<a href="#image-f81c633a84857132e4a192ce098e54bf" class="lightbox-link">
|
||||
<img src="../../images/tn.png?classes=shadow&width=100%25&height=100%25" alt="tn" class="shadow" style="height: 100%; width: 100%;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-563515d285faf38233d52e7c2b316955">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-f81c633a84857132e4a192ce098e54bf">
|
||||
<img src="../../images/tn.png?classes=shadow&width=100%25&height=100%25" alt="tn" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
|
||||
@ -171,8 +171,8 @@
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../js/clipboard.min.js?1687081538" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081538" defer></script>
|
||||
<script src="../../js/theme.js?1687081538" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389786" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389786" defer></script>
|
||||
<script src="../../js/theme.js?1687389786" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -48,12 +48,6 @@
|
||||
<xhtml:link rel="alternate" hreflang="en" href="https://McShelby.github.io/hugo-theme-relearn/shortcodes/index.html" />
|
||||
<xhtml:link rel="alternate" hreflang="pir" href="https://McShelby.github.io/hugo-theme-relearn/pir/shortcodes/index.html" />
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://McShelby.github.io/hugo-theme-relearn/cont/syntaxhighlight/index.html</loc>
|
||||
<xhtml:link rel="alternate" hreflang="x-default" href="https://McShelby.github.io/hugo-theme-relearn/cont/syntaxhighlight/index.html" />
|
||||
<xhtml:link rel="alternate" hreflang="en" href="https://McShelby.github.io/hugo-theme-relearn/cont/syntaxhighlight/index.html" />
|
||||
<xhtml:link rel="alternate" hreflang="pir" href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/syntaxhighlight/index.html" />
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://McShelby.github.io/hugo-theme-relearn/cont/menushortcuts/index.html</loc>
|
||||
<xhtml:link rel="alternate" hreflang="x-default" href="https://McShelby.github.io/hugo-theme-relearn/cont/menushortcuts/index.html" />
|
||||
@ -213,6 +207,12 @@
|
||||
<xhtml:link rel="alternate" hreflang="en" href="https://McShelby.github.io/hugo-theme-relearn/tags/hidden/index.html" />
|
||||
<xhtml:link rel="alternate" hreflang="pir" href="https://McShelby.github.io/hugo-theme-relearn/pir/tags/hidden/index.html" />
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://McShelby.github.io/hugo-theme-relearn/shortcodes/highlight/index.html</loc>
|
||||
<xhtml:link rel="alternate" hreflang="x-default" href="https://McShelby.github.io/hugo-theme-relearn/shortcodes/highlight/index.html" />
|
||||
<xhtml:link rel="alternate" hreflang="en" href="https://McShelby.github.io/hugo-theme-relearn/shortcodes/highlight/index.html" />
|
||||
<xhtml:link rel="alternate" hreflang="pir" href="https://McShelby.github.io/hugo-theme-relearn/pir/shortcodes/highlight/index.html" />
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://McShelby.github.io/hugo-theme-relearn/index.html</loc>
|
||||
<xhtml:link rel="alternate" hreflang="x-default" href="https://McShelby.github.io/hugo-theme-relearn/index.html" />
|
||||
|
56
index.html
56
index.html
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="./index.xml" rel="alternate" type="application/rss+xml" title="Hugo Relearn Theme">
|
||||
<link href="./index.print.html" rel="alternate" type="text/html" title="Hugo Relearn Theme">
|
||||
<link href="./images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="./images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="./css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="./css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="./css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="./css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="./css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="./css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="./css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="./css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="./css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="./css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="./css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="./css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="./css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="./js/url.js?1687081536"></script>
|
||||
<script src="./js/variant.js?1687081536"></script>
|
||||
<link href="./css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="./css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="./css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="./css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="./css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="./css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="./css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="./css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="./css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="./css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="./css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="./css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="./css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="./js/url.js?1687389782"></script>
|
||||
<script src="./js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -107,10 +107,10 @@
|
||||
<p>A theme for <a href="https://gohugo.io/" target="_blank">Hugo</a> designed for documentation.</p>
|
||||
<p><a href="./basics/migration/">★ What’s new in the latest release ★</a></p>
|
||||
<p>
|
||||
<a href="#image-87eebabf301d1172c585a1e68ee0813f" class="lightbox-link">
|
||||
<a href="#image-cd4608355f31a7d5ecc523a7aa88cc80" class="lightbox-link">
|
||||
<img src="images/hero.png?classes=shadow&width=100%25&height=100%25" alt="Image of the Relearn theme in light and dark mode on phone, tablet and desktop" class="shadow" style="height: auto; width: auto;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-87eebabf301d1172c585a1e68ee0813f">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-cd4608355f31a7d5ecc523a7aa88cc80">
|
||||
<img src="images/hero.png?classes=shadow&width=100%25&height=100%25" alt="Image of the Relearn theme in light and dark mode on phone, tablet and desktop" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<h2 id="motivation">Motivation</h2>
|
||||
@ -134,7 +134,7 @@
|
||||
<li>Predefined light, dark and color variants</li>
|
||||
<li><a href="./basics/customization/#multiple-variants">User selectable variants</a></li>
|
||||
<li><a href="./basics/generator/">Stylesheet generator</a></li>
|
||||
<li><a href="./cont/syntaxhighlight/">Configurable syntax highlighting</a></li>
|
||||
<li><a href="./shortcodes/highlight/">Configurable syntax highlighting</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><strong>Unique theme features</strong>
|
||||
@ -284,12 +284,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="./js/auto-complete.js?1687081537" defer></script>
|
||||
<script src="./js/lunr/lunr.min.js?1687081537" defer></script>
|
||||
<script src="./js/lunr/lunr.stemmer.support.min.js?1687081537" defer></script>
|
||||
<script src="./js/lunr/lunr.multi.min.js?1687081537" defer></script>
|
||||
<script src="./js/lunr/lunr.en.min.js?1687081537" defer></script>
|
||||
<script src="./js/search.js?1687081537" defer></script>
|
||||
<script src="./js/auto-complete.js?1687389784" defer></script>
|
||||
<script src="./js/lunr/lunr.min.js?1687389784" defer></script>
|
||||
<script src="./js/lunr/lunr.stemmer.support.min.js?1687389784" defer></script>
|
||||
<script src="./js/lunr/lunr.multi.min.js?1687389784" defer></script>
|
||||
<script src="./js/lunr/lunr.en.min.js?1687389784" defer></script>
|
||||
<script src="./js/search.js?1687389784" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -305,7 +305,6 @@
|
||||
<li data-nav-id="/cont/pages/index.html" class=""><a class="padding" href="./cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class=""><a class="padding" href="./cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class=""><a class="padding" href="./cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="./cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class=""><a class="padding" href="./cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class=""><a class="padding" href="./cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class=""><a class="padding" href="./cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -325,6 +324,7 @@
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="./shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="./shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="./shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="./shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="./shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="./shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="./shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -408,12 +408,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="./js/buttons.js?1687081537"></script>
|
||||
<script async src="./js/buttons.js?1687389784"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="./js/clipboard.min.js?1687081537" defer></script>
|
||||
<script src="./js/perfect-scrollbar.min.js?1687081537" defer></script>
|
||||
<script src="./js/theme.js?1687081537" defer></script>
|
||||
<script src="./js/clipboard.min.js?1687389784" defer></script>
|
||||
<script src="./js/perfect-scrollbar.min.js?1687389784" defer></script>
|
||||
<script src="./js/theme.js?1687389784" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
1592
index.print.html
1592
index.print.html
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
136
js/theme.js
136
js/theme.js
@ -484,13 +484,16 @@ function initAnchorClipboard(){
|
||||
|
||||
function initCodeClipboard(){
|
||||
function getCodeText( node ){
|
||||
var text = node.textContent;
|
||||
// if highlight shortcode is used in inline lineno mode, remove lineno nodes before generating text, otherwise it doesn't hurt
|
||||
var code = node.cloneNode( true );
|
||||
Array.from( code.querySelectorAll( '*:scope > span > span:first-child:not(:last-child)' ) ).forEach( function( lineno ){
|
||||
lineno.remove();
|
||||
});
|
||||
var text = code.textContent;
|
||||
// remove a trailing line break, this may most likely
|
||||
// come from the browser / Hugo transformation
|
||||
text = text.replace( /\n$/, '' );
|
||||
// removes leading $ signs from text in an assumption
|
||||
// that this has to be the unix prompt marker - weird
|
||||
return text.replace( /^\$\s/gm, '' );
|
||||
return text;
|
||||
}
|
||||
|
||||
function fallbackMessage( action ){
|
||||
@ -508,114 +511,41 @@ function initCodeClipboard(){
|
||||
return actionMsg;
|
||||
}
|
||||
|
||||
if( !window.disableHighlightWrapFix ){
|
||||
// if the highlight shortcode was used with table lineno mode, the generated DOM
|
||||
// is a table, containg exactly one row with two cells, the first cell for all linenos
|
||||
// the second with the code;
|
||||
// this does not look nice if the code gets wrapped around, so we reformat the table
|
||||
// by creating a row for each line, containing the two cells but with only the content of
|
||||
// one line
|
||||
var codeTables = Array.from( document.querySelectorAll( 'code' ) ).reduce( function(a, code){
|
||||
// collect all tbody's without duplicates that need our treatment
|
||||
if( code.parentNode.tagName.toLowerCase() == 'pre' &&
|
||||
code.parentNode.parentNode.tagName.toLowerCase() == 'td' &&
|
||||
code.parentNode.parentNode.parentNode.tagName.toLowerCase() == 'tr' &&
|
||||
code.parentNode.parentNode.parentNode.parentNode.tagName.toLowerCase() == 'tbody' &&
|
||||
code.parentNode.parentNode.parentNode.querySelector( 'td:first-child > pre > code' ) == code &&
|
||||
( !a.length || a[a.length-1] != code.parentNode.parentNode.parentNode.parentNode ) ){
|
||||
var table = code.parentNode.parentNode.parentNode.parentNode;
|
||||
a.push( table );
|
||||
}
|
||||
return a;
|
||||
}, [] );
|
||||
for( var i = 0; i < codeTables.length; i++ ){
|
||||
// now treat the table (tbody);
|
||||
// first we collect some data, setting up our row template and collect the text
|
||||
// representation of the code for later usage with copy-to-clipboard
|
||||
var table = codeTables[i];
|
||||
var text = getCodeText( table.querySelector( 'td:last-child code' ) );
|
||||
var tr = table.querySelector( 'tr' ).cloneNode();
|
||||
tr.appendChild( table.querySelector( 'td:first-child' ).cloneNode() )
|
||||
.appendChild( table.querySelector( 'td:first-child pre' ).cloneNode() )
|
||||
.appendChild( table.querySelector( 'td:first-child code' ).cloneNode() )
|
||||
.classList.add( 'nocode' );
|
||||
tr.appendChild( table.querySelector( 'td:last-child' ).cloneNode() )
|
||||
.appendChild( table.querySelector( 'td:last-child pre' ).cloneNode() )
|
||||
.appendChild( table.querySelector( 'td:last-child code' ).cloneNode() )
|
||||
.classList.add( 'nocode' );
|
||||
|
||||
// select lineno and code cell of first line that contains all the content
|
||||
var linenums = table.querySelectorAll( 'td:first-child code > span' );
|
||||
var codes = table.querySelectorAll( 'td:last-child code > span' );
|
||||
for( var j = 0; j < linenums.length; j++ ){
|
||||
// now create a new table row by cloning our template
|
||||
// and transfering the original content
|
||||
var clonedTr = tr.cloneNode(true);
|
||||
var code1 = clonedTr.querySelector( 'td:first-child code' );
|
||||
var code2 = clonedTr.querySelector( 'td:last-child code' );
|
||||
code1.appendChild( linenums[j] );
|
||||
code2.appendChild( codes[j] );
|
||||
table.appendChild( clonedTr );
|
||||
}
|
||||
// in the end we have an empty first row, that needs to be deleted
|
||||
table.querySelector( 'tr:first-child' ).remove();
|
||||
// we delete the reformat marker of the first code cell to allow the
|
||||
// copy-to-clipboard functionality
|
||||
table.querySelector( 'tr:first-child td:last-child code' ).classList.remove( 'nocode' );
|
||||
// put the text representation into a data attribute
|
||||
table.querySelector( 'tr:first-child td:last-child code' ).dataset[ 'code' ] = text;
|
||||
// finally mark our tbody to apply special CSS styling
|
||||
table.parentNode.parentNode.parentNode.classList.add( 'wrapfix' );
|
||||
}
|
||||
}
|
||||
|
||||
var codeElements = document.querySelectorAll( 'code:not(.nocode)' );
|
||||
var codeElements = document.querySelectorAll( 'code' );
|
||||
for( var i = 0; i < codeElements.length; i++ ){
|
||||
var code = codeElements[i];
|
||||
var text = code.textContent;
|
||||
var text = getCodeText( code );
|
||||
var inPre = code.parentNode.tagName.toLowerCase() == 'pre';
|
||||
var inTable = inPre &&
|
||||
code.parentNode.parentNode.tagName.toLowerCase() == 'td';
|
||||
// avoid copy-to-clipboard for highlight shortcode in table lineno mode
|
||||
var isFirstLineCell = inPre &&
|
||||
code.parentNode.parentNode.tagName.toLowerCase() == 'td' &&
|
||||
var isFirstLineCell = inTable &&
|
||||
code.parentNode.parentNode.parentNode.querySelector( 'td:first-child > pre > code' ) == code;
|
||||
|
||||
if( !isFirstLineCell && ( inPre || text.length > 5 ) ){
|
||||
var clip = new ClipboardJS( '.copy-to-clipboard-button', {
|
||||
text: function( trigger ){
|
||||
if( !( trigger.previousElementSibling && trigger.previousElementSibling.matches( 'code' ) ) ){
|
||||
if( !trigger.previousElementSibling ){
|
||||
return '';
|
||||
}
|
||||
// if we already have a text representation, return it
|
||||
var code = trigger.previousElementSibling;
|
||||
if( code.dataset.code ){
|
||||
return code.dataset.code;
|
||||
}
|
||||
// if highlight shortcode used in inline lineno mode, remove lineno nodes before generating text
|
||||
code = code.cloneNode( true );
|
||||
Array.from( code.querySelectorAll( '*:scope > span > span:first-child:not(:last-child)' ) ).forEach( function( lineno ){
|
||||
lineno.remove();
|
||||
});
|
||||
// generate and save generated text for repeated usage
|
||||
var text = getCodeText( code );
|
||||
trigger.previousElementSibling.dataset[ 'code' ] = text;
|
||||
return text;
|
||||
return trigger.previousElementSibling.dataset.code || '';
|
||||
}
|
||||
});
|
||||
|
||||
clip.on( 'success', function( e ){
|
||||
e.clearSelection();
|
||||
var inPre = e.trigger.parentNode.tagName.toLowerCase() == 'pre';
|
||||
var doBeside = e.trigger.parentNode.tagName.toLowerCase() == 'pre' || (e.trigger.previousElementSibling && e.trigger.previousElementSibling.tagName.toLowerCase() == 'table' );
|
||||
e.trigger.setAttribute( 'aria-label', window.T_Copied_to_clipboard );
|
||||
e.trigger.classList.add( 'tooltipped', 'tooltipped-' + (inPre ? 'w' : 's'+(isRtl?'e':'w')) );
|
||||
e.trigger.classList.add( 'tooltipped', 'tooltipped-' + (doBeside ? 'w' : 's'+(isRtl?'e':'w')) );
|
||||
});
|
||||
|
||||
clip.on( 'error', function( e ){
|
||||
var inPre = e.trigger.parentNode.tagName.toLowerCase() == 'pre';
|
||||
var doBeside = e.trigger.parentNode.tagName.toLowerCase() == 'pre' || (e.trigger.previousElementSibling && e.trigger.previousElementSibling.tagName.toLowerCase() == 'table' );
|
||||
e.trigger.setAttribute( 'aria-label', fallbackMessage(e.action) );
|
||||
e.trigger.classList.add( 'tooltipped', 'tooltipped-' + (inPre ? 'w' : 's'+(isRtl?'e':'w')) );
|
||||
e.trigger.classList.add( 'tooltipped', 'tooltipped-' + (doBeside ? 'w' : 's'+(isRtl?'e':'w')) );
|
||||
var f = function(){
|
||||
e.trigger.setAttribute( 'aria-label', window.T_Copied_to_clipboard );
|
||||
e.trigger.classList.add( 'tooltipped', 'tooltipped-' + (inPre ? 'w' : 's'+(isRtl?'e':'w')) );
|
||||
e.trigger.classList.add( 'tooltipped', 'tooltipped-' + (doBeside ? 'w' : 's'+(isRtl?'e':'w')) );
|
||||
document.removeEventListener( 'copy', f );
|
||||
};
|
||||
document.addEventListener( 'copy', f );
|
||||
@ -642,7 +572,33 @@ function initCodeClipboard(){
|
||||
this.removeAttribute( 'aria-label' );
|
||||
this.classList.remove( 'tooltipped', 'tooltipped-w', 'tooltipped-se', 'tooltipped-sw' );
|
||||
});
|
||||
code.parentNode.insertBefore( button, code.nextSibling );
|
||||
if( inTable ){
|
||||
var table = code.parentNode.parentNode.parentNode.parentNode.parentNode;
|
||||
table.dataset[ 'code' ] = text;
|
||||
table.parentNode.insertBefore( button, table.nextSibling );
|
||||
}
|
||||
else if( inPre ){
|
||||
var pre = code.parentNode;
|
||||
pre.dataset[ 'code' ] = text;
|
||||
var p = pre.parentNode;
|
||||
// indented code blocks are missing the div
|
||||
while( p != document && ( p.tagName.toLowerCase() != 'div' || !p.classList.contains( 'highlight' ) ) ){
|
||||
p = p.parentNode;
|
||||
}
|
||||
if( p == document ){
|
||||
var clone = pre.cloneNode( true );
|
||||
var div = document.createElement( 'div' );
|
||||
div.classList.add( 'highlight' );
|
||||
div.appendChild( clone );
|
||||
pre.parentNode.replaceChild( div, pre );
|
||||
pre = clone;
|
||||
}
|
||||
pre.parentNode.insertBefore( button, pre.nextSibling );
|
||||
}
|
||||
else{
|
||||
code.dataset[ 'code' ] = text;
|
||||
code.parentNode.insertBefore( button, code.nextSibling );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/more/credits/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../more/credits/index.xml" rel="alternate" type="application/rss+xml" title="Credits :: Hugo Relearn Theme">
|
||||
<link href="../../more/credits/index.print.html" rel="alternate" type="text/html" title="Credits :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081536" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081536" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081536" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081536" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081536" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687081536" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081536"></script>
|
||||
<script src="../../js/variant.js?1687081536"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389782" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389782" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389782" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389782" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389782" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687389782" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389782"></script>
|
||||
<script src="../../js/variant.js?1687389782"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -238,12 +238,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../js/auto-complete.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687081537" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687081537" defer></script>
|
||||
<script src="../../js/search.js?1687081537" defer></script>
|
||||
<script src="../../js/auto-complete.js?1687389785" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687389785" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687389785" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687389785" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687389785" defer></script>
|
||||
<script src="../../js/search.js?1687389785" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -259,7 +259,6 @@
|
||||
<li data-nav-id="/cont/pages/index.html" class=""><a class="padding" href="../../cont/pages/index.html">Pages organization<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/archetypes/index.html" class=""><a class="padding" href="../../cont/archetypes/index.html">Archetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/markdown/index.html" class=""><a class="padding" href="../../cont/markdown/index.html">Markdown syntax<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../cont/syntaxhighlight/index.html">Code highlighting<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/menushortcuts/index.html" class=""><a class="padding" href="../../cont/menushortcuts/index.html">Menu extra shortcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/i18n/index.html" class=""><a class="padding" href="../../cont/i18n/index.html">Multilingual and i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/cont/taxonomy/index.html" class=""><a class="padding" href="../../cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -279,6 +278,7 @@
|
||||
<li data-nav-id="/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-801eeaaa0748a0846cc1e95f3a734fb7" aria-controls="subsections-801eeaaa0748a0846cc1e95f3a734fb7"><label for="section-801eeaaa0748a0846cc1e95f3a734fb7"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu page 3</span></label><a class="padding" href="../../shortcodes/children/children-3/index.html">page 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-801eeaaa0748a0846cc1e95f3a734fb7" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../shortcodes/children/children-3/test3/index.html">page 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/shortcodes/expand/index.html" class=""><a class="padding" href="../../shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/highlight/index.html" class=""><a class="padding" href="../../shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/icon/index.html" class=""><a class="padding" href="../../shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/include/index.html" class=""><a class="padding" href="../../shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/shortcodes/math/index.html" class=""><a class="padding" href="../../shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -362,12 +362,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../js/buttons.js?1687081537"></script>
|
||||
<script async src="../../js/buttons.js?1687389785"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../js/clipboard.min.js?1687081537" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081537" defer></script>
|
||||
<script src="../../js/theme.js?1687081537" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389785" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389785" defer></script>
|
||||
<script src="../../js/theme.js?1687389785" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,21 +13,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/more/credits/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/more/credits/index.html" rel="canonical" type="text/html" title="Credits :: Hugo Relearn Theme">
|
||||
<link href="../../more/credits/index.xml" rel="alternate" type="application/rss+xml" title="Credits :: Hugo Relearn Theme">
|
||||
<link href="../../images/logo.svg?1687081536" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389782" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081538"></script>
|
||||
<script src="../../js/variant.js?1687081538"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389786"></script>
|
||||
<script src="../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -134,8 +134,8 @@
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../js/clipboard.min.js?1687081538" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081538" defer></script>
|
||||
<script src="../../js/theme.js?1687081538" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389786" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389786" defer></script>
|
||||
<script src="../../js/theme.js?1687389786" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
28
pir/404.html
28
pir/404.html
@ -3,26 +3,26 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
<title>404 Page not found :: Cap'n Hugo Relearrrn Theme</title>
|
||||
<base href="https://McShelby.github.io/hugo-theme-relearn/">
|
||||
<link href="../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../js/url.js?1687081538"></script>
|
||||
<script src="../js/variant.js?1687081538"></script>
|
||||
<link href="../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../js/url.js?1687389786"></script>
|
||||
<script src="../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/configuration/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../../pir/basics/configuration/index.xml" rel="alternate" type="application/rss+xml" title="Configurrrat'n :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../pir/basics/configuration/index.print.html" rel="alternate" type="text/html" title="Configurrrat'n :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687081538"></script>
|
||||
<script src="../../../js/variant.js?1687081538"></script>
|
||||
<link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687389786"></script>
|
||||
<script src="../../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -127,7 +127,7 @@
|
||||
<h2 id="global-site-parameters">Global ship parameters</h2>
|
||||
<p>On top o' <a href="https://gohugo.io/overview/configuration/" target="_blank">Cap'n Hugo global configurat'n</a>, th' Relearrrn theme lets ye define th' follow'n parameters 'n yer <code>config.toml</code> (here, values be default).</p>
|
||||
<p>Avast that some o' these parameters be explained 'n details 'n other sections o' this documentat'n.</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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"># This controls whether submenus will be expanded (true), or collapsed (false) 'n th'</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="c"># menu; if no sett'n be given, th' first menu level be set t' false, all others t' true;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="c"># this can be overridden 'n th' planks frontmatter</span>
|
||||
@ -204,20 +204,16 @@
|
||||
</span></span><span class="line"><span class="cl"> <span class="c"># t' 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 class="c"># For external links ye can define how they be opened 'n yer browser; this sett'n will only be applied t' th' rrrambl'n area but not th' shortcut menu</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></code></pre></div><h2 id="serving-your-page-from-a-subfolder">Serv'n yer plank from a subfolder</h2>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">externalLinkTarget</span> <span class="p">=</span> <span class="s2">"_blank"</span></span></span></code></pre></div><h2 id="serving-your-page-from-a-subfolder">Serv'n yer plank from a subfolder</h2>
|
||||
<p>If yer ship be served from a subfolder, eg. <code>https://example.com/mysite/</code>, ye have t' set th' follow'n lines t' yer <code>config.toml</code></p>
|
||||
<div class="highlight"><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="s2">"https://example.com/mysite/"</span>
|
||||
<div class="wrap-code highlight"><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="s2">"https://example.com/mysite/"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">canonifyURLs</span> <span class="p">=</span> <span class="kc">true</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><p>Without <code>canonifyURLs=true</code> URLs 'n sublemental planks (like <code>sitemap.xml</code>, <code>rss.xml</code>) will be generated falsly while yer HTML files will still work. See <a href="https://github.com/gohugoio/hugo/issues/5226" target="_blank">https://github.com/gohugoio/hugo/issues/5226</a>.</p>
|
||||
</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><p>Without <code>canonifyURLs=true</code> URLs 'n sublemental planks (like <code>sitemap.xml</code>, <code>rss.xml</code>) will be generated falsly while yer HTML files will still work. See <a href="https://github.com/gohugoio/hugo/issues/5226" target="_blank">https://github.com/gohugoio/hugo/issues/5226</a>.</p>
|
||||
<h2 id="serving-your-page-from-the-filesystem">Serv'n yer plank from th' filesystem</h2>
|
||||
<p>If ye want yer plank served from th' filesystem by us'n URLs start'n wit' <code>file://</code> you’ll need th' follow'n configurat'n 'n yer <code>config.toml</code>:</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><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><p>Th' theme will append an additional <code>index.html</code> t' all branch bundle links by default t' make th' plank 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 also generate th' links without this change by add'n this t' yer <code>config.toml</code></p>
|
||||
<div class="highlight"><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 class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><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><p>Th' theme will append an additional <code>index.html</code> t' all branch bundle links by default t' make th' plank 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 also generate th' links without this change by add'n this t' yer <code>config.toml</code></p>
|
||||
<div class="wrap-code highlight"><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 class="box notices cstyle note">
|
||||
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Avast</div>
|
||||
<div class="box-content">
|
||||
@ -227,29 +223,26 @@
|
||||
</div>
|
||||
<h2 id="activate-search">Activate search</h2>
|
||||
<p>If not already present, add th' follow'n lines 'n th' same <code>config.toml</code> file.</p>
|
||||
<div class="highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">]</span>
|
||||
</span></span></code></pre></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="wrap-code highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">]</span></span></span></code></pre></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>
|
||||
<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>config.toml</code> file.</p>
|
||||
<div class="highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">,</span> <span class="s2">"SEARCHPAGE"</span><span class="p">]</span>
|
||||
</span></span></code></pre></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>
|
||||
<div class="wrap-code highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">,</span> <span class="s2">"SEARCHPAGE"</span><span class="p">]</span></span></span></code></pre></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="#image-ff530068143bcc7cf3eb07e776e0643c" class="lightbox-link">
|
||||
<a href="#image-9f143b7747ff9975a88dddfd10cdb244" class="lightbox-link">
|
||||
<img src="../../../basics/configuration/search_page.png?&width=60pc" alt="Screenshot o' th' dedicated search page" style="height: auto; width: 60pc;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-ff530068143bcc7cf3eb07e776e0643c">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-9f143b7747ff9975a88dddfd10cdb244">
|
||||
<img src="../../../basics/configuration/search_page.png?&width=60pc" alt="Screenshot o' th' dedicated search page" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<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>config.toml</code> as seen below:</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"PRINT"</span><span class="p">,</span> <span class="s2">"SEARCH"</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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"PRINT"</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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"PRINT"</span><span class="p">]</span>
|
||||
</span></span></code></pre></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>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">plank</span> <span class="p">=</span> <span class="p">[</span><span class="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"PRINT"</span><span class="p">]</span></span></span></code></pre></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>
|
||||
@ -275,7 +268,7 @@
|
||||
<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 two parameters fer th' defined languages:</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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></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>
|
||||
@ -285,17 +278,15 @@ appearance, ye will have t' configure two parameters fer th' defined languages:<
|
||||
</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 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='fas fa-home'></i> Arrr! Homme"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">...</span>
|
||||
</span></span></code></pre></div><p>If those params be not configured fer a specific language, they will get their
|
||||
</span></span><span class="line"><span class="cl"><span class="p">...</span></span></span></code></pre></div><p>If those params be not configured fer a specific language, they will get their
|
||||
default values:</p>
|
||||
<div class="highlight"><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='fas fa-home'></i> Home"</span>
|
||||
</span></span></code></pre></div><p>Th' home button be go'n t' look like this:</p>
|
||||
<div class="wrap-code highlight"><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='fas fa-home'></i> Home"</span></span></span></code></pre></div><p>Th' home button be go'n t' look like this:</p>
|
||||
<p>
|
||||
|
||||
<a href="#image-b5e5dab48509bbb474001c6c39a7ab60" class="lightbox-link">
|
||||
<a href="#image-086d27dcd58d676b6fad5728a03893d1" class="lightbox-link">
|
||||
<img src="../../../basics/configuration/home_button_defaults.png?classes=shadow&width=18.75rem" alt="Default Home Button" class="shadow" style="height: auto; width: 18.75rem;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-b5e5dab48509bbb474001c6c39a7ab60">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-086d27dcd58d676b6fad5728a03893d1">
|
||||
<img src="../../../basics/configuration/home_button_defaults.png?classes=shadow&width=18.75rem" alt="Default Home Button" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
|
||||
@ -385,12 +376,12 @@ default values:</p>
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../../js/auto-complete.js?1687081539" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687081539" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687081539" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687081539" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687081539" defer></script>
|
||||
<script src="../../../js/search.js?1687081539" defer></script>
|
||||
<script src="../../../js/auto-complete.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/search.js?1687389788" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -406,7 +397,6 @@ default values:</p>
|
||||
<li data-nav-id="/pir/cont/pages/index.html" class=""><a class="padding" href="../../../pir/cont/pages/index.html">planks orrrganizat'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/archetypes/index.html" class=""><a class="padding" href="../../../pir/cont/archetypes/index.html">Arrrchetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/markdown/index.html" class=""><a class="padding" href="../../../pir/cont/markdown/index.html">Marrrkdown rules<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../../pir/cont/syntaxhighlight/index.html">Code highlight'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/menushortcuts/index.html" class=""><a class="padding" href="../../../pir/cont/menushortcuts/index.html">Menu extrrra shorrrtcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/i18n/index.html" class=""><a class="padding" href="../../../pir/cont/i18n/index.html">Multilingual an' i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/taxonomy/index.html" class=""><a class="padding" href="../../../pir/cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -426,6 +416,7 @@ default values:</p>
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-085f961452d7baa981ace00de789c321" aria-controls="subsections-085f961452d7baa981ace00de789c321"><label for="section-085f961452d7baa981ace00de789c321"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu plank 3</span></label><a class="padding" href="../../../pir/shortcodes/children/children-3/index.html">plank 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-085f961452d7baa981ace00de789c321" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../../pir/shortcodes/children/children-3/test3/index.html">plank 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/pir/shortcodes/expand/index.html" class=""><a class="padding" href="../../../pir/shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/highlight/index.html" class=""><a class="padding" href="../../../pir/shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/icon/index.html" class=""><a class="padding" href="../../../pir/shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/include/index.html" class=""><a class="padding" href="../../../pir/shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/math/index.html" class=""><a class="padding" href="../../../pir/shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -509,12 +500,12 @@ default values:</p>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../../js/buttons.js?1687081539"></script>
|
||||
<script async src="../../../js/buttons.js?1687389788"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../../js/clipboard.min.js?1687081539" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687081539" defer></script>
|
||||
<script src="../../../js/theme.js?1687081539" defer></script>
|
||||
<script src="../../../js/clipboard.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/theme.js?1687389788" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,21 +13,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/configuration/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/configuration/index.html" rel="canonical" type="text/html" title="Configurrrat'n :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../pir/basics/configuration/index.xml" rel="alternate" type="application/rss+xml" title="Configurrrat'n :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../../css/fontawesome-all.min.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687081541" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687081541" rel="stylesheet" media="print">
|
||||
<link href="../../../css/format-print.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/ie.css?1687081541" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687081541"></script>
|
||||
<script src="../../../js/variant.js?1687081541"></script>
|
||||
<link href="../../../css/fontawesome-all.min.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687389789" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687389789" rel="stylesheet" media="print">
|
||||
<link href="../../../css/format-print.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/ie.css?1687389789" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687389789"></script>
|
||||
<script src="../../../js/variant.js?1687389789"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -83,7 +83,7 @@
|
||||
<h2 id="global-site-parameters">Global ship parameters</h2>
|
||||
<p>On top o' <a href="https://gohugo.io/overview/configuration/" target="_blank">Cap'n Hugo global configurat'n</a>, th' Relearrrn theme lets ye define th' follow'n parameters 'n yer <code>config.toml</code> (here, values be default).</p>
|
||||
<p>Avast that some o' these parameters be explained 'n details 'n other sections o' this documentat'n.</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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"># This controls whether submenus will be expanded (true), or collapsed (false) 'n th'</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="c"># menu; if no sett'n be given, th' first menu level be set t' false, all others t' true;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="c"># this can be overridden 'n th' planks frontmatter</span>
|
||||
@ -160,20 +160,16 @@
|
||||
</span></span><span class="line"><span class="cl"> <span class="c"># t' 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 class="c"># For external links ye can define how they be opened 'n yer browser; this sett'n will only be applied t' th' rrrambl'n area but not th' shortcut menu</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></code></pre></div><h2 id="serving-your-page-from-a-subfolder">Serv'n yer plank from a subfolder</h2>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">externalLinkTarget</span> <span class="p">=</span> <span class="s2">"_blank"</span></span></span></code></pre></div><h2 id="serving-your-page-from-a-subfolder">Serv'n yer plank from a subfolder</h2>
|
||||
<p>If yer ship be served from a subfolder, eg. <code>https://example.com/mysite/</code>, ye have t' set th' follow'n lines t' yer <code>config.toml</code></p>
|
||||
<div class="highlight"><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="s2">"https://example.com/mysite/"</span>
|
||||
<div class="wrap-code highlight"><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="s2">"https://example.com/mysite/"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">canonifyURLs</span> <span class="p">=</span> <span class="kc">true</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><p>Without <code>canonifyURLs=true</code> URLs 'n sublemental planks (like <code>sitemap.xml</code>, <code>rss.xml</code>) will be generated falsly while yer HTML files will still work. See <a href="https://github.com/gohugoio/hugo/issues/5226" target="_blank">https://github.com/gohugoio/hugo/issues/5226</a>.</p>
|
||||
</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><p>Without <code>canonifyURLs=true</code> URLs 'n sublemental planks (like <code>sitemap.xml</code>, <code>rss.xml</code>) will be generated falsly while yer HTML files will still work. See <a href="https://github.com/gohugoio/hugo/issues/5226" target="_blank">https://github.com/gohugoio/hugo/issues/5226</a>.</p>
|
||||
<h2 id="serving-your-page-from-the-filesystem">Serv'n yer plank from th' filesystem</h2>
|
||||
<p>If ye want yer plank served from th' filesystem by us'n URLs start'n wit' <code>file://</code> you’ll need th' follow'n configurat'n 'n yer <code>config.toml</code>:</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><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><p>Th' theme will append an additional <code>index.html</code> t' all branch bundle links by default t' make th' plank 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 also generate th' links without this change by add'n this t' yer <code>config.toml</code></p>
|
||||
<div class="highlight"><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 class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><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><p>Th' theme will append an additional <code>index.html</code> t' all branch bundle links by default t' make th' plank 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 also generate th' links without this change by add'n this t' yer <code>config.toml</code></p>
|
||||
<div class="wrap-code highlight"><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 class="box notices cstyle note">
|
||||
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Avast</div>
|
||||
<div class="box-content">
|
||||
@ -183,29 +179,26 @@
|
||||
</div>
|
||||
<h2 id="activate-search">Activate search</h2>
|
||||
<p>If not already present, add th' follow'n lines 'n th' same <code>config.toml</code> file.</p>
|
||||
<div class="highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">]</span>
|
||||
</span></span></code></pre></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="wrap-code highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">]</span></span></span></code></pre></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>
|
||||
<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>config.toml</code> file.</p>
|
||||
<div class="highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">,</span> <span class="s2">"SEARCHPAGE"</span><span class="p">]</span>
|
||||
</span></span></code></pre></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>
|
||||
<div class="wrap-code highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">,</span> <span class="s2">"SEARCHPAGE"</span><span class="p">]</span></span></span></code></pre></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="#image-ff530068143bcc7cf3eb07e776e0643c" class="lightbox-link">
|
||||
<a href="#image-9f143b7747ff9975a88dddfd10cdb244" class="lightbox-link">
|
||||
<img src="../../../basics/configuration/search_page.png?&width=60pc" alt="Screenshot o' th' dedicated search page" style="height: auto; width: 60pc;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-ff530068143bcc7cf3eb07e776e0643c">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-9f143b7747ff9975a88dddfd10cdb244">
|
||||
<img src="../../../basics/configuration/search_page.png?&width=60pc" alt="Screenshot o' th' dedicated search page" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<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>config.toml</code> as seen below:</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"PRINT"</span><span class="p">,</span> <span class="s2">"SEARCH"</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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"PRINT"</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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"PRINT"</span><span class="p">]</span>
|
||||
</span></span></code></pre></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>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">plank</span> <span class="p">=</span> <span class="p">[</span><span class="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"PRINT"</span><span class="p">]</span></span></span></code></pre></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>
|
||||
@ -231,7 +224,7 @@
|
||||
<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 two parameters fer th' defined languages:</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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></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>
|
||||
@ -241,17 +234,15 @@ appearance, ye will have t' configure two parameters fer th' defined languages:<
|
||||
</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 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='fas fa-home'></i> Arrr! Homme"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">...</span>
|
||||
</span></span></code></pre></div><p>If those params be not configured fer a specific language, they will get their
|
||||
</span></span><span class="line"><span class="cl"><span class="p">...</span></span></span></code></pre></div><p>If those params be not configured fer a specific language, they will get their
|
||||
default values:</p>
|
||||
<div class="highlight"><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='fas fa-home'></i> Home"</span>
|
||||
</span></span></code></pre></div><p>Th' home button be go'n t' look like this:</p>
|
||||
<div class="wrap-code highlight"><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='fas fa-home'></i> Home"</span></span></span></code></pre></div><p>Th' home button be go'n t' look like this:</p>
|
||||
<p>
|
||||
|
||||
<a href="#image-b5e5dab48509bbb474001c6c39a7ab60" class="lightbox-link">
|
||||
<a href="#image-086d27dcd58d676b6fad5728a03893d1" class="lightbox-link">
|
||||
<img src="../../../basics/configuration/home_button_defaults.png?classes=shadow&width=18.75rem" alt="Default Home Button" class="shadow" style="height: auto; width: 18.75rem;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-b5e5dab48509bbb474001c6c39a7ab60">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-086d27dcd58d676b6fad5728a03893d1">
|
||||
<img src="../../../basics/configuration/home_button_defaults.png?classes=shadow&width=18.75rem" alt="Default Home Button" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
|
||||
@ -264,8 +255,8 @@ default values:</p>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../../js/clipboard.min.js?1687081541" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687081541" defer></script>
|
||||
<script src="../../../js/theme.js?1687081541" defer></script>
|
||||
<script src="../../../js/clipboard.min.js?1687389790" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687389790" defer></script>
|
||||
<script src="../../../js/theme.js?1687389790" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/customization/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../../pir/basics/customization/index.xml" rel="alternate" type="application/rss+xml" title="Customizat'n :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../pir/basics/customization/index.print.html" rel="alternate" type="text/html" title="Customizat'n :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687081538"></script>
|
||||
<script src="../../../js/variant.js?1687081538"></script>
|
||||
<link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687389786"></script>
|
||||
<script src="../../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -162,21 +162,18 @@ If ye have requirements t' support IE and/or older browser versions, use one o'
|
||||
</div>
|
||||
<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 'n <code>layouts/partials/</code> named <code>favicon.html</code>. Then write someth'n like this:</p>
|
||||
<div class="highlight"><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><h2 id="theme-variant">Change th' colors</h2>
|
||||
<div class="wrap-code highlight"><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><h2 id="theme-variant">Change th' colors</h2>
|
||||
<p>Th' Relearrrn theme lets ye choose between some predefined color variants 'n light or dark mode, but feel free t' add one yourself!</p>
|
||||
<p>Ye can preview th' shipped variants by chang'n them 'n th' variant selector at th' bottom o' th' menu.</p>
|
||||
<h3 id="single-variant">Single variant</h3>
|
||||
<p>Set th' <code>themeVariant</code> value wit' th' name o' yer theme file. That’s it!</p>
|
||||
<div class="highlight"><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="s2">"relearn-light"</span>
|
||||
</span></span></code></pre></div><p>In th' above example yer theme file has t' be named <code>theme-relearn-light.css</code></p>
|
||||
<div class="wrap-code highlight"><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="s2">"relearn-light"</span></span></span></code></pre></div><p>In th' above example yer theme file has t' be named <code>theme-relearn-light.css</code></p>
|
||||
<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 switch will be shown 'n th' menu footer.</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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"># Change default color scheme wit' a variant one.</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">themeVariant</span> <span class="p">=</span> <span class="p">[</span> <span class="s2">"relearn-light"</span><span class="p">,</span> <span class="s2">"relearn-dark"</span> <span class="p">]</span>
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">themeVariant</span> <span class="p">=</span> <span class="p">[</span> <span class="s2">"relearn-light"</span><span class="p">,</span> <span class="s2">"relearn-dark"</span> <span class="p">]</span></span></span></code></pre></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">
|
||||
@ -187,13 +184,11 @@ If ye have requirements t' support IE and/or older browser versions, use one o'
|
||||
<h3 id="adjust-to-os-settings">Adjust t' OS Sett'ns</h3>
|
||||
<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>. That’s it.</p>
|
||||
<p>If you’ve set multiple variants, ye can drop <code>auto</code> at any posit'n, but usually it makes sense t' set it 'n th' first posit'n an' make it th' default.</p>
|
||||
<div class="highlight"><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="s2">"auto"</span><span class="p">,</span> <span class="s2">"red"</span> <span class="p">]</span>
|
||||
</span></span></code></pre></div><p>If ye don’t configure anyth'n else, th' theme will use <code>relearn-light</code> fer light mode an' <code>relearn-dark</code> fer dark mode.</p>
|
||||
<div class="wrap-code highlight"><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="s2">"auto"</span><span class="p">,</span> <span class="s2">"red"</span> <span class="p">]</span></span></span></code></pre></div><p>If ye don’t configure anyth'n else, th' theme will use <code>relearn-light</code> fer light mode an' <code>relearn-dark</code> fer dark mode.</p>
|
||||
<p>If ye don’t like that, ye can set <code>themeVariantAuto</code>. Th' first element be th' variant fer light mode, th' second fer dark mode</p>
|
||||
<div class="highlight"><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="s2">"learn"</span><span class="p">,</span> <span class="s2">"neon"</span> <span class="p">]</span>
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><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="s2">"learn"</span><span class="p">,</span> <span class="s2">"neon"</span> <span class="p">]</span></span></span></code></pre></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">
|
||||
@ -295,12 +290,12 @@ If ye have requirements t' support IE and/or older browser versions, use one o'
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../../js/auto-complete.js?1687081539" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687081539" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687081539" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687081539" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687081539" defer></script>
|
||||
<script src="../../../js/search.js?1687081539" defer></script>
|
||||
<script src="../../../js/auto-complete.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/search.js?1687389788" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -316,7 +311,6 @@ If ye have requirements t' support IE and/or older browser versions, use one o'
|
||||
<li data-nav-id="/pir/cont/pages/index.html" class=""><a class="padding" href="../../../pir/cont/pages/index.html">planks orrrganizat'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/archetypes/index.html" class=""><a class="padding" href="../../../pir/cont/archetypes/index.html">Arrrchetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/markdown/index.html" class=""><a class="padding" href="../../../pir/cont/markdown/index.html">Marrrkdown rules<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../../pir/cont/syntaxhighlight/index.html">Code highlight'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/menushortcuts/index.html" class=""><a class="padding" href="../../../pir/cont/menushortcuts/index.html">Menu extrrra shorrrtcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/i18n/index.html" class=""><a class="padding" href="../../../pir/cont/i18n/index.html">Multilingual an' i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/taxonomy/index.html" class=""><a class="padding" href="../../../pir/cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -336,6 +330,7 @@ If ye have requirements t' support IE and/or older browser versions, use one o'
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-085f961452d7baa981ace00de789c321" aria-controls="subsections-085f961452d7baa981ace00de789c321"><label for="section-085f961452d7baa981ace00de789c321"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu plank 3</span></label><a class="padding" href="../../../pir/shortcodes/children/children-3/index.html">plank 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-085f961452d7baa981ace00de789c321" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../../pir/shortcodes/children/children-3/test3/index.html">plank 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/pir/shortcodes/expand/index.html" class=""><a class="padding" href="../../../pir/shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/highlight/index.html" class=""><a class="padding" href="../../../pir/shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/icon/index.html" class=""><a class="padding" href="../../../pir/shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/include/index.html" class=""><a class="padding" href="../../../pir/shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/math/index.html" class=""><a class="padding" href="../../../pir/shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -419,12 +414,12 @@ If ye have requirements t' support IE and/or older browser versions, use one o'
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../../js/buttons.js?1687081539"></script>
|
||||
<script async src="../../../js/buttons.js?1687389788"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../../js/clipboard.min.js?1687081539" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687081539" defer></script>
|
||||
<script src="../../../js/theme.js?1687081539" defer></script>
|
||||
<script src="../../../js/clipboard.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/theme.js?1687389788" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,21 +13,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/customization/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/customization/index.html" rel="canonical" type="text/html" title="Customizat'n :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../pir/basics/customization/index.xml" rel="alternate" type="application/rss+xml" title="Customizat'n :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../../css/fontawesome-all.min.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687081541" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687081541" rel="stylesheet" media="print">
|
||||
<link href="../../../css/format-print.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/ie.css?1687081541" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687081541"></script>
|
||||
<script src="../../../js/variant.js?1687081541"></script>
|
||||
<link href="../../../css/fontawesome-all.min.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687389789" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687389789" rel="stylesheet" media="print">
|
||||
<link href="../../../css/format-print.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/ie.css?1687389789" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687389789"></script>
|
||||
<script src="../../../js/variant.js?1687389789"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -127,21 +127,18 @@ If ye have requirements t' support IE and/or older browser versions, use one o'
|
||||
</div>
|
||||
<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 'n <code>layouts/partials/</code> named <code>favicon.html</code>. Then write someth'n like this:</p>
|
||||
<div class="highlight"><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><h2 id="theme-variant">Change th' colors</h2>
|
||||
<div class="wrap-code highlight"><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><h2 id="theme-variant">Change th' colors</h2>
|
||||
<p>Th' Relearrrn theme lets ye choose between some predefined color variants 'n light or dark mode, but feel free t' add one yourself!</p>
|
||||
<p>Ye can preview th' shipped variants by chang'n them 'n th' variant selector at th' bottom o' th' menu.</p>
|
||||
<h3 id="single-variant">Single variant</h3>
|
||||
<p>Set th' <code>themeVariant</code> value wit' th' name o' yer theme file. That’s it!</p>
|
||||
<div class="highlight"><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="s2">"relearn-light"</span>
|
||||
</span></span></code></pre></div><p>In th' above example yer theme file has t' be named <code>theme-relearn-light.css</code></p>
|
||||
<div class="wrap-code highlight"><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="s2">"relearn-light"</span></span></span></code></pre></div><p>In th' above example yer theme file has t' be named <code>theme-relearn-light.css</code></p>
|
||||
<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 switch will be shown 'n th' menu footer.</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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"># Change default color scheme wit' a variant one.</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">themeVariant</span> <span class="p">=</span> <span class="p">[</span> <span class="s2">"relearn-light"</span><span class="p">,</span> <span class="s2">"relearn-dark"</span> <span class="p">]</span>
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">themeVariant</span> <span class="p">=</span> <span class="p">[</span> <span class="s2">"relearn-light"</span><span class="p">,</span> <span class="s2">"relearn-dark"</span> <span class="p">]</span></span></span></code></pre></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">
|
||||
@ -152,13 +149,11 @@ If ye have requirements t' support IE and/or older browser versions, use one o'
|
||||
<h3 id="adjust-to-os-settings">Adjust t' OS Sett'ns</h3>
|
||||
<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>. That’s it.</p>
|
||||
<p>If you’ve set multiple variants, ye can drop <code>auto</code> at any posit'n, but usually it makes sense t' set it 'n th' first posit'n an' make it th' default.</p>
|
||||
<div class="highlight"><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="s2">"auto"</span><span class="p">,</span> <span class="s2">"red"</span> <span class="p">]</span>
|
||||
</span></span></code></pre></div><p>If ye don’t configure anyth'n else, th' theme will use <code>relearn-light</code> fer light mode an' <code>relearn-dark</code> fer dark mode.</p>
|
||||
<div class="wrap-code highlight"><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="s2">"auto"</span><span class="p">,</span> <span class="s2">"red"</span> <span class="p">]</span></span></span></code></pre></div><p>If ye don’t configure anyth'n else, th' theme will use <code>relearn-light</code> fer light mode an' <code>relearn-dark</code> fer dark mode.</p>
|
||||
<p>If ye don’t like that, ye can set <code>themeVariantAuto</code>. Th' first element be th' variant fer light mode, th' second fer dark mode</p>
|
||||
<div class="highlight"><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="s2">"learn"</span><span class="p">,</span> <span class="s2">"neon"</span> <span class="p">]</span>
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><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="s2">"learn"</span><span class="p">,</span> <span class="s2">"neon"</span> <span class="p">]</span></span></span></code></pre></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">
|
||||
@ -183,8 +178,8 @@ If ye have requirements t' support IE and/or older browser versions, use one o'
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../../js/clipboard.min.js?1687081541" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687081541" defer></script>
|
||||
<script src="../../../js/theme.js?1687081541" defer></script>
|
||||
<script src="../../../js/clipboard.min.js?1687389790" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687389790" defer></script>
|
||||
<script src="../../../js/theme.js?1687389790" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/generator/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../../pir/basics/generator/index.xml" rel="alternate" type="application/rss+xml" title="Stylesheet generrrat'r :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../pir/basics/generator/index.print.html" rel="alternate" type="text/html" title="Stylesheet generrrat'r :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687081538"></script>
|
||||
<script src="../../../js/variant.js?1687081538"></script>
|
||||
<link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687389786"></script>
|
||||
<script src="../../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -95,13 +95,13 @@
|
||||
<p>This interactive tool may help ye t' generate yer own color variant stylesheet.</p>
|
||||
|
||||
<div class="expand">
|
||||
<input type="checkbox" id="expand-3cbde928b53a62b438e97852a8ce4689" aria-controls="expandcontent-3cbde928b53a62b438e97852a8ce4689" >
|
||||
<label class="expand-label" for="expand-3cbde928b53a62b438e97852a8ce4689" >
|
||||
<input type="checkbox" id="expand-16e53653c0d7660cdf94f5aefadee3f3" aria-controls="expandcontent-16e53653c0d7660cdf94f5aefadee3f3" >
|
||||
<label class="expand-label" for="expand-16e53653c0d7660cdf94f5aefadee3f3" >
|
||||
<i class="fas fa-chevron-down"></i>
|
||||
<i class="fas fa-chevron-right"></i>
|
||||
Show usage instruct'ns
|
||||
</label>
|
||||
<div id="expandcontent-3cbde928b53a62b438e97852a8ce4689" class="expand-content">
|
||||
<div id="expandcontent-16e53653c0d7660cdf94f5aefadee3f3" class="expand-content">
|
||||
|
||||
<p>T' get started, first select a color variant from th' variant switch '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>
|
||||
@ -233,12 +233,12 @@ window.variants && variants.generator( '#vargenerator' );
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../../js/auto-complete.js?1687081539" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687081539" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687081539" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687081539" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687081539" defer></script>
|
||||
<script src="../../../js/search.js?1687081539" defer></script>
|
||||
<script src="../../../js/auto-complete.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/search.js?1687389788" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -254,7 +254,6 @@ window.variants && variants.generator( '#vargenerator' );
|
||||
<li data-nav-id="/pir/cont/pages/index.html" class=""><a class="padding" href="../../../pir/cont/pages/index.html">planks orrrganizat'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/archetypes/index.html" class=""><a class="padding" href="../../../pir/cont/archetypes/index.html">Arrrchetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/markdown/index.html" class=""><a class="padding" href="../../../pir/cont/markdown/index.html">Marrrkdown rules<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../../pir/cont/syntaxhighlight/index.html">Code highlight'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/menushortcuts/index.html" class=""><a class="padding" href="../../../pir/cont/menushortcuts/index.html">Menu extrrra shorrrtcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/i18n/index.html" class=""><a class="padding" href="../../../pir/cont/i18n/index.html">Multilingual an' i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/taxonomy/index.html" class=""><a class="padding" href="../../../pir/cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -274,6 +273,7 @@ window.variants && variants.generator( '#vargenerator' );
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-085f961452d7baa981ace00de789c321" aria-controls="subsections-085f961452d7baa981ace00de789c321"><label for="section-085f961452d7baa981ace00de789c321"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu plank 3</span></label><a class="padding" href="../../../pir/shortcodes/children/children-3/index.html">plank 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-085f961452d7baa981ace00de789c321" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../../pir/shortcodes/children/children-3/test3/index.html">plank 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/pir/shortcodes/expand/index.html" class=""><a class="padding" href="../../../pir/shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/highlight/index.html" class=""><a class="padding" href="../../../pir/shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/icon/index.html" class=""><a class="padding" href="../../../pir/shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/include/index.html" class=""><a class="padding" href="../../../pir/shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/math/index.html" class=""><a class="padding" href="../../../pir/shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -357,12 +357,12 @@ window.variants && variants.generator( '#vargenerator' );
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../../js/buttons.js?1687081539"></script>
|
||||
<script async src="../../../js/buttons.js?1687389788"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../../js/clipboard.min.js?1687081539" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687081539" defer></script>
|
||||
<script src="../../../js/theme.js?1687081539" defer></script>
|
||||
<script src="../../../js/clipboard.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/theme.js?1687389788" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,21 +13,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/generator/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/generator/index.html" rel="canonical" type="text/html" title="Stylesheet generrrat'r :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../pir/basics/generator/index.xml" rel="alternate" type="application/rss+xml" title="Stylesheet generrrat'r :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../../css/fontawesome-all.min.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687081541" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687081541" rel="stylesheet" media="print">
|
||||
<link href="../../../css/format-print.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/ie.css?1687081541" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687081541"></script>
|
||||
<script src="../../../js/variant.js?1687081541"></script>
|
||||
<link href="../../../css/fontawesome-all.min.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687389789" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687389789" rel="stylesheet" media="print">
|
||||
<link href="../../../css/format-print.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/ie.css?1687389789" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687389789"></script>
|
||||
<script src="../../../js/variant.js?1687389789"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -80,13 +80,13 @@
|
||||
<p>This interactive tool may help ye t' generate yer own color variant stylesheet.</p>
|
||||
|
||||
<div class="expand">
|
||||
<input type="checkbox" id="expand-3cbde928b53a62b438e97852a8ce4689" aria-controls="expandcontent-3cbde928b53a62b438e97852a8ce4689" >
|
||||
<label class="expand-label" for="expand-3cbde928b53a62b438e97852a8ce4689" >
|
||||
<input type="checkbox" id="expand-16e53653c0d7660cdf94f5aefadee3f3" aria-controls="expandcontent-16e53653c0d7660cdf94f5aefadee3f3" >
|
||||
<label class="expand-label" for="expand-16e53653c0d7660cdf94f5aefadee3f3" >
|
||||
<i class="fas fa-chevron-down"></i>
|
||||
<i class="fas fa-chevron-right"></i>
|
||||
Show usage instruct'ns
|
||||
</label>
|
||||
<div id="expandcontent-3cbde928b53a62b438e97852a8ce4689" class="expand-content">
|
||||
<div id="expandcontent-16e53653c0d7660cdf94f5aefadee3f3" class="expand-content">
|
||||
|
||||
<p>T' get started, first select a color variant from th' variant switch '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>
|
||||
@ -141,8 +141,8 @@ window.variants && variants.generator( '#vargenerator' );
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../../js/clipboard.min.js?1687081541" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687081541" defer></script>
|
||||
<script src="../../../js/theme.js?1687081541" defer></script>
|
||||
<script src="../../../js/clipboard.min.js?1687389790" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687389790" defer></script>
|
||||
<script src="../../../js/theme.js?1687389790" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/history/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../../pir/basics/history/index.xml" rel="alternate" type="application/rss+xml" title="Historrry :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../pir/basics/history/index.print.html" rel="alternate" type="text/html" title="Historrry :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687081538"></script>
|
||||
<script src="../../../js/variant.js?1687081538"></script>
|
||||
<link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687389786"></script>
|
||||
<script src="../../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -1961,12 +1961,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../../js/auto-complete.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/search.js?1687081540" defer></script>
|
||||
<script src="../../../js/auto-complete.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/search.js?1687389788" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -1982,7 +1982,6 @@
|
||||
<li data-nav-id="/pir/cont/pages/index.html" class=""><a class="padding" href="../../../pir/cont/pages/index.html">planks orrrganizat'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/archetypes/index.html" class=""><a class="padding" href="../../../pir/cont/archetypes/index.html">Arrrchetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/markdown/index.html" class=""><a class="padding" href="../../../pir/cont/markdown/index.html">Marrrkdown rules<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../../pir/cont/syntaxhighlight/index.html">Code highlight'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/menushortcuts/index.html" class=""><a class="padding" href="../../../pir/cont/menushortcuts/index.html">Menu extrrra shorrrtcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/i18n/index.html" class=""><a class="padding" href="../../../pir/cont/i18n/index.html">Multilingual an' i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/taxonomy/index.html" class=""><a class="padding" href="../../../pir/cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -2002,6 +2001,7 @@
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-085f961452d7baa981ace00de789c321" aria-controls="subsections-085f961452d7baa981ace00de789c321"><label for="section-085f961452d7baa981ace00de789c321"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu plank 3</span></label><a class="padding" href="../../../pir/shortcodes/children/children-3/index.html">plank 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-085f961452d7baa981ace00de789c321" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../../pir/shortcodes/children/children-3/test3/index.html">plank 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/pir/shortcodes/expand/index.html" class=""><a class="padding" href="../../../pir/shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/highlight/index.html" class=""><a class="padding" href="../../../pir/shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/icon/index.html" class=""><a class="padding" href="../../../pir/shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/include/index.html" class=""><a class="padding" href="../../../pir/shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/math/index.html" class=""><a class="padding" href="../../../pir/shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -2085,12 +2085,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../../js/buttons.js?1687081540"></script>
|
||||
<script async src="../../../js/buttons.js?1687389788"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../../js/clipboard.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/theme.js?1687081540" defer></script>
|
||||
<script src="../../../js/clipboard.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/theme.js?1687389788" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,21 +13,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/history/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/history/index.html" rel="canonical" type="text/html" title="Historrry :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../pir/basics/history/index.xml" rel="alternate" type="application/rss+xml" title="Historrry :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../../css/fontawesome-all.min.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687081541" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687081541" rel="stylesheet" media="print">
|
||||
<link href="../../../css/format-print.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/ie.css?1687081541" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687081541"></script>
|
||||
<script src="../../../js/variant.js?1687081541"></script>
|
||||
<link href="../../../css/fontawesome-all.min.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687389789" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687389789" rel="stylesheet" media="print">
|
||||
<link href="../../../css/format-print.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/ie.css?1687389789" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687389789"></script>
|
||||
<script src="../../../js/variant.js?1687389789"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -1224,8 +1224,8 @@
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../../js/clipboard.min.js?1687081541" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687081541" defer></script>
|
||||
<script src="../../../js/theme.js?1687081541" defer></script>
|
||||
<script src="../../../js/clipboard.min.js?1687389790" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687389790" defer></script>
|
||||
<script src="../../../js/theme.js?1687389790" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../pir/basics/index.xml" rel="alternate" type="application/rss+xml" title="Basics :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../pir/basics/index.print.html" rel="alternate" type="text/html" title="Basics :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081538"></script>
|
||||
<script src="../../js/variant.js?1687081538"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389786"></script>
|
||||
<script src="../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -180,12 +180,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../js/auto-complete.js?1687081539" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687081539" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687081539" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687081539" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687081539" defer></script>
|
||||
<script src="../../js/search.js?1687081539" defer></script>
|
||||
<script src="../../js/auto-complete.js?1687389788" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687389788" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687389788" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687389788" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687389788" defer></script>
|
||||
<script src="../../js/search.js?1687389788" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -201,7 +201,6 @@
|
||||
<li data-nav-id="/pir/cont/pages/index.html" class=""><a class="padding" href="../../pir/cont/pages/index.html">planks orrrganizat'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/archetypes/index.html" class=""><a class="padding" href="../../pir/cont/archetypes/index.html">Arrrchetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/markdown/index.html" class=""><a class="padding" href="../../pir/cont/markdown/index.html">Marrrkdown rules<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../pir/cont/syntaxhighlight/index.html">Code highlight'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/menushortcuts/index.html" class=""><a class="padding" href="../../pir/cont/menushortcuts/index.html">Menu extrrra shorrrtcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/i18n/index.html" class=""><a class="padding" href="../../pir/cont/i18n/index.html">Multilingual an' i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/taxonomy/index.html" class=""><a class="padding" href="../../pir/cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -221,6 +220,7 @@
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-085f961452d7baa981ace00de789c321" aria-controls="subsections-085f961452d7baa981ace00de789c321"><label for="section-085f961452d7baa981ace00de789c321"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu plank 3</span></label><a class="padding" href="../../pir/shortcodes/children/children-3/index.html">plank 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-085f961452d7baa981ace00de789c321" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../pir/shortcodes/children/children-3/test3/index.html">plank 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/pir/shortcodes/expand/index.html" class=""><a class="padding" href="../../pir/shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/highlight/index.html" class=""><a class="padding" href="../../pir/shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/icon/index.html" class=""><a class="padding" href="../../pir/shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/include/index.html" class=""><a class="padding" href="../../pir/shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/math/index.html" class=""><a class="padding" href="../../pir/shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -304,12 +304,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../js/buttons.js?1687081539"></script>
|
||||
<script async src="../../js/buttons.js?1687389788"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../js/clipboard.min.js?1687081539" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081539" defer></script>
|
||||
<script src="../../js/theme.js?1687081539" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389788" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389788" defer></script>
|
||||
<script src="../../js/theme.js?1687389788" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,21 +13,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/index.html" rel="alternate" hreflang="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="../../pir/basics/index.xml" rel="alternate" type="application/rss+xml" title="Basics :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081541" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081541" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081541" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081541" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081541" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081541" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687081541" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687081541" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081541"></script>
|
||||
<script src="../../js/variant.js?1687081541"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389789" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389789" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389789" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389789" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389789" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389789" rel="stylesheet" media="print">
|
||||
<link href="../../css/format-print.css?1687389789" rel="stylesheet">
|
||||
<link href="../../css/ie.css?1687389789" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389789"></script>
|
||||
<script src="../../js/variant.js?1687389789"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -107,6 +107,14 @@
|
||||
<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>
|
||||
<!--GH-ACTION-RELEASE-MILESTONE-->
|
||||
<hr>
|
||||
<h2 id="5170-2023-06-20">5.17.0 (2023-06-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' new <a href="../../shortcodes/highlight/"><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-2023-06-10">5.16.0 (2023-06-10)</h2>
|
||||
<ul>
|
||||
<li>
|
||||
@ -184,14 +192,13 @@
|
||||
<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" 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="highlight"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
||||
<div class="wrap-code highlight"><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></li>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></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="../../pir/basics/migration/">pirate translat'n</a>. This feature be not avail'ble 'n Internet Explorer 11.</p>
|
||||
</li>
|
||||
@ -205,8 +212,7 @@
|
||||
<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" 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="highlight"><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></li>
|
||||
<div class="wrap-code highlight"><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></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="../../shortcodes/mermaid/#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>
|
||||
@ -249,18 +255,16 @@
|
||||
<ol>
|
||||
<li>
|
||||
<p>Make th' plank file fer th' <code>More</code> section a <a href="https://gohugo.io/content-management/page-bundles/#headless-bundle" 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</code>). This causes its rrrambl'n t' <strong>not</strong> be contained 'n th' sitemap.</p>
|
||||
<div class="highlight"><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">_build</span><span class="p">]</span>
|
||||
<div class="wrap-code highlight"><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">_build</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">render</span> <span class="p">=</span> <span class="s2">"never"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">list</span> <span class="p">=</span> <span class="s2">"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></code></pre></div></li>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">publishResources</span> <span class="p">=</span> <span class="kc">false</span></span></span></code></pre></div></li>
|
||||
<li>
|
||||
<p>Store th' plank file fer th' <code>More</code> section below a parent headless branch bundle an' add th' follow'n frontmatter t' th' <strong>parent</strong>. In this case, th' file itself can be a branch bundle, leaf bundle or simple plank (see exampleSite’s <code>content/more/</code> an' <code>content/more/credits</code>). This causes its rrrambl'n t' be contained 'n th' sitemap.</p>
|
||||
<div class="highlight"><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">_build</span><span class="p">]</span>
|
||||
<div class="wrap-code highlight"><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">_build</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">render</span> <span class="p">=</span> <span class="s2">"always"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">list</span> <span class="p">=</span> <span class="s2">"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></code></pre></div></li>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">publishResources</span> <span class="p">=</span> <span class="kc">true</span></span></span></code></pre></div></li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>
|
||||
@ -397,23 +401,21 @@
|
||||
<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' PRINT output format sett'n 'n yer <code>config.toml</code>t':</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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">name</span><span class="p">=</span> <span class="s2">"PRINT"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">baseName</span> <span class="p">=</span> <span class="s2">"index"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">path</span> <span class="p">=</span> <span class="s2">"_print"</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">permalink'ble</span> <span class="p">=</span> <span class="kc">false</span>
|
||||
</span></span></code></pre></div></li>
|
||||
</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></li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h2 id="500-2022-07-05">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"><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>
|
||||
<div class="wrap-code highlight"><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="../../cont/archetypes/">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 aft th' upgrade. Nevertheless, it be recommended t' adapt yer exist'n markdown files t' th' new way as follows:</p>
|
||||
@ -597,8 +599,7 @@
|
||||
<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" 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> aft an upgrade an' no errors be written t' th' console.</p>
|
||||
<p>Ye may see errors on th' console aft th' update 'n th' form:</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-sh" data-lang="sh"><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>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-sh" data-lang="sh"><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>
|
||||
@ -765,10 +766,10 @@
|
||||
<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="fab fa-hackerrank"></i></span><span class="badge-content" style="background-color: fuchsia;">0.95.0</span></span> o' th' <a href="https://gohugo.io/getting-started/installing/" target="_blank">Cap'n Hugo binary</a> fer yer OS (Windows, Linux, Mac).</p>
|
||||
<p>
|
||||
<a href="#image-1abe3809007448fcedcb28fb7b54344d" class="lightbox-link">
|
||||
<a href="#image-871077cd3074012978875094348b754f" class="lightbox-link">
|
||||
<img src="../../basics/requirements/magic.gif?classes=shadow" alt="Magic" class="shadow" style="height: auto; width: auto;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-1abe3809007448fcedcb28fb7b54344d">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-871077cd3074012978875094348b754f">
|
||||
<img src="../../basics/requirements/magic.gif?classes=shadow" alt="Magic" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
|
||||
@ -792,8 +793,7 @@
|
||||
<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/" target="_blank">great documentat'n fer beginners</a>.</p>
|
||||
<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>
|
||||
<pre tabindex="0"><code>hugo new ship <new_project>
|
||||
</code></pre><h2 id="install-the-theme">Install th' theme</h2>
|
||||
<div class="wrap-code highlight"><pre tabindex="0"><code>hugo new ship <new_project></code></pre></div><h2 id="install-the-theme">Install th' theme</h2>
|
||||
<p>Install th' Relearrrn theme by follow'n <a href="https://gohugo.io/hugo-modules/use-modules/#use-a-module-for-a-theme" 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" target="_blank">https://github.com/McShelby/hugo-theme-relearn.git</a></p>
|
||||
<p>Alternatively, ye can <a href="https://github.com/McShelby/hugo-theme-relearn/archive/main.zip" target="_blank">download th' theme as .zip</a> file an' extract it 'n th' <code>themes</code> directory</p>
|
||||
@ -804,41 +804,36 @@
|
||||
<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>config.toml</code>) an' set th' theme as th' default. Ye can also add th' <code>[outputs]</code> section t' en'ble th' search functionality.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="c"># Change th' default theme t' be use when build'n th' ship wit' Cap'n Hugo</span>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="c"># Change th' default theme t' be use when build'n th' ship wit' Cap'n Hugo</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">theme</span> <span class="p">=</span> <span class="s2">"hugo-theme-relearn"</span>
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl"><span class="c"># For search functionality</span>
|
||||
</span></span><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">]</span>
|
||||
</span></span></code></pre></div><h2 id="create-your-first-chapter-page">Create yer first chapter plank</h2>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">home</span> <span class="p">=</span> <span class="p">[</span> <span class="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">]</span></span></span></code></pre></div><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 a <em>chapter name</em>, th' <em>title</em> an' a <em>brief abstract</em> o' th' section.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="gu">### Chapter 1
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="gu">### Chapter 1
|
||||
</span></span></span><span class="line"><span class="cl"><span class="gu"></span>
|
||||
</span></span><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>
|
||||
</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="#image-74ff1fbdcccabd79e2954334712247c1" class="lightbox-link">
|
||||
<a href="#image-745f73ee3a208921efcc57bcbfb4b68c" class="lightbox-link">
|
||||
<img src="../../basics/installation/chapter.png?classes=shadow&width=60pc" alt="A Chapter" class="shadow" style="height: auto; width: 60pc;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-74ff1fbdcccabd79e2954334712247c1">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-745f73ee3a208921efcc57bcbfb4b68c">
|
||||
<img src="../../basics/installation/chapter.png?classes=shadow&width=60pc" alt="A Chapter" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<p>Th' Relearrrn theme provides archetypes t' create skeletons fer yer website. Begin by creat'n yer first chapter plank wit' th' follow'n command</p>
|
||||
<div class="highlight"><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>chapter=true</code> on top, mean'n this plank be a <em>chapter</em>.</p>
|
||||
<div class="wrap-code highlight"><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>chapter=true</code> on top, mean'n this plank be a <em>chapter</em>.</p>
|
||||
<p>By default all chapters an' planks be created as a draft. If ye want t' render these planks, remove th' property <code>draft: true</code> from th' metadata.</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"><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>
|
||||
<div class="wrap-code highlight"><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"><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>
|
||||
<div class="wrap-code highlight"><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>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>
|
||||
@ -847,8 +842,7 @@
|
||||
</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"><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 static rrrambl'n an' assets fer yer website. It can now be deployed on any web server.</p>
|
||||
<div class="wrap-code highlight"><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 static rrrambl'n an' assets fer yer website. It can now be deployed on any web server.</p>
|
||||
|
||||
<div class="box notices cstyle note">
|
||||
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Avast</div>
|
||||
@ -876,7 +870,7 @@
|
||||
<h2 id="global-site-parameters">Global ship parameters</h2>
|
||||
<p>On top o' <a href="https://gohugo.io/overview/configuration/" target="_blank">Cap'n Hugo global configurat'n</a>, th' Relearrrn theme lets ye define th' follow'n parameters 'n yer <code>config.toml</code> (here, values be default).</p>
|
||||
<p>Avast that some o' these parameters be explained 'n details 'n other sections o' this documentat'n.</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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"># This controls whether submenus will be expanded (true), or collapsed (false) 'n th'</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="c"># menu; if no sett'n be given, th' first menu level be set t' false, all others t' true;</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="c"># this can be overridden 'n th' planks frontmatter</span>
|
||||
@ -953,20 +947,16 @@
|
||||
</span></span><span class="line"><span class="cl"> <span class="c"># t' 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 class="c"># For external links ye can define how they be opened 'n yer browser; this sett'n will only be applied t' th' rrrambl'n area but not th' shortcut menu</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></code></pre></div><h2 id="serving-your-page-from-a-subfolder">Serv'n yer plank from a subfolder</h2>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">externalLinkTarget</span> <span class="p">=</span> <span class="s2">"_blank"</span></span></span></code></pre></div><h2 id="serving-your-page-from-a-subfolder">Serv'n yer plank from a subfolder</h2>
|
||||
<p>If yer ship be served from a subfolder, eg. <code>https://example.com/mysite/</code>, ye have t' set th' follow'n lines t' yer <code>config.toml</code></p>
|
||||
<div class="highlight"><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="s2">"https://example.com/mysite/"</span>
|
||||
<div class="wrap-code highlight"><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="s2">"https://example.com/mysite/"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">canonifyURLs</span> <span class="p">=</span> <span class="kc">true</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><p>Without <code>canonifyURLs=true</code> URLs 'n sublemental planks (like <code>sitemap.xml</code>, <code>rss.xml</code>) will be generated falsly while yer HTML files will still work. See <a href="https://github.com/gohugoio/hugo/issues/5226" target="_blank">https://github.com/gohugoio/hugo/issues/5226</a>.</p>
|
||||
</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><p>Without <code>canonifyURLs=true</code> URLs 'n sublemental planks (like <code>sitemap.xml</code>, <code>rss.xml</code>) will be generated falsly while yer HTML files will still work. See <a href="https://github.com/gohugoio/hugo/issues/5226" target="_blank">https://github.com/gohugoio/hugo/issues/5226</a>.</p>
|
||||
<h2 id="serving-your-page-from-the-filesystem">Serv'n yer plank from th' filesystem</h2>
|
||||
<p>If ye want yer plank served from th' filesystem by us'n URLs start'n wit' <code>file://</code> you’ll need th' follow'n configurat'n 'n yer <code>config.toml</code>:</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><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><p>Th' theme will append an additional <code>index.html</code> t' all branch bundle links by default t' make th' plank 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 also generate th' links without this change by add'n this t' yer <code>config.toml</code></p>
|
||||
<div class="highlight"><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 class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><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><p>Th' theme will append an additional <code>index.html</code> t' all branch bundle links by default t' make th' plank 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 also generate th' links without this change by add'n this t' yer <code>config.toml</code></p>
|
||||
<div class="wrap-code highlight"><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 class="box notices cstyle note">
|
||||
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Avast</div>
|
||||
<div class="box-content">
|
||||
@ -976,29 +966,26 @@
|
||||
</div>
|
||||
<h2 id="activate-search">Activate search</h2>
|
||||
<p>If not already present, add th' follow'n lines 'n th' same <code>config.toml</code> file.</p>
|
||||
<div class="highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">]</span>
|
||||
</span></span></code></pre></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="wrap-code highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">]</span></span></span></code></pre></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>
|
||||
<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>config.toml</code> file.</p>
|
||||
<div class="highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">,</span> <span class="s2">"SEARCHPAGE"</span><span class="p">]</span>
|
||||
</span></span></code></pre></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>
|
||||
<div class="wrap-code highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">,</span> <span class="s2">"SEARCHPAGE"</span><span class="p">]</span></span></span></code></pre></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="#image-ff530068143bcc7cf3eb07e776e0643c" class="lightbox-link">
|
||||
<a href="#image-9f143b7747ff9975a88dddfd10cdb244" class="lightbox-link">
|
||||
<img src="../../basics/configuration/search_page.png?&width=60pc" alt="Screenshot o' th' dedicated search page" style="height: auto; width: 60pc;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-ff530068143bcc7cf3eb07e776e0643c">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-9f143b7747ff9975a88dddfd10cdb244">
|
||||
<img src="../../basics/configuration/search_page.png?&width=60pc" alt="Screenshot o' th' dedicated search page" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<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>config.toml</code> as seen below:</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"PRINT"</span><span class="p">,</span> <span class="s2">"SEARCH"</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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"PRINT"</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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"PRINT"</span><span class="p">]</span>
|
||||
</span></span></code></pre></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>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">plank</span> <span class="p">=</span> <span class="p">[</span><span class="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"PRINT"</span><span class="p">]</span></span></span></code></pre></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>
|
||||
@ -1024,7 +1011,7 @@
|
||||
<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 two parameters fer th' defined languages:</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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></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>
|
||||
@ -1034,17 +1021,15 @@ appearance, ye will have t' configure two parameters fer th' defined languages:<
|
||||
</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 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='fas fa-home'></i> Arrr! Homme"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">...</span>
|
||||
</span></span></code></pre></div><p>If those params be not configured fer a specific language, they will get their
|
||||
</span></span><span class="line"><span class="cl"><span class="p">...</span></span></span></code></pre></div><p>If those params be not configured fer a specific language, they will get their
|
||||
default values:</p>
|
||||
<div class="highlight"><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='fas fa-home'></i> Home"</span>
|
||||
</span></span></code></pre></div><p>Th' home button be go'n t' look like this:</p>
|
||||
<div class="wrap-code highlight"><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='fas fa-home'></i> Home"</span></span></span></code></pre></div><p>Th' home button be go'n t' look like this:</p>
|
||||
<p>
|
||||
|
||||
<a href="#image-b5e5dab48509bbb474001c6c39a7ab60" class="lightbox-link">
|
||||
<a href="#image-086d27dcd58d676b6fad5728a03893d1" class="lightbox-link">
|
||||
<img src="../../basics/configuration/home_button_defaults.png?classes=shadow&width=18.75rem" alt="Default Home Button" class="shadow" style="height: auto; width: 18.75rem;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-b5e5dab48509bbb474001c6c39a7ab60">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-086d27dcd58d676b6fad5728a03893d1">
|
||||
<img src="../../basics/configuration/home_button_defaults.png?classes=shadow&width=18.75rem" alt="Default Home Button" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
|
||||
@ -1110,21 +1095,18 @@ If ye have requirements t' support IE and/or older browser versions, use one o'
|
||||
</div>
|
||||
<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 'n <code>layouts/partials/</code> named <code>favicon.html</code>. Then write someth'n like this:</p>
|
||||
<div class="highlight"><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><h2 id="theme-variant">Change th' colors</h2>
|
||||
<div class="wrap-code highlight"><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><h2 id="theme-variant">Change th' colors</h2>
|
||||
<p>Th' Relearrrn theme lets ye choose between some predefined color variants 'n light or dark mode, but feel free t' add one yourself!</p>
|
||||
<p>Ye can preview th' shipped variants by chang'n them 'n th' variant selector at th' bottom o' th' menu.</p>
|
||||
<h3 id="single-variant">Single variant</h3>
|
||||
<p>Set th' <code>themeVariant</code> value wit' th' name o' yer theme file. That’s it!</p>
|
||||
<div class="highlight"><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="s2">"relearn-light"</span>
|
||||
</span></span></code></pre></div><p>In th' above example yer theme file has t' be named <code>theme-relearn-light.css</code></p>
|
||||
<div class="wrap-code highlight"><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="s2">"relearn-light"</span></span></span></code></pre></div><p>In th' above example yer theme file has t' be named <code>theme-relearn-light.css</code></p>
|
||||
<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 switch will be shown 'n th' menu footer.</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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"># Change default color scheme wit' a variant one.</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">themeVariant</span> <span class="p">=</span> <span class="p">[</span> <span class="s2">"relearn-light"</span><span class="p">,</span> <span class="s2">"relearn-dark"</span> <span class="p">]</span>
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">themeVariant</span> <span class="p">=</span> <span class="p">[</span> <span class="s2">"relearn-light"</span><span class="p">,</span> <span class="s2">"relearn-dark"</span> <span class="p">]</span></span></span></code></pre></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">
|
||||
@ -1135,13 +1117,11 @@ If ye have requirements t' support IE and/or older browser versions, use one o'
|
||||
<h3 id="adjust-to-os-settings">Adjust t' OS Sett'ns</h3>
|
||||
<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>. That’s it.</p>
|
||||
<p>If you’ve set multiple variants, ye can drop <code>auto</code> at any posit'n, but usually it makes sense t' set it 'n th' first posit'n an' make it th' default.</p>
|
||||
<div class="highlight"><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="s2">"auto"</span><span class="p">,</span> <span class="s2">"red"</span> <span class="p">]</span>
|
||||
</span></span></code></pre></div><p>If ye don’t configure anyth'n else, th' theme will use <code>relearn-light</code> fer light mode an' <code>relearn-dark</code> fer dark mode.</p>
|
||||
<div class="wrap-code highlight"><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="s2">"auto"</span><span class="p">,</span> <span class="s2">"red"</span> <span class="p">]</span></span></span></code></pre></div><p>If ye don’t configure anyth'n else, th' theme will use <code>relearn-light</code> fer light mode an' <code>relearn-dark</code> fer dark mode.</p>
|
||||
<p>If ye don’t like that, ye can set <code>themeVariantAuto</code>. Th' first element be th' variant fer light mode, th' second fer dark mode</p>
|
||||
<div class="highlight"><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="s2">"learn"</span><span class="p">,</span> <span class="s2">"neon"</span> <span class="p">]</span>
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><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="s2">"learn"</span><span class="p">,</span> <span class="s2">"neon"</span> <span class="p">]</span></span></span></code></pre></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">
|
||||
@ -1172,13 +1152,13 @@ If ye have requirements t' support IE and/or older browser versions, use one o'
|
||||
<p>This interactive tool may help ye t' generate yer own color variant stylesheet.</p>
|
||||
|
||||
<div class="expand">
|
||||
<input type="checkbox" id="expand-3cbde928b53a62b438e97852a8ce4689" aria-controls="expandcontent-3cbde928b53a62b438e97852a8ce4689" >
|
||||
<label class="expand-label" for="expand-3cbde928b53a62b438e97852a8ce4689" >
|
||||
<input type="checkbox" id="expand-16e53653c0d7660cdf94f5aefadee3f3" aria-controls="expandcontent-16e53653c0d7660cdf94f5aefadee3f3" >
|
||||
<label class="expand-label" for="expand-16e53653c0d7660cdf94f5aefadee3f3" >
|
||||
<i class="fas fa-chevron-down"></i>
|
||||
<i class="fas fa-chevron-right"></i>
|
||||
Show usage instruct'ns
|
||||
</label>
|
||||
<div id="expandcontent-3cbde928b53a62b438e97852a8ce4689" class="expand-content">
|
||||
<div id="expandcontent-16e53653c0d7660cdf94f5aefadee3f3" class="expand-content">
|
||||
|
||||
<p>T' get started, first select a color variant from th' variant switch '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>
|
||||
@ -2384,8 +2364,8 @@ window.variants && variants.generator( '#vargenerator' );
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../js/clipboard.min.js?1687081541" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081541" defer></script>
|
||||
<script src="../../js/theme.js?1687081541" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389790" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389790" defer></script>
|
||||
<script src="../../js/theme.js?1687389790" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -31,7 +31,7 @@ Just download at least version 0.95.0 o' th' Cap'n Hugo binary fer y
|
||||
<guid>https://McShelby.github.io/hugo-theme-relearn/pir/basics/installation/index.html</guid>
|
||||
<description>Th' follow'n steps be here t' help ye initialize yer new website. If ye don&rsquo;t know Cap'n Hugo at all, we strongly suggest ye learn more about it by follow'n this great documentat'n fer beginners.
|
||||
Create yer project Cap'n Hugo provides a new command t' create a new website.
|
||||
hugo new ship &lt;new_project&gt; Install th' theme Install th' Relearrrn theme by follow'n this documentat'n us'n Hugo&rsquo;s module system.
|
||||
hugo new ship &lt;new_project&gt;Install th' theme Install th' Relearrrn theme by follow'n this documentat'n us'n Hugo&rsquo;s module system.
|
||||
This theme&rsquo;s repository be: https://github.</description>
|
||||
</item>
|
||||
<item>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/installation/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../../pir/basics/installation/index.xml" rel="alternate" type="application/rss+xml" title="Installat'n :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../pir/basics/installation/index.print.html" rel="alternate" type="text/html" title="Installat'n :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687081538"></script>
|
||||
<script src="../../../js/variant.js?1687081538"></script>
|
||||
<link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687389786"></script>
|
||||
<script src="../../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -118,8 +118,7 @@
|
||||
<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/" target="_blank">great documentat'n fer beginners</a>.</p>
|
||||
<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>
|
||||
<pre tabindex="0"><code>hugo new ship <new_project>
|
||||
</code></pre><h2 id="install-the-theme">Install th' theme</h2>
|
||||
<div class="wrap-code highlight"><pre tabindex="0"><code>hugo new ship <new_project></code></pre></div><h2 id="install-the-theme">Install th' theme</h2>
|
||||
<p>Install th' Relearrrn theme by follow'n <a href="https://gohugo.io/hugo-modules/use-modules/#use-a-module-for-a-theme" 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" target="_blank">https://github.com/McShelby/hugo-theme-relearn.git</a></p>
|
||||
<p>Alternatively, ye can <a href="https://github.com/McShelby/hugo-theme-relearn/archive/main.zip" target="_blank">download th' theme as .zip</a> file an' extract it 'n th' <code>themes</code> directory</p>
|
||||
@ -130,41 +129,36 @@
|
||||
<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>config.toml</code>) an' set th' theme as th' default. Ye can also add th' <code>[outputs]</code> section t' en'ble th' search functionality.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="c"># Change th' default theme t' be use when build'n th' ship wit' Cap'n Hugo</span>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="c"># Change th' default theme t' be use when build'n th' ship wit' Cap'n Hugo</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">theme</span> <span class="p">=</span> <span class="s2">"hugo-theme-relearn"</span>
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl"><span class="c"># For search functionality</span>
|
||||
</span></span><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">]</span>
|
||||
</span></span></code></pre></div><h2 id="create-your-first-chapter-page">Create yer first chapter plank</h2>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">home</span> <span class="p">=</span> <span class="p">[</span> <span class="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">]</span></span></span></code></pre></div><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 a <em>chapter name</em>, th' <em>title</em> an' a <em>brief abstract</em> o' th' section.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="gu">### Chapter 1
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="gu">### Chapter 1
|
||||
</span></span></span><span class="line"><span class="cl"><span class="gu"></span>
|
||||
</span></span><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>
|
||||
</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="#image-74ff1fbdcccabd79e2954334712247c1" class="lightbox-link">
|
||||
<a href="#image-745f73ee3a208921efcc57bcbfb4b68c" class="lightbox-link">
|
||||
<img src="../../../basics/installation/chapter.png?classes=shadow&width=60pc" alt="A Chapter" class="shadow" style="height: auto; width: 60pc;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-74ff1fbdcccabd79e2954334712247c1">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-745f73ee3a208921efcc57bcbfb4b68c">
|
||||
<img src="../../../basics/installation/chapter.png?classes=shadow&width=60pc" alt="A Chapter" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<p>Th' Relearrrn theme provides archetypes t' create skeletons fer yer website. Begin by creat'n yer first chapter plank wit' th' follow'n command</p>
|
||||
<div class="highlight"><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>chapter=true</code> on top, mean'n this plank be a <em>chapter</em>.</p>
|
||||
<div class="wrap-code highlight"><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>chapter=true</code> on top, mean'n this plank be a <em>chapter</em>.</p>
|
||||
<p>By default all chapters an' planks be created as a draft. If ye want t' render these planks, remove th' property <code>draft: true</code> from th' metadata.</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"><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>
|
||||
<div class="wrap-code highlight"><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"><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>
|
||||
<div class="wrap-code highlight"><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>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>
|
||||
@ -173,8 +167,7 @@
|
||||
</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"><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 static rrrambl'n an' assets fer yer website. It can now be deployed on any web server.</p>
|
||||
<div class="wrap-code highlight"><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 static rrrambl'n an' assets fer yer website. It can now be deployed on any web server.</p>
|
||||
|
||||
<div class="box notices cstyle note">
|
||||
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Avast</div>
|
||||
@ -270,12 +263,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../../js/auto-complete.js?1687081539" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687081539" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687081539" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687081539" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687081539" defer></script>
|
||||
<script src="../../../js/search.js?1687081539" defer></script>
|
||||
<script src="../../../js/auto-complete.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/search.js?1687389788" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -291,7 +284,6 @@
|
||||
<li data-nav-id="/pir/cont/pages/index.html" class=""><a class="padding" href="../../../pir/cont/pages/index.html">planks orrrganizat'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/archetypes/index.html" class=""><a class="padding" href="../../../pir/cont/archetypes/index.html">Arrrchetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/markdown/index.html" class=""><a class="padding" href="../../../pir/cont/markdown/index.html">Marrrkdown rules<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../../pir/cont/syntaxhighlight/index.html">Code highlight'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/menushortcuts/index.html" class=""><a class="padding" href="../../../pir/cont/menushortcuts/index.html">Menu extrrra shorrrtcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/i18n/index.html" class=""><a class="padding" href="../../../pir/cont/i18n/index.html">Multilingual an' i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/taxonomy/index.html" class=""><a class="padding" href="../../../pir/cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -311,6 +303,7 @@
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-085f961452d7baa981ace00de789c321" aria-controls="subsections-085f961452d7baa981ace00de789c321"><label for="section-085f961452d7baa981ace00de789c321"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu plank 3</span></label><a class="padding" href="../../../pir/shortcodes/children/children-3/index.html">plank 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-085f961452d7baa981ace00de789c321" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../../pir/shortcodes/children/children-3/test3/index.html">plank 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/pir/shortcodes/expand/index.html" class=""><a class="padding" href="../../../pir/shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/highlight/index.html" class=""><a class="padding" href="../../../pir/shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/icon/index.html" class=""><a class="padding" href="../../../pir/shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/include/index.html" class=""><a class="padding" href="../../../pir/shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/math/index.html" class=""><a class="padding" href="../../../pir/shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -394,12 +387,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../../js/buttons.js?1687081539"></script>
|
||||
<script async src="../../../js/buttons.js?1687389788"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../../js/clipboard.min.js?1687081539" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687081539" defer></script>
|
||||
<script src="../../../js/theme.js?1687081539" defer></script>
|
||||
<script src="../../../js/clipboard.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/theme.js?1687389788" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,21 +13,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/installation/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/installation/index.html" rel="canonical" type="text/html" title="Installat'n :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../pir/basics/installation/index.xml" rel="alternate" type="application/rss+xml" title="Installat'n :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../../css/fontawesome-all.min.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687081541" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687081541" rel="stylesheet" media="print">
|
||||
<link href="../../../css/format-print.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/ie.css?1687081541" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687081541"></script>
|
||||
<script src="../../../js/variant.js?1687081541"></script>
|
||||
<link href="../../../css/fontawesome-all.min.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687389789" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687389789" rel="stylesheet" media="print">
|
||||
<link href="../../../css/format-print.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/ie.css?1687389789" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687389789"></script>
|
||||
<script src="../../../js/variant.js?1687389789"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -83,8 +83,7 @@
|
||||
<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/" target="_blank">great documentat'n fer beginners</a>.</p>
|
||||
<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>
|
||||
<pre tabindex="0"><code>hugo new ship <new_project>
|
||||
</code></pre><h2 id="install-the-theme">Install th' theme</h2>
|
||||
<div class="wrap-code highlight"><pre tabindex="0"><code>hugo new ship <new_project></code></pre></div><h2 id="install-the-theme">Install th' theme</h2>
|
||||
<p>Install th' Relearrrn theme by follow'n <a href="https://gohugo.io/hugo-modules/use-modules/#use-a-module-for-a-theme" 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" target="_blank">https://github.com/McShelby/hugo-theme-relearn.git</a></p>
|
||||
<p>Alternatively, ye can <a href="https://github.com/McShelby/hugo-theme-relearn/archive/main.zip" target="_blank">download th' theme as .zip</a> file an' extract it 'n th' <code>themes</code> directory</p>
|
||||
@ -95,41 +94,36 @@
|
||||
<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>config.toml</code>) an' set th' theme as th' default. Ye can also add th' <code>[outputs]</code> section t' en'ble th' search functionality.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="c"># Change th' default theme t' be use when build'n th' ship wit' Cap'n Hugo</span>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="c"># Change th' default theme t' be use when build'n th' ship wit' Cap'n Hugo</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">theme</span> <span class="p">=</span> <span class="s2">"hugo-theme-relearn"</span>
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl"><span class="c"># For search functionality</span>
|
||||
</span></span><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="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">]</span>
|
||||
</span></span></code></pre></div><h2 id="create-your-first-chapter-page">Create yer first chapter plank</h2>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">home</span> <span class="p">=</span> <span class="p">[</span> <span class="s2">"HTML"</span><span class="p">,</span> <span class="s2">"RSS"</span><span class="p">,</span> <span class="s2">"SEARCH"</span><span class="p">]</span></span></span></code></pre></div><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 a <em>chapter name</em>, th' <em>title</em> an' a <em>brief abstract</em> o' th' section.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="gu">### Chapter 1
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="gu">### Chapter 1
|
||||
</span></span></span><span class="line"><span class="cl"><span class="gu"></span>
|
||||
</span></span><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>
|
||||
</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="#image-74ff1fbdcccabd79e2954334712247c1" class="lightbox-link">
|
||||
<a href="#image-745f73ee3a208921efcc57bcbfb4b68c" class="lightbox-link">
|
||||
<img src="../../../basics/installation/chapter.png?classes=shadow&width=60pc" alt="A Chapter" class="shadow" style="height: auto; width: 60pc;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-74ff1fbdcccabd79e2954334712247c1">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-745f73ee3a208921efcc57bcbfb4b68c">
|
||||
<img src="../../../basics/installation/chapter.png?classes=shadow&width=60pc" alt="A Chapter" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<p>Th' Relearrrn theme provides archetypes t' create skeletons fer yer website. Begin by creat'n yer first chapter plank wit' th' follow'n command</p>
|
||||
<div class="highlight"><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>chapter=true</code> on top, mean'n this plank be a <em>chapter</em>.</p>
|
||||
<div class="wrap-code highlight"><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>chapter=true</code> on top, mean'n this plank be a <em>chapter</em>.</p>
|
||||
<p>By default all chapters an' planks be created as a draft. If ye want t' render these planks, remove th' property <code>draft: true</code> from th' metadata.</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"><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>
|
||||
<div class="wrap-code highlight"><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"><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>
|
||||
<div class="wrap-code highlight"><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>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>
|
||||
@ -138,8 +132,7 @@
|
||||
</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"><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 static rrrambl'n an' assets fer yer website. It can now be deployed on any web server.</p>
|
||||
<div class="wrap-code highlight"><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 static rrrambl'n an' assets fer yer website. It can now be deployed on any web server.</p>
|
||||
|
||||
<div class="box notices cstyle note">
|
||||
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Avast</div>
|
||||
@ -158,8 +151,8 @@
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../../js/clipboard.min.js?1687081541" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687081541" defer></script>
|
||||
<script src="../../../js/theme.js?1687081541" defer></script>
|
||||
<script src="../../../js/clipboard.min.js?1687389790" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687389790" defer></script>
|
||||
<script src="../../../js/theme.js?1687389790" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/migration/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../../pir/basics/migration/index.xml" rel="alternate" type="application/rss+xml" title="What's New :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../pir/basics/migration/index.print.html" rel="alternate" type="text/html" title="What's New :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687081538"></script>
|
||||
<script src="../../../js/variant.js?1687081538"></script>
|
||||
<link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687389786"></script>
|
||||
<script src="../../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -87,6 +87,7 @@
|
||||
<div class="toc-wrapper">
|
||||
<nav id="TableOfContents">
|
||||
<ul>
|
||||
<li><a href="#5170-2023-06-20">5.17.0 (2023-06-20)</a></li>
|
||||
<li><a href="#5160-2023-06-10">5.16.0 (2023-06-10)</a></li>
|
||||
<li><a href="#5150-2023-05-29">5.15.0 (2023-05-29)</a></li>
|
||||
<li><a href="#5140-2023-05-20">5.14.0 (2023-05-20)</a></li>
|
||||
@ -153,6 +154,14 @@
|
||||
<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>
|
||||
<!--GH-ACTION-RELEASE-MILESTONE-->
|
||||
<hr>
|
||||
<h2 id="5170-2023-06-20">5.17.0 (2023-06-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' new <a href="../../../shortcodes/highlight/"><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-2023-06-10">5.16.0 (2023-06-10)</h2>
|
||||
<ul>
|
||||
<li>
|
||||
@ -230,14 +239,13 @@
|
||||
<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" 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="highlight"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
||||
<div class="wrap-code highlight"><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></li>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></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="../../../pir/basics/migration/">pirate translat'n</a>. This feature be not avail'ble 'n Internet Explorer 11.</p>
|
||||
</li>
|
||||
@ -251,8 +259,7 @@
|
||||
<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" 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="highlight"><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></li>
|
||||
<div class="wrap-code highlight"><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></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="../../../shortcodes/mermaid/#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>
|
||||
@ -295,18 +302,16 @@
|
||||
<ol>
|
||||
<li>
|
||||
<p>Make th' plank file fer th' <code>More</code> section a <a href="https://gohugo.io/content-management/page-bundles/#headless-bundle" 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</code>). This causes its rrrambl'n t' <strong>not</strong> be contained 'n th' sitemap.</p>
|
||||
<div class="highlight"><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">_build</span><span class="p">]</span>
|
||||
<div class="wrap-code highlight"><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">_build</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">render</span> <span class="p">=</span> <span class="s2">"never"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">list</span> <span class="p">=</span> <span class="s2">"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></code></pre></div></li>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">publishResources</span> <span class="p">=</span> <span class="kc">false</span></span></span></code></pre></div></li>
|
||||
<li>
|
||||
<p>Store th' plank file fer th' <code>More</code> section below a parent headless branch bundle an' add th' follow'n frontmatter t' th' <strong>parent</strong>. In this case, th' file itself can be a branch bundle, leaf bundle or simple plank (see exampleSite’s <code>content/more/</code> an' <code>content/more/credits</code>). This causes its rrrambl'n t' be contained 'n th' sitemap.</p>
|
||||
<div class="highlight"><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">_build</span><span class="p">]</span>
|
||||
<div class="wrap-code highlight"><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">_build</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">render</span> <span class="p">=</span> <span class="s2">"always"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">list</span> <span class="p">=</span> <span class="s2">"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></code></pre></div></li>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">publishResources</span> <span class="p">=</span> <span class="kc">true</span></span></span></code></pre></div></li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>
|
||||
@ -443,23 +448,21 @@
|
||||
<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' PRINT output format sett'n 'n yer <code>config.toml</code>t':</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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">name</span><span class="p">=</span> <span class="s2">"PRINT"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">baseName</span> <span class="p">=</span> <span class="s2">"index"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">path</span> <span class="p">=</span> <span class="s2">"_print"</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">permalink'ble</span> <span class="p">=</span> <span class="kc">false</span>
|
||||
</span></span></code></pre></div></li>
|
||||
</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></li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h2 id="500-2022-07-05">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"><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>
|
||||
<div class="wrap-code highlight"><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="../../../cont/archetypes/">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 aft th' upgrade. Nevertheless, it be recommended t' adapt yer exist'n markdown files t' th' new way as follows:</p>
|
||||
@ -643,8 +646,7 @@
|
||||
<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" 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> aft an upgrade an' no errors be written t' th' console.</p>
|
||||
<p>Ye may see errors on th' console aft th' update 'n th' form:</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-sh" data-lang="sh"><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>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-sh" data-lang="sh"><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>
|
||||
@ -882,12 +884,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../../js/auto-complete.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/search.js?1687081540" defer></script>
|
||||
<script src="../../../js/auto-complete.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/search.js?1687389788" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -903,7 +905,6 @@
|
||||
<li data-nav-id="/pir/cont/pages/index.html" class=""><a class="padding" href="../../../pir/cont/pages/index.html">planks orrrganizat'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/archetypes/index.html" class=""><a class="padding" href="../../../pir/cont/archetypes/index.html">Arrrchetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/markdown/index.html" class=""><a class="padding" href="../../../pir/cont/markdown/index.html">Marrrkdown rules<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../../pir/cont/syntaxhighlight/index.html">Code highlight'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/menushortcuts/index.html" class=""><a class="padding" href="../../../pir/cont/menushortcuts/index.html">Menu extrrra shorrrtcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/i18n/index.html" class=""><a class="padding" href="../../../pir/cont/i18n/index.html">Multilingual an' i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/taxonomy/index.html" class=""><a class="padding" href="../../../pir/cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -923,6 +924,7 @@
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-085f961452d7baa981ace00de789c321" aria-controls="subsections-085f961452d7baa981ace00de789c321"><label for="section-085f961452d7baa981ace00de789c321"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu plank 3</span></label><a class="padding" href="../../../pir/shortcodes/children/children-3/index.html">plank 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-085f961452d7baa981ace00de789c321" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../../pir/shortcodes/children/children-3/test3/index.html">plank 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/pir/shortcodes/expand/index.html" class=""><a class="padding" href="../../../pir/shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/highlight/index.html" class=""><a class="padding" href="../../../pir/shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/icon/index.html" class=""><a class="padding" href="../../../pir/shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/include/index.html" class=""><a class="padding" href="../../../pir/shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/math/index.html" class=""><a class="padding" href="../../../pir/shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -1006,12 +1008,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../../js/buttons.js?1687081540"></script>
|
||||
<script async src="../../../js/buttons.js?1687389788"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../../js/clipboard.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/theme.js?1687081540" defer></script>
|
||||
<script src="../../../js/clipboard.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/theme.js?1687389788" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,21 +13,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/migration/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/migration/index.html" rel="canonical" type="text/html" title="What's New :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../pir/basics/migration/index.xml" rel="alternate" type="application/rss+xml" title="What's New :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../../css/fontawesome-all.min.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687081541" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687081541" rel="stylesheet" media="print">
|
||||
<link href="../../../css/format-print.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/ie.css?1687081541" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687081541"></script>
|
||||
<script src="../../../js/variant.js?1687081541"></script>
|
||||
<link href="../../../css/fontawesome-all.min.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687389789" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687389789" rel="stylesheet" media="print">
|
||||
<link href="../../../css/format-print.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/ie.css?1687389789" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687389789"></script>
|
||||
<script src="../../../js/variant.js?1687389789"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -91,6 +91,14 @@
|
||||
<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>
|
||||
<!--GH-ACTION-RELEASE-MILESTONE-->
|
||||
<hr>
|
||||
<h2 id="5170-2023-06-20">5.17.0 (2023-06-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' new <a href="../../../shortcodes/highlight/"><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-2023-06-10">5.16.0 (2023-06-10)</h2>
|
||||
<ul>
|
||||
<li>
|
||||
@ -168,14 +176,13 @@
|
||||
<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" 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="highlight"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span>
|
||||
<div class="wrap-code highlight"><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></li>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">}</span></span></span></code></pre></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="../../../pir/basics/migration/">pirate translat'n</a>. This feature be not avail'ble 'n Internet Explorer 11.</p>
|
||||
</li>
|
||||
@ -189,8 +196,7 @@
|
||||
<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" 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="highlight"><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></li>
|
||||
<div class="wrap-code highlight"><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></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="../../../shortcodes/mermaid/#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>
|
||||
@ -233,18 +239,16 @@
|
||||
<ol>
|
||||
<li>
|
||||
<p>Make th' plank file fer th' <code>More</code> section a <a href="https://gohugo.io/content-management/page-bundles/#headless-bundle" 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</code>). This causes its rrrambl'n t' <strong>not</strong> be contained 'n th' sitemap.</p>
|
||||
<div class="highlight"><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">_build</span><span class="p">]</span>
|
||||
<div class="wrap-code highlight"><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">_build</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">render</span> <span class="p">=</span> <span class="s2">"never"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">list</span> <span class="p">=</span> <span class="s2">"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></code></pre></div></li>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">publishResources</span> <span class="p">=</span> <span class="kc">false</span></span></span></code></pre></div></li>
|
||||
<li>
|
||||
<p>Store th' plank file fer th' <code>More</code> section below a parent headless branch bundle an' add th' follow'n frontmatter t' th' <strong>parent</strong>. In this case, th' file itself can be a branch bundle, leaf bundle or simple plank (see exampleSite’s <code>content/more/</code> an' <code>content/more/credits</code>). This causes its rrrambl'n t' be contained 'n th' sitemap.</p>
|
||||
<div class="highlight"><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">_build</span><span class="p">]</span>
|
||||
<div class="wrap-code highlight"><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">_build</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">render</span> <span class="p">=</span> <span class="s2">"always"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">list</span> <span class="p">=</span> <span class="s2">"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></code></pre></div></li>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">publishResources</span> <span class="p">=</span> <span class="kc">true</span></span></span></code></pre></div></li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>
|
||||
@ -381,23 +385,21 @@
|
||||
<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' PRINT output format sett'n 'n yer <code>config.toml</code>t':</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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">name</span><span class="p">=</span> <span class="s2">"PRINT"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">baseName</span> <span class="p">=</span> <span class="s2">"index"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">path</span> <span class="p">=</span> <span class="s2">"_print"</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">permalink'ble</span> <span class="p">=</span> <span class="kc">false</span>
|
||||
</span></span></code></pre></div></li>
|
||||
</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></li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h2 id="500-2022-07-05">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"><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>
|
||||
<div class="wrap-code highlight"><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="../../../cont/archetypes/">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 aft th' upgrade. Nevertheless, it be recommended t' adapt yer exist'n markdown files t' th' new way as follows:</p>
|
||||
@ -581,8 +583,7 @@
|
||||
<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" 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> aft an upgrade an' no errors be written t' th' console.</p>
|
||||
<p>Ye may see errors on th' console aft th' update 'n th' form:</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-sh" data-lang="sh"><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>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-sh" data-lang="sh"><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>
|
||||
@ -743,8 +744,8 @@
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../../js/clipboard.min.js?1687081541" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687081541" defer></script>
|
||||
<script src="../../../js/theme.js?1687081541" defer></script>
|
||||
<script src="../../../js/clipboard.min.js?1687389790" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687389790" defer></script>
|
||||
<script src="../../../js/theme.js?1687389790" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/requirements/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../../pir/basics/requirements/index.xml" rel="alternate" type="application/rss+xml" title="Requirrrements :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../pir/basics/requirements/index.print.html" rel="alternate" type="text/html" title="Requirrrements :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687081538"></script>
|
||||
<script src="../../../js/variant.js?1687081538"></script>
|
||||
<link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687389786"></script>
|
||||
<script src="../../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -95,10 +95,10 @@
|
||||
<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="fab fa-hackerrank"></i></span><span class="badge-content" style="background-color: fuchsia;">0.95.0</span></span> o' th' <a href="https://gohugo.io/getting-started/installing/" target="_blank">Cap'n Hugo binary</a> fer yer OS (Windows, Linux, Mac).</p>
|
||||
<p>
|
||||
<a href="#image-1abe3809007448fcedcb28fb7b54344d" class="lightbox-link">
|
||||
<a href="#image-871077cd3074012978875094348b754f" class="lightbox-link">
|
||||
<img src="../../../basics/requirements/magic.gif?classes=shadow" alt="Magic" class="shadow" style="height: auto; width: auto;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-1abe3809007448fcedcb28fb7b54344d">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-871077cd3074012978875094348b754f">
|
||||
<img src="../../../basics/requirements/magic.gif?classes=shadow" alt="Magic" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
|
||||
@ -190,12 +190,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../../js/auto-complete.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/search.js?1687081540" defer></script>
|
||||
<script src="../../../js/auto-complete.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/search.js?1687389788" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -211,7 +211,6 @@
|
||||
<li data-nav-id="/pir/cont/pages/index.html" class=""><a class="padding" href="../../../pir/cont/pages/index.html">planks orrrganizat'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/archetypes/index.html" class=""><a class="padding" href="../../../pir/cont/archetypes/index.html">Arrrchetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/markdown/index.html" class=""><a class="padding" href="../../../pir/cont/markdown/index.html">Marrrkdown rules<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../../pir/cont/syntaxhighlight/index.html">Code highlight'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/menushortcuts/index.html" class=""><a class="padding" href="../../../pir/cont/menushortcuts/index.html">Menu extrrra shorrrtcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/i18n/index.html" class=""><a class="padding" href="../../../pir/cont/i18n/index.html">Multilingual an' i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/taxonomy/index.html" class=""><a class="padding" href="../../../pir/cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -231,6 +230,7 @@
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-085f961452d7baa981ace00de789c321" aria-controls="subsections-085f961452d7baa981ace00de789c321"><label for="section-085f961452d7baa981ace00de789c321"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu plank 3</span></label><a class="padding" href="../../../pir/shortcodes/children/children-3/index.html">plank 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-085f961452d7baa981ace00de789c321" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../../pir/shortcodes/children/children-3/test3/index.html">plank 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/pir/shortcodes/expand/index.html" class=""><a class="padding" href="../../../pir/shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/highlight/index.html" class=""><a class="padding" href="../../../pir/shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/icon/index.html" class=""><a class="padding" href="../../../pir/shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/include/index.html" class=""><a class="padding" href="../../../pir/shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/math/index.html" class=""><a class="padding" href="../../../pir/shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -314,12 +314,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../../js/buttons.js?1687081540"></script>
|
||||
<script async src="../../../js/buttons.js?1687389788"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../../js/clipboard.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/theme.js?1687081540" defer></script>
|
||||
<script src="../../../js/clipboard.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/theme.js?1687389788" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,21 +13,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/requirements/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/basics/requirements/index.html" rel="canonical" type="text/html" title="Requirrrements :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../pir/basics/requirements/index.xml" rel="alternate" type="application/rss+xml" title="Requirrrements :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../../css/fontawesome-all.min.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687081541" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687081541" rel="stylesheet" media="print">
|
||||
<link href="../../../css/format-print.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/ie.css?1687081541" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687081541"></script>
|
||||
<script src="../../../js/variant.js?1687081541"></script>
|
||||
<link href="../../../css/fontawesome-all.min.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687389789" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687389789" rel="stylesheet" media="print">
|
||||
<link href="../../../css/format-print.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/ie.css?1687389789" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687389789"></script>
|
||||
<script src="../../../js/variant.js?1687389789"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -80,10 +80,10 @@
|
||||
<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="fab fa-hackerrank"></i></span><span class="badge-content" style="background-color: fuchsia;">0.95.0</span></span> o' th' <a href="https://gohugo.io/getting-started/installing/" target="_blank">Cap'n Hugo binary</a> fer yer OS (Windows, Linux, Mac).</p>
|
||||
<p>
|
||||
<a href="#image-1abe3809007448fcedcb28fb7b54344d" class="lightbox-link">
|
||||
<a href="#image-871077cd3074012978875094348b754f" class="lightbox-link">
|
||||
<img src="../../../basics/requirements/magic.gif?classes=shadow" alt="Magic" class="shadow" style="height: auto; width: auto;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-1abe3809007448fcedcb28fb7b54344d">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-871077cd3074012978875094348b754f">
|
||||
<img src="../../../basics/requirements/magic.gif?classes=shadow" alt="Magic" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
|
||||
@ -98,8 +98,8 @@
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../../js/clipboard.min.js?1687081541" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687081541" defer></script>
|
||||
<script src="../../../js/theme.js?1687081541" defer></script>
|
||||
<script src="../../../js/clipboard.min.js?1687389790" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687389790" defer></script>
|
||||
<script src="../../../js/theme.js?1687389790" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -12,20 +12,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/categories/basic/index.html" rel="alternate" hreflang="en">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/categories/basic/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../../pir/categories/basic/index.xml" rel="alternate" type="application/rss+xml" title="basic :: Categorrry :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687081538"></script>
|
||||
<script src="../../../js/variant.js?1687081538"></script>
|
||||
<link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687389786"></script>
|
||||
<script src="../../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -166,12 +166,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../../js/auto-complete.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/search.js?1687081540" defer></script>
|
||||
<script src="../../../js/auto-complete.js?1687389789" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/search.js?1687389789" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -187,7 +187,6 @@
|
||||
<li data-nav-id="/pir/cont/pages/index.html" class=""><a class="padding" href="../../../pir/cont/pages/index.html">planks orrrganizat'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/archetypes/index.html" class=""><a class="padding" href="../../../pir/cont/archetypes/index.html">Arrrchetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/markdown/index.html" class=""><a class="padding" href="../../../pir/cont/markdown/index.html">Marrrkdown rules<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../../pir/cont/syntaxhighlight/index.html">Code highlight'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/menushortcuts/index.html" class=""><a class="padding" href="../../../pir/cont/menushortcuts/index.html">Menu extrrra shorrrtcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/i18n/index.html" class=""><a class="padding" href="../../../pir/cont/i18n/index.html">Multilingual an' i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/taxonomy/index.html" class=""><a class="padding" href="../../../pir/cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -207,6 +206,7 @@
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-085f961452d7baa981ace00de789c321" aria-controls="subsections-085f961452d7baa981ace00de789c321"><label for="section-085f961452d7baa981ace00de789c321"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu plank 3</span></label><a class="padding" href="../../../pir/shortcodes/children/children-3/index.html">plank 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-085f961452d7baa981ace00de789c321" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../../pir/shortcodes/children/children-3/test3/index.html">plank 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/pir/shortcodes/expand/index.html" class=""><a class="padding" href="../../../pir/shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/highlight/index.html" class=""><a class="padding" href="../../../pir/shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/icon/index.html" class=""><a class="padding" href="../../../pir/shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/include/index.html" class=""><a class="padding" href="../../../pir/shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/math/index.html" class=""><a class="padding" href="../../../pir/shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -290,12 +290,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../../js/buttons.js?1687081540"></script>
|
||||
<script async src="../../../js/buttons.js?1687389789"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../../js/clipboard.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/theme.js?1687081540" defer></script>
|
||||
<script src="../../../js/clipboard.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/theme.js?1687389789" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -12,20 +12,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/categories/content/index.html" rel="alternate" hreflang="en">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/categories/content/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../../pir/categories/content/index.xml" rel="alternate" type="application/rss+xml" title="content :: Categorrry :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687081538"></script>
|
||||
<script src="../../../js/variant.js?1687081538"></script>
|
||||
<link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687389786"></script>
|
||||
<script src="../../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -166,12 +166,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../../js/auto-complete.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/search.js?1687081540" defer></script>
|
||||
<script src="../../../js/auto-complete.js?1687389789" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/search.js?1687389789" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -187,7 +187,6 @@
|
||||
<li data-nav-id="/pir/cont/pages/index.html" class=""><a class="padding" href="../../../pir/cont/pages/index.html">planks orrrganizat'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/archetypes/index.html" class=""><a class="padding" href="../../../pir/cont/archetypes/index.html">Arrrchetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/markdown/index.html" class=""><a class="padding" href="../../../pir/cont/markdown/index.html">Marrrkdown rules<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../../pir/cont/syntaxhighlight/index.html">Code highlight'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/menushortcuts/index.html" class=""><a class="padding" href="../../../pir/cont/menushortcuts/index.html">Menu extrrra shorrrtcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/i18n/index.html" class=""><a class="padding" href="../../../pir/cont/i18n/index.html">Multilingual an' i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/taxonomy/index.html" class=""><a class="padding" href="../../../pir/cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -207,6 +206,7 @@
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-085f961452d7baa981ace00de789c321" aria-controls="subsections-085f961452d7baa981ace00de789c321"><label for="section-085f961452d7baa981ace00de789c321"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu plank 3</span></label><a class="padding" href="../../../pir/shortcodes/children/children-3/index.html">plank 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-085f961452d7baa981ace00de789c321" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../../pir/shortcodes/children/children-3/test3/index.html">plank 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/pir/shortcodes/expand/index.html" class=""><a class="padding" href="../../../pir/shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/highlight/index.html" class=""><a class="padding" href="../../../pir/shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/icon/index.html" class=""><a class="padding" href="../../../pir/shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/include/index.html" class=""><a class="padding" href="../../../pir/shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/math/index.html" class=""><a class="padding" href="../../../pir/shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -290,12 +290,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../../js/buttons.js?1687081540"></script>
|
||||
<script async src="../../../js/buttons.js?1687389789"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../../js/clipboard.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/theme.js?1687081540" defer></script>
|
||||
<script src="../../../js/clipboard.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/theme.js?1687389789" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -13,7 +13,7 @@
|
||||
<guid>https://McShelby.github.io/hugo-theme-relearn/pir/cont/taxonomy/index.html</guid>
|
||||
<description>Th' Relearrrn theme supports Hugo&rsquo;s default taxonomies tag an' category out o' th' box.
|
||||
Configurat'n Just add tags and/or categories t' any plank. They can be given as a single str'n or an array o' str'ns.
|
||||
+++ categories = [&#34;taxonomy&#34;, &#34;content&#34;] tags = &#34;tutorial&#34; title = &#34;Taxonomy&#34; +++ Behavior Th' tags be displayed at th' top o' th' plank 'n alphabetical order.
|
||||
+++ categories = [&#34;taxonomy&#34;, &#34;content&#34;] tags = &#34;tutorial&#34; title = &#34;Taxonomy&#34; +++Behavior Th' tags be displayed at th' top o' th' plank 'n alphabetical order.
|
||||
Th' categories be displayed at th' bottom o' th' plank 'n alphabetical order 'n th' default implementat'n o' th' theme but can be customized by provid'n yer own content-footer.</description>
|
||||
</item>
|
||||
</channel>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -12,20 +12,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/categories/custom/index.html" rel="alternate" hreflang="en">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/categories/custom/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../../pir/categories/custom/index.xml" rel="alternate" type="application/rss+xml" title="custom :: Categorrry :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687081538"></script>
|
||||
<script src="../../../js/variant.js?1687081538"></script>
|
||||
<link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687389786"></script>
|
||||
<script src="../../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -166,12 +166,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../../js/auto-complete.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/search.js?1687081540" defer></script>
|
||||
<script src="../../../js/auto-complete.js?1687389789" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/search.js?1687389789" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -187,7 +187,6 @@
|
||||
<li data-nav-id="/pir/cont/pages/index.html" class=""><a class="padding" href="../../../pir/cont/pages/index.html">planks orrrganizat'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/archetypes/index.html" class=""><a class="padding" href="../../../pir/cont/archetypes/index.html">Arrrchetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/markdown/index.html" class=""><a class="padding" href="../../../pir/cont/markdown/index.html">Marrrkdown rules<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../../pir/cont/syntaxhighlight/index.html">Code highlight'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/menushortcuts/index.html" class=""><a class="padding" href="../../../pir/cont/menushortcuts/index.html">Menu extrrra shorrrtcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/i18n/index.html" class=""><a class="padding" href="../../../pir/cont/i18n/index.html">Multilingual an' i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/taxonomy/index.html" class=""><a class="padding" href="../../../pir/cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -207,6 +206,7 @@
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-085f961452d7baa981ace00de789c321" aria-controls="subsections-085f961452d7baa981ace00de789c321"><label for="section-085f961452d7baa981ace00de789c321"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu plank 3</span></label><a class="padding" href="../../../pir/shortcodes/children/children-3/index.html">plank 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-085f961452d7baa981ace00de789c321" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../../pir/shortcodes/children/children-3/test3/index.html">plank 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/pir/shortcodes/expand/index.html" class=""><a class="padding" href="../../../pir/shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/highlight/index.html" class=""><a class="padding" href="../../../pir/shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/icon/index.html" class=""><a class="padding" href="../../../pir/shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/include/index.html" class=""><a class="padding" href="../../../pir/shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/math/index.html" class=""><a class="padding" href="../../../pir/shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -290,12 +290,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../../js/buttons.js?1687081540"></script>
|
||||
<script async src="../../../js/buttons.js?1687389789"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../../js/clipboard.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/theme.js?1687081540" defer></script>
|
||||
<script src="../../../js/clipboard.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/theme.js?1687389789" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -12,20 +12,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/categories/index.html" rel="alternate" hreflang="en">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/categories/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../pir/categories/index.xml" rel="alternate" type="application/rss+xml" title="Categorrries :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081538"></script>
|
||||
<script src="../../js/variant.js?1687081538"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389786"></script>
|
||||
<script src="../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -188,12 +188,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../js/auto-complete.js?1687081540" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687081540" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687081540" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687081540" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687081540" defer></script>
|
||||
<script src="../../js/search.js?1687081540" defer></script>
|
||||
<script src="../../js/auto-complete.js?1687389789" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687389789" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687389789" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687389789" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687389789" defer></script>
|
||||
<script src="../../js/search.js?1687389789" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -209,7 +209,6 @@
|
||||
<li data-nav-id="/pir/cont/pages/index.html" class=""><a class="padding" href="../../pir/cont/pages/index.html">planks orrrganizat'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/archetypes/index.html" class=""><a class="padding" href="../../pir/cont/archetypes/index.html">Arrrchetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/markdown/index.html" class=""><a class="padding" href="../../pir/cont/markdown/index.html">Marrrkdown rules<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../pir/cont/syntaxhighlight/index.html">Code highlight'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/menushortcuts/index.html" class=""><a class="padding" href="../../pir/cont/menushortcuts/index.html">Menu extrrra shorrrtcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/i18n/index.html" class=""><a class="padding" href="../../pir/cont/i18n/index.html">Multilingual an' i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/taxonomy/index.html" class=""><a class="padding" href="../../pir/cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -229,6 +228,7 @@
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-085f961452d7baa981ace00de789c321" aria-controls="subsections-085f961452d7baa981ace00de789c321"><label for="section-085f961452d7baa981ace00de789c321"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu plank 3</span></label><a class="padding" href="../../pir/shortcodes/children/children-3/index.html">plank 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-085f961452d7baa981ace00de789c321" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../pir/shortcodes/children/children-3/test3/index.html">plank 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/pir/shortcodes/expand/index.html" class=""><a class="padding" href="../../pir/shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/highlight/index.html" class=""><a class="padding" href="../../pir/shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/icon/index.html" class=""><a class="padding" href="../../pir/shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/include/index.html" class=""><a class="padding" href="../../pir/shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/math/index.html" class=""><a class="padding" href="../../pir/shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -312,12 +312,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../js/buttons.js?1687081540"></script>
|
||||
<script async src="../../js/buttons.js?1687389789"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../js/clipboard.min.js?1687081540" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081540" defer></script>
|
||||
<script src="../../js/theme.js?1687081540" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389789" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389789" defer></script>
|
||||
<script src="../../js/theme.js?1687389789" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -12,20 +12,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/categories/taxonomy/index.html" rel="alternate" hreflang="en">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/categories/taxonomy/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../../pir/categories/taxonomy/index.xml" rel="alternate" type="application/rss+xml" title="taxonomy :: Categorrry :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687081538"></script>
|
||||
<script src="../../../js/variant.js?1687081538"></script>
|
||||
<link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687389786"></script>
|
||||
<script src="../../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -166,12 +166,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../../js/auto-complete.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/search.js?1687081540" defer></script>
|
||||
<script src="../../../js/auto-complete.js?1687389789" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/search.js?1687389789" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -187,7 +187,6 @@
|
||||
<li data-nav-id="/pir/cont/pages/index.html" class=""><a class="padding" href="../../../pir/cont/pages/index.html">planks orrrganizat'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/archetypes/index.html" class=""><a class="padding" href="../../../pir/cont/archetypes/index.html">Arrrchetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/markdown/index.html" class=""><a class="padding" href="../../../pir/cont/markdown/index.html">Marrrkdown rules<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../../pir/cont/syntaxhighlight/index.html">Code highlight'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/menushortcuts/index.html" class=""><a class="padding" href="../../../pir/cont/menushortcuts/index.html">Menu extrrra shorrrtcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/i18n/index.html" class=""><a class="padding" href="../../../pir/cont/i18n/index.html">Multilingual an' i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/taxonomy/index.html" class=""><a class="padding" href="../../../pir/cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -207,6 +206,7 @@
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-085f961452d7baa981ace00de789c321" aria-controls="subsections-085f961452d7baa981ace00de789c321"><label for="section-085f961452d7baa981ace00de789c321"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu plank 3</span></label><a class="padding" href="../../../pir/shortcodes/children/children-3/index.html">plank 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-085f961452d7baa981ace00de789c321" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../../pir/shortcodes/children/children-3/test3/index.html">plank 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/pir/shortcodes/expand/index.html" class=""><a class="padding" href="../../../pir/shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/highlight/index.html" class=""><a class="padding" href="../../../pir/shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/icon/index.html" class=""><a class="padding" href="../../../pir/shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/include/index.html" class=""><a class="padding" href="../../../pir/shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/math/index.html" class=""><a class="padding" href="../../../pir/shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -290,12 +290,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../../js/buttons.js?1687081540"></script>
|
||||
<script async src="../../../js/buttons.js?1687389789"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../../js/clipboard.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/theme.js?1687081540" defer></script>
|
||||
<script src="../../../js/clipboard.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/theme.js?1687389789" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -13,7 +13,7 @@
|
||||
<guid>https://McShelby.github.io/hugo-theme-relearn/pir/cont/taxonomy/index.html</guid>
|
||||
<description>Th' Relearrrn theme supports Hugo&rsquo;s default taxonomies tag an' category out o' th' box.
|
||||
Configurat'n Just add tags and/or categories t' any plank. They can be given as a single str'n or an array o' str'ns.
|
||||
+++ categories = [&#34;taxonomy&#34;, &#34;content&#34;] tags = &#34;tutorial&#34; title = &#34;Taxonomy&#34; +++ Behavior Th' tags be displayed at th' top o' th' plank 'n alphabetical order.
|
||||
+++ categories = [&#34;taxonomy&#34;, &#34;content&#34;] tags = &#34;tutorial&#34; title = &#34;Taxonomy&#34; +++Behavior Th' tags be displayed at th' top o' th' plank 'n alphabetical order.
|
||||
Th' categories be displayed at th' bottom o' th' plank 'n alphabetical order 'n th' default implementat'n o' th' theme but can be customized by provid'n yer own content-footer.</description>
|
||||
</item>
|
||||
</channel>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -12,20 +12,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/categories/theming/index.html" rel="alternate" hreflang="en">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/categories/theming/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../../pir/categories/theming/index.xml" rel="alternate" type="application/rss+xml" title="theming :: Categorrry :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687081538"></script>
|
||||
<script src="../../../js/variant.js?1687081538"></script>
|
||||
<link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687389786"></script>
|
||||
<script src="../../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -167,12 +167,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../../js/auto-complete.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/search.js?1687081540" defer></script>
|
||||
<script src="../../../js/auto-complete.js?1687389789" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/search.js?1687389789" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -188,7 +188,6 @@
|
||||
<li data-nav-id="/pir/cont/pages/index.html" class=""><a class="padding" href="../../../pir/cont/pages/index.html">planks orrrganizat'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/archetypes/index.html" class=""><a class="padding" href="../../../pir/cont/archetypes/index.html">Arrrchetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/markdown/index.html" class=""><a class="padding" href="../../../pir/cont/markdown/index.html">Marrrkdown rules<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../../pir/cont/syntaxhighlight/index.html">Code highlight'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/menushortcuts/index.html" class=""><a class="padding" href="../../../pir/cont/menushortcuts/index.html">Menu extrrra shorrrtcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/i18n/index.html" class=""><a class="padding" href="../../../pir/cont/i18n/index.html">Multilingual an' i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/taxonomy/index.html" class=""><a class="padding" href="../../../pir/cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -208,6 +207,7 @@
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-085f961452d7baa981ace00de789c321" aria-controls="subsections-085f961452d7baa981ace00de789c321"><label for="section-085f961452d7baa981ace00de789c321"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu plank 3</span></label><a class="padding" href="../../../pir/shortcodes/children/children-3/index.html">plank 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-085f961452d7baa981ace00de789c321" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../../pir/shortcodes/children/children-3/test3/index.html">plank 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/pir/shortcodes/expand/index.html" class=""><a class="padding" href="../../../pir/shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/highlight/index.html" class=""><a class="padding" href="../../../pir/shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/icon/index.html" class=""><a class="padding" href="../../../pir/shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/include/index.html" class=""><a class="padding" href="../../../pir/shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/math/index.html" class=""><a class="padding" href="../../../pir/shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -291,12 +291,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../../js/buttons.js?1687081540"></script>
|
||||
<script async src="../../../js/buttons.js?1687389789"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../../js/clipboard.min.js?1687081541" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687081541" defer></script>
|
||||
<script src="../../../js/theme.js?1687081541" defer></script>
|
||||
<script src="../../../js/clipboard.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/theme.js?1687389789" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/archetypes/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../../pir/cont/archetypes/index.xml" rel="alternate" type="application/rss+xml" title="Arrrchetypes :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../pir/cont/archetypes/index.print.html" rel="alternate" type="text/html" title="Arrrchetypes :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687081538"></script>
|
||||
<script src="../../../js/variant.js?1687081538"></script>
|
||||
<link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687389786"></script>
|
||||
<script src="../../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -121,74 +121,65 @@
|
||||
<p>A <strong>Home</strong> plank be th' start'n plank o' yer project. It’s best t' have only one plank o' this kind 'n yer project.</p>
|
||||
<p>
|
||||
|
||||
<a href="#image-e3771734268a5ae13112937695835141" class="lightbox-link">
|
||||
<a href="#image-48857e1ed50d25f1a847d31dc122ca8f" class="lightbox-link">
|
||||
<img src="../../../cont/archetypes/pages-home.png?classes=shadow&width=60pc" alt="Home page" class="shadow" style="height: auto; width: 60pc;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-e3771734268a5ae13112937695835141">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-48857e1ed50d25f1a847d31dc122ca8f">
|
||||
<img src="../../../cont/archetypes/pages-home.png?classes=shadow&width=60pc" alt="Home page" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<p>T' create a home plank, run th' follow'n command</p>
|
||||
<div class="highlight"><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>This leads t' a file wit' th' follow'n rrrambl'n</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
<div class="wrap-code highlight"><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>This leads t' a file wit' th' follow'n rrrambl'n</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">archetype = "home"
|
||||
</span></span><span class="line"><span class="cl">title = "{{ replace .Name "-" " " | title }}"
|
||||
</span></span><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Lorem Ipsum.
|
||||
</span></span></code></pre></div><h3 id="archetypes-chapter">Chapter</h3>
|
||||
</span></span><span class="line"><span class="cl">Lorem Ipsum.</span></span></code></pre></div><h3 id="archetypes-chapter">Chapter</h3>
|
||||
<p>A <strong>Chapter</strong> displays a plank meant t' be used as introduct'n fer a set o' child planks. Commonly, it contains a simple title an' a catch line t' define rrrambl'n that can be found below it.</p>
|
||||
<p>
|
||||
|
||||
<a href="#image-fbf02c9ca6d1b0b21ddfc3968d960ae1" class="lightbox-link">
|
||||
<a href="#image-47e2d003fdfe6e7b2dd6fc70005d61c5" class="lightbox-link">
|
||||
<img src="../../../cont/archetypes/pages-chapter.png?classes=shadow&width=60pc" alt="Chapter page" class="shadow" style="height: auto; width: 60pc;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-fbf02c9ca6d1b0b21ddfc3968d960ae1">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-47e2d003fdfe6e7b2dd6fc70005d61c5">
|
||||
<img src="../../../cont/archetypes/pages-chapter.png?classes=shadow&width=60pc" alt="Chapter page" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<p>T' create a chapter plank, run th' follow'n command</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new --kind chapter <name>/_index.md
|
||||
</span></span></code></pre></div><p>This leads t' a file wit' th' follow'n rrrambl'n</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new --kind chapter <name>/_index.md</span></span></code></pre></div><p>This leads t' a file wit' th' follow'n rrrambl'n</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">archetype = "chapter"
|
||||
</span></span><span class="line"><span class="cl">title = "{{ replace .Name "-" " " | title }}"
|
||||
</span></span><span class="line"><span class="cl">weight = X
|
||||
</span></span><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Lorem Ipsum.
|
||||
</span></span></code></pre></div><p>Replace th' <code>X</code> wit' a number. Because this 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>
|
||||
</span></span><span class="line"><span class="cl">Lorem Ipsum.</span></span></code></pre></div><p>Replace th' <code>X</code> wit' a number. Because this 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>
|
||||
<h3 id="archetypes-default">Default</h3>
|
||||
<p>A <strong>Default</strong> plank be any other rrrambl'n plank. If ye set an unknown archetype 'n yer frontmatter, this archetype will be used t' generate th' plank.</p>
|
||||
<p>
|
||||
|
||||
<a href="#image-dbc3943ce1fca759839d98c31e738511" class="lightbox-link">
|
||||
<a href="#image-c625e3229f248ee07016a32be771c3d6" class="lightbox-link">
|
||||
<img src="../../../cont/archetypes/pages-default.png?classes=shadow&width=60pc" alt="Default page" class="shadow" style="height: auto; width: 60pc;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-dbc3943ce1fca759839d98c31e738511">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-c625e3229f248ee07016a32be771c3d6">
|
||||
<img src="../../../cont/archetypes/pages-default.png?classes=shadow&width=60pc" alt="Default page" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<p>T' create a default plank, run either one o' th' follow'n commands</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new <chapter>/<name>/_index.md
|
||||
</span></span></code></pre></div><p>or</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new <chapter>/<name>.md
|
||||
</span></span></code></pre></div><p>This leads t' a file wit' th' follow'n rrrambl'n</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new <chapter>/<name>/_index.md</span></span></code></pre></div><p>or</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new <chapter>/<name>.md</span></span></code></pre></div><p>This leads t' a file wit' th' follow'n rrrambl'n</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">title = "{{ replace .Name "-" " " | title }}"
|
||||
</span></span><span class="line"><span class="cl">weight = X
|
||||
</span></span><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Lorem Ipsum.
|
||||
</span></span></code></pre></div><p>Replace th' <code>X</code> wit' a number or delete th' whole <code>weight</code> parameter entirely.</p>
|
||||
</span></span><span class="line"><span class="cl">Lorem Ipsum.</span></span></code></pre></div><p>Replace th' <code>X</code> wit' a number or delete th' whole <code>weight</code> parameter entirely.</p>
|
||||
<h2 id="self-defined-archetypes">Self defined Archetypes</h2>
|
||||
<p>If ye be 'n need o' further archetypes ye can define yer own or even redefine exist'n ones.</p>
|
||||
<h3 id="template">Template</h3>
|
||||
<p>Define a template file 'n yer project at <code>archetypes/<kind>.md</code> an' make sure it has at least th' frontmatter parameter fer that archetype like</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">archetype = "<span class="p"><</span><span class="nt">kind</span><span class="p">></span>"
|
||||
</span></span><span class="line"><span class="cl">+++
|
||||
</span></span></code></pre></div><p>Afterwards ye can generate new rrrambl'n files o' that kind wit' th' follow'n command</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new --kind <kind> <name>/_index.md
|
||||
</span></span></code></pre></div><h3 id="partials">Partials</h3>
|
||||
</span></span><span class="line"><span class="cl">+++</span></span></code></pre></div><p>Afterwards ye can generate new rrrambl'n files o' that kind wit' th' follow'n command</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new --kind <kind> <name>/_index.md</span></span></code></pre></div><h3 id="partials">Partials</h3>
|
||||
<p>T' define how yer archetypes be rendered, define correspond'n partial files 'n yer projects directory <code>layouts/partials/archetypes/<kind></code>.</p>
|
||||
<p>If ye use an unknown archetype 'n yer frontmatter, th' <code>default</code> archetype will be used t' generate th' plank.</p>
|
||||
<p>Related t' each archetype, several <em>hook</em> partial files 'n th' form o' <code><hook>.html</code> can be given inside each archetype directory. If a partial fer a specific hook be miss'n, no output be generated fer this hook.</p>
|
||||
@ -301,12 +292,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../../js/auto-complete.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/search.js?1687081540" defer></script>
|
||||
<script src="../../../js/auto-complete.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/search.js?1687389788" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -322,7 +313,6 @@
|
||||
<li data-nav-id="/pir/cont/pages/index.html" class=""><a class="padding" href="../../../pir/cont/pages/index.html">planks orrrganizat'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/archetypes/index.html" class="active"><a class="padding" href="../../../pir/cont/archetypes/index.html">Arrrchetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/markdown/index.html" class=""><a class="padding" href="../../../pir/cont/markdown/index.html">Marrrkdown rules<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../../pir/cont/syntaxhighlight/index.html">Code highlight'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/menushortcuts/index.html" class=""><a class="padding" href="../../../pir/cont/menushortcuts/index.html">Menu extrrra shorrrtcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/i18n/index.html" class=""><a class="padding" href="../../../pir/cont/i18n/index.html">Multilingual an' i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/taxonomy/index.html" class=""><a class="padding" href="../../../pir/cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -342,6 +332,7 @@
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-085f961452d7baa981ace00de789c321" aria-controls="subsections-085f961452d7baa981ace00de789c321"><label for="section-085f961452d7baa981ace00de789c321"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu plank 3</span></label><a class="padding" href="../../../pir/shortcodes/children/children-3/index.html">plank 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-085f961452d7baa981ace00de789c321" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../../pir/shortcodes/children/children-3/test3/index.html">plank 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/pir/shortcodes/expand/index.html" class=""><a class="padding" href="../../../pir/shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/highlight/index.html" class=""><a class="padding" href="../../../pir/shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/icon/index.html" class=""><a class="padding" href="../../../pir/shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/include/index.html" class=""><a class="padding" href="../../../pir/shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/math/index.html" class=""><a class="padding" href="../../../pir/shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -425,12 +416,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../../js/buttons.js?1687081540"></script>
|
||||
<script async src="../../../js/buttons.js?1687389788"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../../js/clipboard.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/theme.js?1687081540" defer></script>
|
||||
<script src="../../../js/clipboard.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/theme.js?1687389788" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,21 +13,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/archetypes/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/archetypes/index.html" rel="canonical" type="text/html" title="Arrrchetypes :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../pir/cont/archetypes/index.xml" rel="alternate" type="application/rss+xml" title="Arrrchetypes :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../../css/fontawesome-all.min.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687081541" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687081541" rel="stylesheet" media="print">
|
||||
<link href="../../../css/format-print.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/ie.css?1687081541" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687081541"></script>
|
||||
<script src="../../../js/variant.js?1687081541"></script>
|
||||
<link href="../../../css/fontawesome-all.min.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687389789" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687389789" rel="stylesheet" media="print">
|
||||
<link href="../../../css/format-print.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/ie.css?1687389789" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687389789"></script>
|
||||
<script src="../../../js/variant.js?1687389789"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -84,74 +84,65 @@
|
||||
<p>A <strong>Home</strong> plank be th' start'n plank o' yer project. It’s best t' have only one plank o' this kind 'n yer project.</p>
|
||||
<p>
|
||||
|
||||
<a href="#image-e3771734268a5ae13112937695835141" class="lightbox-link">
|
||||
<a href="#image-48857e1ed50d25f1a847d31dc122ca8f" class="lightbox-link">
|
||||
<img src="../../../cont/archetypes/pages-home.png?classes=shadow&width=60pc" alt="Home page" class="shadow" style="height: auto; width: 60pc;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-e3771734268a5ae13112937695835141">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-48857e1ed50d25f1a847d31dc122ca8f">
|
||||
<img src="../../../cont/archetypes/pages-home.png?classes=shadow&width=60pc" alt="Home page" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<p>T' create a home plank, run th' follow'n command</p>
|
||||
<div class="highlight"><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>This leads t' a file wit' th' follow'n rrrambl'n</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
<div class="wrap-code highlight"><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>This leads t' a file wit' th' follow'n rrrambl'n</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">archetype = "home"
|
||||
</span></span><span class="line"><span class="cl">title = "{{ replace .Name "-" " " | title }}"
|
||||
</span></span><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Lorem Ipsum.
|
||||
</span></span></code></pre></div><h3 id="archetypes-chapter">Chapter</h3>
|
||||
</span></span><span class="line"><span class="cl">Lorem Ipsum.</span></span></code></pre></div><h3 id="archetypes-chapter">Chapter</h3>
|
||||
<p>A <strong>Chapter</strong> displays a plank meant t' be used as introduct'n fer a set o' child planks. Commonly, it contains a simple title an' a catch line t' define rrrambl'n that can be found below it.</p>
|
||||
<p>
|
||||
|
||||
<a href="#image-fbf02c9ca6d1b0b21ddfc3968d960ae1" class="lightbox-link">
|
||||
<a href="#image-47e2d003fdfe6e7b2dd6fc70005d61c5" class="lightbox-link">
|
||||
<img src="../../../cont/archetypes/pages-chapter.png?classes=shadow&width=60pc" alt="Chapter page" class="shadow" style="height: auto; width: 60pc;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-fbf02c9ca6d1b0b21ddfc3968d960ae1">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-47e2d003fdfe6e7b2dd6fc70005d61c5">
|
||||
<img src="../../../cont/archetypes/pages-chapter.png?classes=shadow&width=60pc" alt="Chapter page" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<p>T' create a chapter plank, run th' follow'n command</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new --kind chapter <name>/_index.md
|
||||
</span></span></code></pre></div><p>This leads t' a file wit' th' follow'n rrrambl'n</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new --kind chapter <name>/_index.md</span></span></code></pre></div><p>This leads t' a file wit' th' follow'n rrrambl'n</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">archetype = "chapter"
|
||||
</span></span><span class="line"><span class="cl">title = "{{ replace .Name "-" " " | title }}"
|
||||
</span></span><span class="line"><span class="cl">weight = X
|
||||
</span></span><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Lorem Ipsum.
|
||||
</span></span></code></pre></div><p>Replace th' <code>X</code> wit' a number. Because this 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>
|
||||
</span></span><span class="line"><span class="cl">Lorem Ipsum.</span></span></code></pre></div><p>Replace th' <code>X</code> wit' a number. Because this 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>
|
||||
<h3 id="archetypes-default">Default</h3>
|
||||
<p>A <strong>Default</strong> plank be any other rrrambl'n plank. If ye set an unknown archetype 'n yer frontmatter, this archetype will be used t' generate th' plank.</p>
|
||||
<p>
|
||||
|
||||
<a href="#image-dbc3943ce1fca759839d98c31e738511" class="lightbox-link">
|
||||
<a href="#image-c625e3229f248ee07016a32be771c3d6" class="lightbox-link">
|
||||
<img src="../../../cont/archetypes/pages-default.png?classes=shadow&width=60pc" alt="Default page" class="shadow" style="height: auto; width: 60pc;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-dbc3943ce1fca759839d98c31e738511">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-c625e3229f248ee07016a32be771c3d6">
|
||||
<img src="../../../cont/archetypes/pages-default.png?classes=shadow&width=60pc" alt="Default page" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<p>T' create a default plank, run either one o' th' follow'n commands</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new <chapter>/<name>/_index.md
|
||||
</span></span></code></pre></div><p>or</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new <chapter>/<name>.md
|
||||
</span></span></code></pre></div><p>This leads t' a file wit' th' follow'n rrrambl'n</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new <chapter>/<name>/_index.md</span></span></code></pre></div><p>or</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new <chapter>/<name>.md</span></span></code></pre></div><p>This leads t' a file wit' th' follow'n rrrambl'n</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">title = "{{ replace .Name "-" " " | title }}"
|
||||
</span></span><span class="line"><span class="cl">weight = X
|
||||
</span></span><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Lorem Ipsum.
|
||||
</span></span></code></pre></div><p>Replace th' <code>X</code> wit' a number or delete th' whole <code>weight</code> parameter entirely.</p>
|
||||
</span></span><span class="line"><span class="cl">Lorem Ipsum.</span></span></code></pre></div><p>Replace th' <code>X</code> wit' a number or delete th' whole <code>weight</code> parameter entirely.</p>
|
||||
<h2 id="self-defined-archetypes">Self defined Archetypes</h2>
|
||||
<p>If ye be 'n need o' further archetypes ye can define yer own or even redefine exist'n ones.</p>
|
||||
<h3 id="template">Template</h3>
|
||||
<p>Define a template file 'n yer project at <code>archetypes/<kind>.md</code> an' make sure it has at least th' frontmatter parameter fer that archetype like</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">+++
|
||||
</span></span><span class="line"><span class="cl">archetype = "<span class="p"><</span><span class="nt">kind</span><span class="p">></span>"
|
||||
</span></span><span class="line"><span class="cl">+++
|
||||
</span></span></code></pre></div><p>Afterwards ye can generate new rrrambl'n files o' that kind wit' th' follow'n command</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new --kind <kind> <name>/_index.md
|
||||
</span></span></code></pre></div><h3 id="partials">Partials</h3>
|
||||
</span></span><span class="line"><span class="cl">+++</span></span></code></pre></div><p>Afterwards ye can generate new rrrambl'n files o' that kind wit' th' follow'n command</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl">hugo new --kind <kind> <name>/_index.md</span></span></code></pre></div><h3 id="partials">Partials</h3>
|
||||
<p>T' define how yer archetypes be rendered, define correspond'n partial files 'n yer projects directory <code>layouts/partials/archetypes/<kind></code>.</p>
|
||||
<p>If ye use an unknown archetype 'n yer frontmatter, th' <code>default</code> archetype will be used t' generate th' plank.</p>
|
||||
<p>Related t' each archetype, several <em>hook</em> partial files 'n th' form o' <code><hook>.html</code> can be given inside each archetype directory. If a partial fer a specific hook be miss'n, no output be generated fer this hook.</p>
|
||||
@ -187,8 +178,8 @@
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../../js/clipboard.min.js?1687081541" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687081541" defer></script>
|
||||
<script src="../../../js/theme.js?1687081541" defer></script>
|
||||
<script src="../../../js/clipboard.min.js?1687389790" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687389790" defer></script>
|
||||
<script src="../../../js/theme.js?1687389790" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/i18n/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../../pir/cont/i18n/index.xml" rel="alternate" type="application/rss+xml" title="Multilingual an' i18n :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../pir/cont/i18n/index.print.html" rel="alternate" type="text/html" title="Multilingual an' i18n :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687081538"></script>
|
||||
<script src="../../../js/variant.js?1687081538"></script>
|
||||
<link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687389786"></script>
|
||||
<script src="../../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -118,10 +118,10 @@
|
||||
</ul>
|
||||
<p>
|
||||
|
||||
<a href="#image-ff38a098bb8b6814195284668dd2de70" class="lightbox-link">
|
||||
<a href="#image-fae2678dc310b534a0416f21d5c61e35" class="lightbox-link">
|
||||
<img src="../../../cont/i18n/i18n-menu.gif?classes=shadow&width=18.75rem" alt="I18n menu" class="shadow" style="height: auto; width: 18.75rem;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-ff38a098bb8b6814195284668dd2de70">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-fae2678dc310b534a0416f21d5c61e35">
|
||||
<img src="../../../cont/i18n/i18n-menu.gif?classes=shadow&width=18.75rem" alt="I18n menu" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<h2 id="basic-configuration">Basic configurat'n</h2>
|
||||
@ -135,7 +135,7 @@
|
||||
<p>Make sure yer default language be defined as th' first one 'n th' <code>[languages]</code> array, as th' theme needs t' make assumpt'ns on it</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="c"># English be th' default language</span>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="c"># English be th' default language</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">defaultContentLanguage</span> <span class="p">=</span> <span class="s2">"en"</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>
|
||||
@ -147,8 +147,7 @@
|
||||
</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="nx">title</span> <span class="p">=</span> <span class="s2">"Cap'n Hugo Relearrrn Theme"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">weight</span> <span class="p">=</span> <span class="mi">2</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">languageName</span> <span class="p">=</span> <span class="s2">"Arrr! Pirrrates"</span>
|
||||
</span></span></code></pre></div><p>Then, fer each new plank, append th' <em>id</em> o' th' language t' th' file.</p>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">languageName</span> <span class="p">=</span> <span class="s2">"Arrr! Pirrrates"</span></span></span></code></pre></div><p>Then, fer each new plank, append th' <em>id</em> o' th' language t' th' file.</p>
|
||||
<ul>
|
||||
<li>Single file <code>my-page.md</code> be split 'n two files:
|
||||
<ul>
|
||||
@ -197,9 +196,8 @@ You’ll see error reports 'n yer browsers console log fer each unsupported
|
||||
</div>
|
||||
<h3 id="search-with-mixed-language-support">Search wit' mixed language support</h3>
|
||||
<p>In case yer page’s rrrambl'n contains text 'n multiple languages (e.g. ye be writ'n a Russian documentat'n fer yer english API), ye can add those languages t' yer <code>config.toml</code> t' broaden search.</p>
|
||||
<div class="highlight"><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="s2">"en"</span> <span class="p">]</span>
|
||||
</span></span></code></pre></div><p>As this be an array, ye can add multiple additional languages.</p>
|
||||
<div class="wrap-code highlight"><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="s2">"en"</span> <span class="p">]</span></span></span></code></pre></div><p>As this be an array, ye can add multiple additional languages.</p>
|
||||
|
||||
<div class="box notices cstyle note">
|
||||
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Avast</div>
|
||||
@ -214,10 +212,9 @@ You’ll see error reports 'n yer browsers console log fer each unsupported
|
||||
<h2 id="disable-language-switching">Dis'ble language switch'n</h2>
|
||||
<p>Switch'n th' language 'n th' browser be a great feature, but fer some reasons ye may want t' dis'ble it.</p>
|
||||
<p>Just set <code>disableLanguageSwitchingButton=true</code> 'n yer <code>config.toml</code></p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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"># When us'n multilingual website, dis'ble th' switch language button.</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">disableLanguageSwitchingButton</span> <span class="p">=</span> <span class="kc">true</span>
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">disableLanguageSwitchingButton</span> <span class="p">=</span> <span class="kc">true</span></span></span></code></pre></div>
|
||||
|
||||
<footer class="footline">
|
||||
|
||||
@ -304,12 +301,12 @@ You’ll see error reports 'n yer browsers console log fer each unsupported
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../../js/auto-complete.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/search.js?1687081540" defer></script>
|
||||
<script src="../../../js/auto-complete.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/search.js?1687389788" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -325,7 +322,6 @@ You’ll see error reports 'n yer browsers console log fer each unsupported
|
||||
<li data-nav-id="/pir/cont/pages/index.html" class=""><a class="padding" href="../../../pir/cont/pages/index.html">planks orrrganizat'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/archetypes/index.html" class=""><a class="padding" href="../../../pir/cont/archetypes/index.html">Arrrchetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/markdown/index.html" class=""><a class="padding" href="../../../pir/cont/markdown/index.html">Marrrkdown rules<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../../pir/cont/syntaxhighlight/index.html">Code highlight'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/menushortcuts/index.html" class=""><a class="padding" href="../../../pir/cont/menushortcuts/index.html">Menu extrrra shorrrtcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/i18n/index.html" class="active"><a class="padding" href="../../../pir/cont/i18n/index.html">Multilingual an' i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/taxonomy/index.html" class=""><a class="padding" href="../../../pir/cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -345,6 +341,7 @@ You’ll see error reports 'n yer browsers console log fer each unsupported
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-085f961452d7baa981ace00de789c321" aria-controls="subsections-085f961452d7baa981ace00de789c321"><label for="section-085f961452d7baa981ace00de789c321"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu plank 3</span></label><a class="padding" href="../../../pir/shortcodes/children/children-3/index.html">plank 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-085f961452d7baa981ace00de789c321" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../../pir/shortcodes/children/children-3/test3/index.html">plank 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/pir/shortcodes/expand/index.html" class=""><a class="padding" href="../../../pir/shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/highlight/index.html" class=""><a class="padding" href="../../../pir/shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/icon/index.html" class=""><a class="padding" href="../../../pir/shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/include/index.html" class=""><a class="padding" href="../../../pir/shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/math/index.html" class=""><a class="padding" href="../../../pir/shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -428,12 +425,12 @@ You’ll see error reports 'n yer browsers console log fer each unsupported
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../../js/buttons.js?1687081540"></script>
|
||||
<script async src="../../../js/buttons.js?1687389788"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../../js/clipboard.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687081540" defer></script>
|
||||
<script src="../../../js/theme.js?1687081540" defer></script>
|
||||
<script src="../../../js/clipboard.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687389788" defer></script>
|
||||
<script src="../../../js/theme.js?1687389788" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,21 +13,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/i18n/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/i18n/index.html" rel="canonical" type="text/html" title="Multilingual an' i18n :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../pir/cont/i18n/index.xml" rel="alternate" type="application/rss+xml" title="Multilingual an' i18n :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../../css/fontawesome-all.min.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687081541" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687081541" rel="stylesheet" media="print">
|
||||
<link href="../../../css/format-print.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/ie.css?1687081541" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687081541"></script>
|
||||
<script src="../../../js/variant.js?1687081541"></script>
|
||||
<link href="../../../css/fontawesome-all.min.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687389789" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687389789" rel="stylesheet" media="print">
|
||||
<link href="../../../css/format-print.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/ie.css?1687389789" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687389789"></script>
|
||||
<script src="../../../js/variant.js?1687389789"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -86,10 +86,10 @@
|
||||
</ul>
|
||||
<p>
|
||||
|
||||
<a href="#image-ff38a098bb8b6814195284668dd2de70" class="lightbox-link">
|
||||
<a href="#image-fae2678dc310b534a0416f21d5c61e35" class="lightbox-link">
|
||||
<img src="../../../cont/i18n/i18n-menu.gif?classes=shadow&width=18.75rem" alt="I18n menu" class="shadow" style="height: auto; width: 18.75rem;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-ff38a098bb8b6814195284668dd2de70">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-fae2678dc310b534a0416f21d5c61e35">
|
||||
<img src="../../../cont/i18n/i18n-menu.gif?classes=shadow&width=18.75rem" alt="I18n menu" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
<h2 id="basic-configuration">Basic configurat'n</h2>
|
||||
@ -103,7 +103,7 @@
|
||||
<p>Make sure yer default language be defined as th' first one 'n th' <code>[languages]</code> array, as th' theme needs t' make assumpt'ns on it</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="c"># English be th' default language</span>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="c"># English be th' default language</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">defaultContentLanguage</span> <span class="p">=</span> <span class="s2">"en"</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>
|
||||
@ -115,8 +115,7 @@
|
||||
</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="nx">title</span> <span class="p">=</span> <span class="s2">"Cap'n Hugo Relearrrn Theme"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">weight</span> <span class="p">=</span> <span class="mi">2</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">languageName</span> <span class="p">=</span> <span class="s2">"Arrr! Pirrrates"</span>
|
||||
</span></span></code></pre></div><p>Then, fer each new plank, append th' <em>id</em> o' th' language t' th' file.</p>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">languageName</span> <span class="p">=</span> <span class="s2">"Arrr! Pirrrates"</span></span></span></code></pre></div><p>Then, fer each new plank, append th' <em>id</em> o' th' language t' th' file.</p>
|
||||
<ul>
|
||||
<li>Single file <code>my-page.md</code> be split 'n two files:
|
||||
<ul>
|
||||
@ -165,9 +164,8 @@ You’ll see error reports 'n yer browsers console log fer each unsupported
|
||||
</div>
|
||||
<h3 id="search-with-mixed-language-support">Search wit' mixed language support</h3>
|
||||
<p>In case yer page’s rrrambl'n contains text 'n multiple languages (e.g. ye be writ'n a Russian documentat'n fer yer english API), ye can add those languages t' yer <code>config.toml</code> t' broaden search.</p>
|
||||
<div class="highlight"><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="s2">"en"</span> <span class="p">]</span>
|
||||
</span></span></code></pre></div><p>As this be an array, ye can add multiple additional languages.</p>
|
||||
<div class="wrap-code highlight"><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="s2">"en"</span> <span class="p">]</span></span></span></code></pre></div><p>As this be an array, ye can add multiple additional languages.</p>
|
||||
|
||||
<div class="box notices cstyle note">
|
||||
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Avast</div>
|
||||
@ -182,10 +180,9 @@ You’ll see error reports 'n yer browsers console log fer each unsupported
|
||||
<h2 id="disable-language-switching">Dis'ble language switch'n</h2>
|
||||
<p>Switch'n th' language 'n th' browser be a great feature, but fer some reasons ye may want t' dis'ble it.</p>
|
||||
<p>Just set <code>disableLanguageSwitchingButton=true</code> 'n yer <code>config.toml</code></p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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"># When us'n multilingual website, dis'ble th' switch language button.</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">disableLanguageSwitchingButton</span> <span class="p">=</span> <span class="kc">true</span>
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">disableLanguageSwitchingButton</span> <span class="p">=</span> <span class="kc">true</span></span></span></code></pre></div>
|
||||
|
||||
<footer class="footline">
|
||||
|
||||
@ -195,8 +192,8 @@ You’ll see error reports 'n yer browsers console log fer each unsupported
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../../js/clipboard.min.js?1687081541" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687081541" defer></script>
|
||||
<script src="../../../js/theme.js?1687081541" defer></script>
|
||||
<script src="../../../js/clipboard.min.js?1687389790" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687389790" defer></script>
|
||||
<script src="../../../js/theme.js?1687389790" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../pir/cont/index.xml" rel="alternate" type="application/rss+xml" title="Rambl'n :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../pir/cont/index.print.html" rel="alternate" type="text/html" title="Rambl'n :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687081538"></script>
|
||||
<script src="../../js/variant.js?1687081538"></script>
|
||||
<link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../js/url.js?1687389786"></script>
|
||||
<script src="../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -180,12 +180,12 @@
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../js/auto-complete.js?1687081540" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687081540" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687081540" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687081540" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687081540" defer></script>
|
||||
<script src="../../js/search.js?1687081540" defer></script>
|
||||
<script src="../../js/auto-complete.js?1687389788" defer></script>
|
||||
<script src="../../js/lunr/lunr.min.js?1687389788" defer></script>
|
||||
<script src="../../js/lunr/lunr.stemmer.support.min.js?1687389788" defer></script>
|
||||
<script src="../../js/lunr/lunr.multi.min.js?1687389788" defer></script>
|
||||
<script src="../../js/lunr/lunr.en.min.js?1687389788" defer></script>
|
||||
<script src="../../js/search.js?1687389788" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -201,7 +201,6 @@
|
||||
<li data-nav-id="/pir/cont/pages/index.html" class=""><a class="padding" href="../../pir/cont/pages/index.html">planks orrrganizat'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/archetypes/index.html" class=""><a class="padding" href="../../pir/cont/archetypes/index.html">Arrrchetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/markdown/index.html" class=""><a class="padding" href="../../pir/cont/markdown/index.html">Marrrkdown rules<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../pir/cont/syntaxhighlight/index.html">Code highlight'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/menushortcuts/index.html" class=""><a class="padding" href="../../pir/cont/menushortcuts/index.html">Menu extrrra shorrrtcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/i18n/index.html" class=""><a class="padding" href="../../pir/cont/i18n/index.html">Multilingual an' i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/taxonomy/index.html" class=""><a class="padding" href="../../pir/cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -221,6 +220,7 @@
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-085f961452d7baa981ace00de789c321" aria-controls="subsections-085f961452d7baa981ace00de789c321"><label for="section-085f961452d7baa981ace00de789c321"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu plank 3</span></label><a class="padding" href="../../pir/shortcodes/children/children-3/index.html">plank 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-085f961452d7baa981ace00de789c321" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../pir/shortcodes/children/children-3/test3/index.html">plank 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/pir/shortcodes/expand/index.html" class=""><a class="padding" href="../../pir/shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/highlight/index.html" class=""><a class="padding" href="../../pir/shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/icon/index.html" class=""><a class="padding" href="../../pir/shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/include/index.html" class=""><a class="padding" href="../../pir/shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/math/index.html" class=""><a class="padding" href="../../pir/shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -304,12 +304,12 @@
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../js/buttons.js?1687081540"></script>
|
||||
<script async src="../../js/buttons.js?1687389788"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../js/clipboard.min.js?1687081540" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687081540" defer></script>
|
||||
<script src="../../js/theme.js?1687081540" defer></script>
|
||||
<script src="../../js/clipboard.min.js?1687389788" defer></script>
|
||||
<script src="../../js/perfect-scrollbar.min.js?1687389788" defer></script>
|
||||
<script src="../../js/theme.js?1687389788" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -32,16 +32,6 @@ Th' Relearrrn theme defines some few archetypes o' planks but ye be free
|
||||
Marrrkdown be a better way t' write HTML, without all th' complexities an' ugliness that usually accompanies it.
|
||||
Some o' th' key benefits be:
|
||||
Marrrkdown be simple t' learn, wit' minimal extra characters so it&rsquo;s also quicker t' write rrrambl'n. Less chance o' errors when writ'n 'n Marrrkdown.</description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Code highlight'n</title>
|
||||
<link>https://McShelby.github.io/hugo-theme-relearn/pir/cont/syntaxhighlight/index.html</link>
|
||||
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||||
<guid>https://McShelby.github.io/hugo-theme-relearn/pir/cont/syntaxhighlight/index.html</guid>
|
||||
<description>Th' Relearrrn theme uses Hugo&rsquo;s built-in rules highlight'n fer code.
|
||||
Marrrkdown rules Wrap th' code block wit' three backticks an' th' name o' th' language. Highlight will try t' auto detect th' language if one be not provided.
|
||||
```json [ { &#34;title&#34;: &#34;apples&#34;, &#34;count&#34;: [12000, 20000], &#34;description&#34;: {&#34;text&#34;: &#34;...&#34;, &#34;sensitive&#34;: false} }, { &#34;title&#34;: &#34;oranges&#34;, &#34;count&#34;: [17500, null], &#34;description&#34;: {&#34;text&#34;: &#34;...&#34;, &#34;sensitive&#34;: false} } ] ``` Renders t':
|
||||
[ { &#34;title&#34;: &#34;apples&#34;, &#34;count&#34;: [12000, 20000], &#34;description&#34;: {&#34;text&#34;: &#34;.</description>
|
||||
</item>
|
||||
<item>
|
||||
<title>Menu extrrra shorrrtcuts</title>
|
||||
@ -68,7 +58,7 @@ Avail'ble languages: Arabic, Simplified Chinese, Traditional Chinese, Czech,
|
||||
<guid>https://McShelby.github.io/hugo-theme-relearn/pir/cont/taxonomy/index.html</guid>
|
||||
<description>Th' Relearrrn theme supports Hugo&rsquo;s default taxonomies tag an' category out o' th' box.
|
||||
Configurat'n Just add tags and/or categories t' any plank. They can be given as a single str'n or an array o' str'ns.
|
||||
+++ categories = [&#34;taxonomy&#34;, &#34;content&#34;] tags = &#34;tutorial&#34; title = &#34;Taxonomy&#34; +++ Behavior Th' tags be displayed at th' top o' th' plank 'n alphabetical order.
|
||||
+++ categories = [&#34;taxonomy&#34;, &#34;content&#34;] tags = &#34;tutorial&#34; title = &#34;Taxonomy&#34; +++Behavior Th' tags be displayed at th' top o' th' plank 'n alphabetical order.
|
||||
Th' categories be displayed at th' bottom o' th' plank 'n alphabetical order 'n th' default implementat'n o' th' theme but can be customized by provid'n yer own content-footer.</description>
|
||||
</item>
|
||||
</channel>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/markdown/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../../pir/cont/markdown/index.xml" rel="alternate" type="application/rss+xml" title="Marrrkdown rules :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../pir/cont/markdown/index.print.html" rel="alternate" type="text/html" title="Marrrkdown rules :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687081538"></script>
|
||||
<script src="../../../js/variant.js?1687081538"></script>
|
||||
<link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687389786"></script>
|
||||
<script src="../../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -57,7 +57,7 @@
|
||||
<nav id="topbar" class="highlightable">
|
||||
<div>
|
||||
<div class="navigation">
|
||||
<a class="nav nav-next topbar-link" href="../../../pir/cont/syntaxhighlight/index.html" title="Code highlight'n (🡐)"><i class="fas fa-chevron-right fa-fw"></i></a>
|
||||
<a class="nav nav-next topbar-link" href="../../../pir/cont/menushortcuts/index.html" title="Menu extrrra shorrrtcuts (🡐)"><i class="fas fa-chevron-right fa-fw"></i></a>
|
||||
</div>
|
||||
<div class="navigation">
|
||||
<a class="nav nav-prev topbar-link" href="../../../pir/cont/archetypes/index.html" title="Arrrchetypes (🡒)"><i class="fas fa-chevron-left fa-fw"></i></a>
|
||||
@ -181,10 +181,9 @@
|
||||
<h2 id="paragraphs">Paragraphs</h2>
|
||||
<p>In Marrrkdown yer rrrambl'n usually spans th' whole avail'ble document width. This be called a block. Blocks be always separated by whitespace t' their adjacent blocks 'n th' result'n document.</p>
|
||||
<p>Any text not start'n wit' a special sign be written as normal, plain text paragraph block an' must be separated t' its adjacent blocks by empty lines.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus.
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Et legere ocurreret pri, animal tacimates complectitur ad cum. Cu eum inermis inimicus efficiendi. Labore officiis his ex, soluta officiis concludaturque ei qui, vide sensibus vim ad.
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">Et legere ocurreret pri, animal tacimates complectitur ad cum. Cu eum inermis inimicus efficiendi. Labore officiis his ex, soluta officiis concludaturque ei qui, vide sensibus vim ad.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -196,7 +195,7 @@
|
||||
<h2 id="headings">Head'ns</h2>
|
||||
<p>A bloody idea be t' structure yer rrrambl'n us'n head'ns an' subhead'ns. HTML-head'ns from <code>h1</code> through <code>h6</code> be constructed wit' a <code>#</code> fer each level.</p>
|
||||
<p>In Hugo ye usually don’t use <code>h1</code> as this be generated by yer theme an' ye should only have one such element 'n a document.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="gh"># h1 Head'n
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="gh"># h1 Head'n
|
||||
</span></span></span><span class="line"><span class="cl"><span class="gh"></span>
|
||||
</span></span><span class="line"><span class="cl"><span class="gu">## h2 Head'n
|
||||
</span></span></span><span class="line"><span class="cl"><span class="gu"></span>
|
||||
@ -206,8 +205,7 @@
|
||||
</span></span></span><span class="line"><span class="cl"><span class="gu"></span>
|
||||
</span></span><span class="line"><span class="cl"><span class="gu">##### h5 Head'n
|
||||
</span></span></span><span class="line"><span class="cl"><span class="gu"></span>
|
||||
</span></span><span class="line"><span class="cl"><span class="gu">###### h6 Head'n
|
||||
</span></span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">###### h6 Head'n</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -222,12 +220,11 @@
|
||||
</div>
|
||||
<h2 id="horizontal-rules">Horizontal Rules</h2>
|
||||
<p>T' further structure yer rrrambl'n ye can add horizontal rules. They create a “thematic break” between paragraph blocks. In Marrrkdown, ye can create it wit' three consecutive dashes <code>---</code>.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus.
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">---
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Et legere ocurreret pri, animal tacimates complectitur ad cum. Cu eum inermis inimicus efficiendi. Labore officiis his ex, soluta officiis concludaturque ei qui, vide sensibus vim ad.
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">Et legere ocurreret pri, animal tacimates complectitur ad cum. Cu eum inermis inimicus efficiendi. Labore officiis his ex, soluta officiis concludaturque ei qui, vide sensibus vim ad.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -240,8 +237,7 @@
|
||||
<h2 id="text-markers">Text Markers</h2>
|
||||
<h3 id="bold">Bold</h3>
|
||||
<p>Ye can show importance o' a snippet o' text wit' a heavier font-weight by enclos'n it wit' two asterisks <code>**</code>.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">I am rendered wit' <span class="gs">**bold text**</span>
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">I am rendered wit' **bold text**</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -251,8 +247,7 @@
|
||||
</div>
|
||||
<h3 id="italics">Italics</h3>
|
||||
<p>Ye can emphasize a snippet o' text wit' italics by enclos'n it wit' underscores <code>_</code>.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">I am rendered wit' <span class="ge">_italicized text_</span>
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">I am rendered wit' _italicized text_</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -262,8 +257,7 @@
|
||||
</div>
|
||||
<h3 id="strikethrough">Strikethrough</h3>
|
||||
<p>In GFM (GitHub Flavored Markdown) ye can do strikethroughs by enclos'n text wit' two tildes <code>~~</code>.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">~~Strike through this text~~
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">~~Strike through this text~~</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -273,14 +267,13 @@
|
||||
</div>
|
||||
<h2 id="text-substitution">Text substitut'n</h2>
|
||||
<p>This Marrrkdown dialect supports an extension t' combine multiple punctuat'n characters t' single typographic entities. This will only be applied t' text outside o' code blocks or inline code.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Do'ble quotes <span class="sb">`"`</span> an' single quotes <span class="sb">`'`</span> o' enclosed text be replaced by <span class="ge">**</span>"do'ble curly quotes"** an' <span class="ge">**</span>'single curly quotes'**.
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Do'ble quotes <span class="sb">`"`</span> an' single quotes <span class="sb">`'`</span> o' enclosed text be replaced by <span class="ge">**</span>"do'ble curly quotes"** an' <span class="ge">**</span>'single curly quotes'**.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Do'ble dashes <span class="sb">`--`</span> an' triple dashes <span class="sb">`---`</span> be replaced by en-dash <span class="ge">**</span>--** an' em-dash <span class="ge">**</span>---** entities.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Do'ble arrows point'n left <span class="sb">`<<`</span> or right <span class="sb">`>>`</span> be replaced by arrow <span class="ge">**</span><span class="err"><<</span>** an' <span class="ge">**</span>>>** entities.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Three consecutive dots <span class="sb">`...`</span> be replaced by an ellipsis <span class="ge">**</span>...** entity.
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">Three consecutive dots <span class="sb">`...`</span> be replaced by an ellipsis <span class="ge">**</span>...** entity.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -296,15 +289,14 @@
|
||||
<p>Ye can write a list o' items 'n which th' order o' th' items does not explicitly matter.</p>
|
||||
<p>It be poss'ble t' nest lists by indent'n an item fer th' next sublevel.</p>
|
||||
<p>Ye may use any o' <code>-</code>, <code>*</code> or <code>+</code> t' denote bullets fer each list item but should not switch between those symbols inside one whole list.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">-</span> Lorem ipsum dolor sit amet
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">-</span> Lorem ipsum dolor sit amet
|
||||
</span></span><span class="line"><span class="cl"><span class="k">-</span> Consectetur adipisc'n elit
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">-</span> Vestibulum laoreet porttitor sem
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">-</span> Ac tristique libero volutpat at
|
||||
</span></span><span class="line"><span class="cl"><span class="k">-</span> Nulla volutpat aliquam velit
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">-</span> Phasellus iaculis neque
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">-</span> Purus sodales ultricies
|
||||
</span></span><span class="line"><span class="cl"><span class="k">-</span> Faucibus porta lacus fringilla vel
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">- Faucibus porta lacus fringilla vel</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -331,15 +323,14 @@
|
||||
<p>Ye can create a list o' items 'n which th' order o' items does explicitly matter.</p>
|
||||
<p>It be poss'ble t' nest lists by indent'n an item fer th' next sublevel.</p>
|
||||
<p>Marrrkdown will automatically number each o' yer items consecutively. This means, th' order number ye be provid'n be irrelevant.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">1.</span> Lorem ipsum dolor sit amet
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">1.</span> Lorem ipsum dolor sit amet
|
||||
</span></span><span class="line"><span class="cl"><span class="k">3.</span> Consectetur adipisc'n elit
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">1.</span> Integer molestie lorem at massa
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">7.</span> Facilisis 'n pretium nisl aliquet
|
||||
</span></span><span class="line"><span class="cl"><span class="k">99.</span> Nulla volutpat aliquam velit
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">1.</span> Faucibus porta lacus fringilla vel
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">1.</span> Aenean sit amet erat nunc
|
||||
</span></span><span class="line"><span class="cl"><span class="k">17.</span> Eget porttitor lorem
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">17. Eget porttitor lorem</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -364,12 +355,11 @@
|
||||
</div>
|
||||
<h3 id="tasks">Tasks</h3>
|
||||
<p>In GFM (GitHub Flavored Markdown) ye can add task lists result'n 'n checked or unchecked non-click'ble items</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">- [x]</span> Basic Test
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">- [x]</span> Basic Test
|
||||
</span></span><span class="line"><span class="cl"><span class="k">- [ ]</span> More Tests
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">- [x]</span> View
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">- [x]</span> Hear
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">- [ ]</span> Smell
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"> - [ ] Smell</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -390,7 +380,7 @@
|
||||
<p>This Marrrkdown dialect supports an extension t' add definit'n lists. Definit'n lists be made o' terms an' definit'ns o' these terms, much like 'n a dictionary.</p>
|
||||
<p>A definit'n list 'n Marrrkdown Extra be made o' a single-line term followed by a colon an' th' definit'n fer that term. Ye can also associate more than one term t' a definit'n.</p>
|
||||
<p>If ye add empty lines around th' definit'n terms, additional vertical space will be generated. Also multiple paragraphs be poss'ble</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Apple
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Apple
|
||||
</span></span><span class="line"><span class="cl">: Pomaceous fruit o' plants o' th' genus Malus 'n th' family Rosaceae.
|
||||
</span></span><span class="line"><span class="cl">: An American computer company.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
@ -400,8 +390,7 @@
|
||||
</span></span><span class="line"><span class="cl"> Ye can make juice out o' it.
|
||||
</span></span><span class="line"><span class="cl">: A telecommunicat'n company.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl"> Ye can't make juice out o' it.
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"> Ye can't make juice out o' it.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -423,8 +412,7 @@
|
||||
<h2 id="code">Code</h2>
|
||||
<h3 id="inline-code">Inline Code</h3>
|
||||
<p>Inline snippets o' code can be wrapped wit' backticks <code>`</code>.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">In this example, <span class="sb">`<div></div>`</span> be marked as code.
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">In this example, <span class="sb">`<div></div>`</span> be marked as code.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -434,13 +422,12 @@
|
||||
</div>
|
||||
<h3 id="indented-code-block">Indented Code Block</h3>
|
||||
<p>A simple code block can be generated by indent'n several lines o' code by at least two spaces.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Be impressed by my advanced code:
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Be impressed by my advanced code:
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl"> // Some comments
|
||||
</span></span><span class="line"><span class="cl"> line 1 o' code
|
||||
</span></span><span class="line"><span class="cl"> line 2 o' code
|
||||
</span></span><span class="line"><span class="cl"> line 3 o' code
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"> line 3 o' code</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -456,8 +443,8 @@ line 3 o' code
|
||||
<h3 id="fenced-code-block">Fenced Code Block</h3>
|
||||
<p>If ye want t' gain more control o' yer code block ye can enclose yer code by at least three backticks <code>```</code> a so called fence.</p>
|
||||
<p>In GFM (GitHub Flavored Markdown) ye can also add a language specifier directly aft th' open'n fence, <code>```js</code>, an' rules highlight'n will automatically be applied accord'n t' th' selected language 'n th' rendered HTML.</p>
|
||||
<p>See <a href="../../../cont/syntaxhighlight/">Code Highlight'n</a> fer additional documentat'n.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">```js
|
||||
<p>See <a href="../../../shortcodes/highlight/">Code Highlight'n</a> fer additional documentat'n.</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">```js
|
||||
</span></span><span class="line"><span class="cl">grunt.initConfig({
|
||||
</span></span><span class="line"><span class="cl"> assemble: {
|
||||
</span></span><span class="line"><span class="cl"> opt'ns: {
|
||||
@ -476,13 +463,12 @@ line 3 o' code
|
||||
</span></span><span class="line"><span class="cl"> }
|
||||
</span></span><span class="line"><span class="cl"> }
|
||||
</span></span><span class="line"><span class="cl">};
|
||||
</span></span><span class="line"><span class="cl">```
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">```</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-js" data-lang="js"><span class="line"><span class="cl"><span class="nx">grunt</span><span class="p">.</span><span class="nx">initConfig</span><span class="p">({</span>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-js" data-lang="js"><span class="line"><span class="cl"><span class="nx">grunt</span><span class="p">.</span><span class="nx">initConfig</span><span class="p">({</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">assemble</span><span class="o">:</span> <span class="p">{</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">opt'ns</span><span class="o">:</span> <span class="p">{</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">assets</span><span class="o">:</span> <span class="s1">'docs/assets'</span><span class="p">,</span>
|
||||
@ -499,17 +485,15 @@ line 3 o' code
|
||||
</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>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">};</span></span></span></code></pre></div></div>
|
||||
</div>
|
||||
<h2 id="tables">Tables</h2>
|
||||
<p>In GFM (GitHub Flavored Markdown) ye can create tables by add'n pipes as dividers between each cell, an' by add'n a line o' dashes (also separated by bars) beneath th' header. Avast that th' pipes do not need t' be vertically aligned.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">| Opt'n | Descript'n |
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">| Opt'n | Descript'n |
|
||||
</span></span><span class="line"><span class="cl">| ------ | ----------- |
|
||||
</span></span><span class="line"><span class="cl">| data | path t' data files t' supply th' data that will be passed into templates. |
|
||||
</span></span><span class="line"><span class="cl">| engine | engine t' be used fer process'n templates. Handlebars be th' default. |
|
||||
</span></span><span class="line"><span class="cl">| ext | extension t' be used fer dest files. |
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">| ext | extension t' be used fer dest files. |</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -540,12 +524,11 @@ line 3 o' code
|
||||
</div>
|
||||
<h3 id="aligned-columns">Aligned Columns</h3>
|
||||
<p>Add'n a colon on th' left and/or right side o' th' dashes below any head'n will align th' text fer that column accordingly.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">| Opt'n | Number | Descript'n |
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">| Opt'n | Number | Descript'n |
|
||||
</span></span><span class="line"><span class="cl">| ------:|:------:|:----------- |
|
||||
</span></span><span class="line"><span class="cl">| data | 1 | path t' data files t' supply th' data that will be passed into templates. |
|
||||
</span></span><span class="line"><span class="cl">| engine | 2 | engine t' be used fer process'n templates. Handlebars be th' default. |
|
||||
</span></span><span class="line"><span class="cl">| ext | 3 | extension t' be used fer dest files. |
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">| ext | 3 | extension t' be used fer dest files. |</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -581,12 +564,11 @@ line 3 o' code
|
||||
<h2 id="blockquotes">Blockquotes</h2>
|
||||
<p>For quot'n blocks o' rrrambl'n from another source within yer document add <code>></code> before any text ye want t' quote.</p>
|
||||
<p>Blockquotes can also be nested.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">> </span><span class="ge">Donec massa lacus, ultricies a ullamcorper 'n, fermentum sed augue. Nunc augue augue, aliquam non hendrerit ac, commodo vel nisi.
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">> </span><span class="ge">Donec massa lacus, ultricies a ullamcorper 'n, fermentum sed augue. Nunc augue augue, aliquam non hendrerit ac, commodo vel nisi.
|
||||
</span></span></span><span class="line"><span class="cl"><span class="ge"></span><span class="k">>
|
||||
</span></span></span><span class="line"><span class="cl"><span class="k"></span><span class="ge">> > Sed adipisc'n elit vitae augue consectetur a gravida nunc vehicula. Donec auctor odio non est accumsan facilisis. Aliquam id turpis 'n dolor tincidunt mollis ac eu diam.
|
||||
</span></span></span><span class="line"><span class="cl"><span class="ge"></span><span class="k">>
|
||||
</span></span></span><span class="line"><span class="cl"><span class="k"></span><span class="ge">> Mauris sit amet ligula egestas, feugiat metus tincidunt, luctus libero. Donec congue finibus tempor. Vestibulum aliquet sollicitudin erat, ut aliquet purus posuere luctus.
|
||||
</span></span></span></code></pre></div>
|
||||
</span></span></span><span class="line"><span class="cl"><span class="ge"></span>>
|
||||
</span></span><span class="line"><span class="cl">> Mauris sit amet ligula egestas, feugiat metus tincidunt, luctus libero. Donec congue finibus tempor. Vestibulum aliquet sollicitudin erat, ut aliquet purus posuere luctus.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -603,8 +585,7 @@ line 3 o' code
|
||||
<h2 id="links">Links</h2>
|
||||
<h3 id="autolink">Autolink</h3>
|
||||
<p>In GFM (GitHub Flavored Markdown) absolute URLs will automatically be converted into a link.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">This be a link t' https://example.com.
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">This be a link t' https://example.com.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -614,8 +595,7 @@ line 3 o' code
|
||||
</div>
|
||||
<h3 id="basic-link">Basic Link</h3>
|
||||
<p>Ye can explicitly define links 'n case ye want t' use non-absolute URLs or want t' give different text.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">[<span class="nt">Assemble</span>](<span class="na">http://assemble.io</span>)
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">[<span class="nt">Assemble</span>](<span class="na">http://assemble.io</span>)</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -625,8 +605,7 @@ line 3 o' code
|
||||
</div>
|
||||
<h3 id="link-with-tooltip">Link wit' Tooltip</h3>
|
||||
<p>For even further informat'n, ye can add an additional text, displayed 'n a tooltip on hover'n over th' link.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">[<span class="nt">Upstage</span>](<span class="na">https://github.com/upstage/ "Visit Upstage!"</span>)
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">[<span class="nt">Upstage</span>](<span class="na">https://github.com/upstage/ "Visit Upstage!"</span>)</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -636,10 +615,9 @@ line 3 o' code
|
||||
</div>
|
||||
<h3 id="link-references">Link References</h3>
|
||||
<p>Links can be simplyfied fer recurr'n reuse by us'n a reference ID t' later define th' URL locat'n. This simplyfies writ'n if ye want t' use a link more than once 'n a document.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">[Example][somelinkID]
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">[Example][somelinkID]
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">[somelinkID]: https://example.com "Go t' example domain"
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">[somelinkID]: https://example.com "Go t' example domain"</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -651,7 +629,7 @@ line 3 o' code
|
||||
<p>Footnotes work mostly like reference-style links. A footnote be made o' two th'ns, a marker 'n th' text that will become a superscript number an' a footnote definit'n that will be placed 'n a list o' footnotes.</p>
|
||||
<p>Usually th' list o' footnotes will be shown at th' end o' yer document. If we use a footnote 'n a notice box it will instead be listed at th' end o' its box.</p>
|
||||
<p>Footnotes can contain block elements, which means that ye can put multiple paragraphs, lists, blockquotes an' so on 'n a footnote. It works th' same as fer list items, just indent th' follow'n paragraphs by four spaces 'n th' footnote definit'n.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">That's some text wit' a footnote[^1]
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">That's some text wit' a footnote[^1]
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">[^1]: An' that's th' footnote.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
@ -660,8 +638,7 @@ line 3 o' code
|
||||
</span></span><span class="line"><span class="cl">[^someid]:
|
||||
</span></span><span class="line"><span class="cl"> Anyth'n o' interest goes here.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl"> Blue light glows blue.
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"> Blue light glows blue.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -685,56 +662,53 @@ line 3 o' code
|
||||
<h2 id="images">Images</h2>
|
||||
<h3 id="basic-images">Basic Images</h3>
|
||||
<p>Images have a similar rules t' links but include a preced'n exclamat'n mark.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-4ee0f3b575d40e3cb2904eaf005c773d" class="lightbox-link">
|
||||
<a href="#image-0e2a66e8cc8e7a016967678c4f026e51" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/spocktocat.png?width=20vw&classes=bg-white" alt="Spock" class="bg-white" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-4ee0f3b575d40e3cb2904eaf005c773d">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-0e2a66e8cc8e7a016967678c4f026e51">
|
||||
<img src="https://octodex.github.com/images/spocktocat.png?width=20vw&classes=bg-white" alt="Spock" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h3 id="image-with-tooltip">Image wit' Tooltip</h3>
|
||||
<p>Like links, images can also be given a tooltip.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-a82604767dec3f173b6c83e8aa305a4d" class="lightbox-link">
|
||||
<a href="#image-283a2854463daa8ad78e29e93c414f53" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/jean-luc-picat.jpg?width=20vw" alt="Picard" title="Jean Luc Picard" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-a82604767dec3f173b6c83e8aa305a4d">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-283a2854463daa8ad78e29e93c414f53">
|
||||
<img src="https://octodex.github.com/images/jean-luc-picat.jpg?width=20vw" alt="Picard" title="Jean Luc Picard" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h3 id="image-references">Image References</h3>
|
||||
<p>Images can also be linked by reference ID t' later define th' URL locat'n. This simplyfies writ'n if ye want t' use an image more than once 'n a document.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">![La Forge][laforge]
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">![La Forge][laforge]
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">[laforge]: https://octodex.github.com/images/trekkie.jpg "Geordi La Forge"
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">[laforge]: https://octodex.github.com/images/trekkie.jpg "Geordi La Forge"</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-f1b2f0b944503b92c50441b4231274fe" class="lightbox-link">
|
||||
<a href="#image-e57802b05b4f14164ce7c344b7a44474" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/trekkie.jpg?width=20vw" alt="La Forge" title="Geordi La Forge" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-f1b2f0b944503b92c50441b4231274fe">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-e57802b05b4f14164ce7c344b7a44474">
|
||||
<img src="https://octodex.github.com/images/trekkie.jpg?width=20vw" alt="La Forge" title="Geordi La Forge" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
@ -743,40 +717,37 @@ line 3 o' code
|
||||
<p>This theme allows additional non-standard formatt'n by sett'n query parameter at th' end o' th' image URL.</p>
|
||||
<h4 id="resizing">Resiz'n</h4>
|
||||
<p>Add query parameter <code>width</code> and/or <code>height</code> t' th' link image t' resize th' image. Values be CSS values (default be <code>auto</code>).</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-d090e5e04f9645298ea8b0b3677b7d44" class="lightbox-link">
|
||||
<a href="#image-cdb5b5b889d41451b0303d5f5989cf97" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/minion.png?width=20vw&classes=bg-white" alt="Minion" class="bg-white" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-d090e5e04f9645298ea8b0b3677b7d44">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-cdb5b5b889d41451b0303d5f5989cf97">
|
||||
<img src="https://octodex.github.com/images/minion.png?width=20vw&classes=bg-white" alt="Minion" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-c87ec102ea4324015f59ac3bdd0946f5" class="lightbox-link">
|
||||
<a href="#image-5fa2eefb238356577c34f97454079a70" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/minion.png?height=50px&classes=bg-white" alt="Minion" class="bg-white" style="height: 50px; width: auto;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-c87ec102ea4324015f59ac3bdd0946f5">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-5fa2eefb238356577c34f97454079a70">
|
||||
<img src="https://octodex.github.com/images/minion.png?height=50px&classes=bg-white" alt="Minion" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -784,10 +755,10 @@ line 3 o' code
|
||||
<p>
|
||||
|
||||
|
||||
<a href="#image-b40dcbdc70ff840aced98db873186971" class="lightbox-link">
|
||||
<a href="#image-8f6e536657678f7fd897c1ae6a4ef251" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/minion.png?height=50px&width=40vw&classes=bg-white" alt="Minion" class="bg-white" style="height: 50px; width: 40vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-b40dcbdc70ff840aced98db873186971">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-8f6e536657678f7fd897c1ae6a4ef251">
|
||||
<img src="https://octodex.github.com/images/minion.png?height=50px&width=40vw&classes=bg-white" alt="Minion" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
@ -795,138 +766,131 @@ line 3 o' code
|
||||
<h4 id="css-classes">CSS Classes</h4>
|
||||
<p>Add a query parameter <code>classes</code> t' th' link image t' add CSS classes. Add some o' th' predefined values or even define yer own 'n yer CSS.</p>
|
||||
<h5 id="shadow">Shadow</h5>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-1b5fe431247e346a838449527ed888b6" class="lightbox-link">
|
||||
<a href="#image-d5ecb5f1c39e53f3fd0ecf7ca8204421" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/spidertocat.png?width=20vw&classes=shadow,bg-white" alt="Spidertocat" class="shadow bg-white" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-1b5fe431247e346a838449527ed888b6">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-d5ecb5f1c39e53f3fd0ecf7ca8204421">
|
||||
<img src="https://octodex.github.com/images/spidertocat.png?width=20vw&classes=shadow,bg-white" alt="Spidertocat" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h5 id="border">Border</h5>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-c339c13047986c98a8558eeaea4c2d11" class="lightbox-link">
|
||||
<a href="#image-b8a2b3435b326e7eabdf6c1229fb5ecd" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/droctocat.png?width=20vw&classes=border" alt="DrOctocat" class="border" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-c339c13047986c98a8558eeaea4c2d11">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-b8a2b3435b326e7eabdf6c1229fb5ecd">
|
||||
<img src="https://octodex.github.com/images/droctocat.png?width=20vw&classes=border" alt="DrOctocat" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h5 id="left">Left</h5>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-fc1d93baccd5d7fc708e6cff71aacb1c" class="lightbox-link">
|
||||
<a href="#image-7a4a6085dab62d5ebdd4b1ba2b1006b2" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/okal-eltocat.jpg?width=20vw&classes=left" alt="Supertocat" class="left" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-fc1d93baccd5d7fc708e6cff71aacb1c">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-7a4a6085dab62d5ebdd4b1ba2b1006b2">
|
||||
<img src="https://octodex.github.com/images/okal-eltocat.jpg?width=20vw&classes=left" alt="Supertocat" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h5 id="right">Right</h5>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-60c3d49874b9cd60922094d12332ae9a" class="lightbox-link">
|
||||
<a href="#image-2b25a6fde698a857d8f03474f1024ac9" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/riddlocat.jpg?width=20vw&classes=right" alt="Riddlocat" class="right" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-60c3d49874b9cd60922094d12332ae9a">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-2b25a6fde698a857d8f03474f1024ac9">
|
||||
<img src="https://octodex.github.com/images/riddlocat.jpg?width=20vw&classes=right" alt="Riddlocat" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h5 id="inline">Inline</h5>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-e87b614d370bb109857cc40a39cb8b5b" class="lightbox-link">
|
||||
<a href="#image-b52a67e890785366237e0508456741e8" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/spidertocat.png?width=10vw&classes=inline,bg-white" alt="Spidertocat" class="inline bg-white" style="height: auto; width: 10vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-e87b614d370bb109857cc40a39cb8b5b">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-b52a67e890785366237e0508456741e8">
|
||||
<img src="https://octodex.github.com/images/spidertocat.png?width=10vw&classes=inline,bg-white" alt="Spidertocat" class="lightbox-image" loading="lazy">
|
||||
</a>
|
||||
|
||||
|
||||
<a href="#image-5629bcc0e08364e9da145244e1a37e7d" class="lightbox-link">
|
||||
<a href="#image-70ebfdd5657109e5b10b0aad738fc2ab" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/droctocat.png?width=10vw&classes=inline" alt="DrOctocat" class="inline" style="height: auto; width: 10vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-5629bcc0e08364e9da145244e1a37e7d">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-70ebfdd5657109e5b10b0aad738fc2ab">
|
||||
<img src="https://octodex.github.com/images/droctocat.png?width=10vw&classes=inline" alt="DrOctocat" class="lightbox-image" loading="lazy">
|
||||
</a>
|
||||
|
||||
|
||||
<a href="#image-a3fb6f9deb33ed3371db9bdb60098e5c" class="lightbox-link">
|
||||
<a href="#image-a9cfcfcb3813e39d721c6994c0db3b02" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/okal-eltocat.jpg?width=10vw&classes=inline" alt="Supertocat" class="inline" style="height: auto; width: 10vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-a3fb6f9deb33ed3371db9bdb60098e5c">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-a9cfcfcb3813e39d721c6994c0db3b02">
|
||||
<img src="https://octodex.github.com/images/okal-eltocat.jpg?width=10vw&classes=inline" alt="Supertocat" class="lightbox-image" loading="lazy">
|
||||
</a>
|
||||
|
||||
|
||||
<a href="#image-d797f8ff267b3b45baf278431905bbdb" class="lightbox-link">
|
||||
<a href="#image-773519567f0576047c7eb5b402af4c5c" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/riddlocat.jpg?width=10vw&classes=inline" alt="Riddlocat" class="inline" style="height: auto; width: 10vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-d797f8ff267b3b45baf278431905bbdb">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-773519567f0576047c7eb5b402af4c5c">
|
||||
<img src="https://octodex.github.com/images/riddlocat.jpg?width=10vw&classes=inline" alt="Riddlocat" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h5 id="combination">Combinat'n</h5>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-3c647d73238f872e85c0942c0a0afabe" class="lightbox-link">
|
||||
<a href="#image-5f2c47a4b7f66d89c6eabb01c268ea6e" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/xtocat.jpg?width=20vw&classes=shadow,border,left" alt="X-tocat" class="shadow border left" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-3c647d73238f872e85c0942c0a0afabe">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-5f2c47a4b7f66d89c6eabb01c268ea6e">
|
||||
<img src="https://octodex.github.com/images/xtocat.jpg?width=20vw&classes=shadow,border,left" alt="X-tocat" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h4 id="lightbox">Lightbox</h4>
|
||||
<p>Add th' query parameter <code>lightbox=false</code> t' th' image link t' dis'ble th' lightbox.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -1023,12 +987,12 @@ line 3 o' code
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../../js/auto-complete.js?1687081538" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687081538" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687081538" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687081538" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687081538" defer></script>
|
||||
<script src="../../../js/search.js?1687081538" defer></script>
|
||||
<script src="../../../js/auto-complete.js?1687389786" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687389786" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687389786" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687389786" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687389786" defer></script>
|
||||
<script src="../../../js/search.js?1687389786" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -1044,7 +1008,6 @@ line 3 o' code
|
||||
<li data-nav-id="/pir/cont/pages/index.html" class=""><a class="padding" href="../../../pir/cont/pages/index.html">planks orrrganizat'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/archetypes/index.html" class=""><a class="padding" href="../../../pir/cont/archetypes/index.html">Arrrchetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/markdown/index.html" class="active"><a class="padding" href="../../../pir/cont/markdown/index.html">Marrrkdown rules<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../../pir/cont/syntaxhighlight/index.html">Code highlight'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/menushortcuts/index.html" class=""><a class="padding" href="../../../pir/cont/menushortcuts/index.html">Menu extrrra shorrrtcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/i18n/index.html" class=""><a class="padding" href="../../../pir/cont/i18n/index.html">Multilingual an' i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/taxonomy/index.html" class=""><a class="padding" href="../../../pir/cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -1064,6 +1027,7 @@ line 3 o' code
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-085f961452d7baa981ace00de789c321" aria-controls="subsections-085f961452d7baa981ace00de789c321"><label for="section-085f961452d7baa981ace00de789c321"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu plank 3</span></label><a class="padding" href="../../../pir/shortcodes/children/children-3/index.html">plank 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-085f961452d7baa981ace00de789c321" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../../pir/shortcodes/children/children-3/test3/index.html">plank 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/pir/shortcodes/expand/index.html" class=""><a class="padding" href="../../../pir/shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/highlight/index.html" class=""><a class="padding" href="../../../pir/shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/icon/index.html" class=""><a class="padding" href="../../../pir/shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/include/index.html" class=""><a class="padding" href="../../../pir/shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/math/index.html" class=""><a class="padding" href="../../../pir/shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -1147,12 +1111,12 @@ line 3 o' code
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../../js/buttons.js?1687081538"></script>
|
||||
<script async src="../../../js/buttons.js?1687389786"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../../js/clipboard.min.js?1687081538" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687081538" defer></script>
|
||||
<script src="../../../js/theme.js?1687081538" defer></script>
|
||||
<script src="../../../js/clipboard.min.js?1687389786" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687389786" defer></script>
|
||||
<script src="../../../js/theme.js?1687389786" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,21 +13,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/markdown/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/markdown/index.html" rel="canonical" type="text/html" title="Marrrkdown rules :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../pir/cont/markdown/index.xml" rel="alternate" type="application/rss+xml" title="Marrrkdown rules :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../../css/fontawesome-all.min.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687081541" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687081541" rel="stylesheet" media="print">
|
||||
<link href="../../../css/format-print.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/ie.css?1687081541" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687081541"></script>
|
||||
<script src="../../../js/variant.js?1687081541"></script>
|
||||
<link href="../../../css/fontawesome-all.min.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687389789" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687389789" rel="stylesheet" media="print">
|
||||
<link href="../../../css/format-print.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/ie.css?1687389789" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687389789"></script>
|
||||
<script src="../../../js/variant.js?1687389789"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -108,10 +108,9 @@
|
||||
<h2 id="paragraphs">Paragraphs</h2>
|
||||
<p>In Marrrkdown yer rrrambl'n usually spans th' whole avail'ble document width. This be called a block. Blocks be always separated by whitespace t' their adjacent blocks 'n th' result'n document.</p>
|
||||
<p>Any text not start'n wit' a special sign be written as normal, plain text paragraph block an' must be separated t' its adjacent blocks by empty lines.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus.
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Et legere ocurreret pri, animal tacimates complectitur ad cum. Cu eum inermis inimicus efficiendi. Labore officiis his ex, soluta officiis concludaturque ei qui, vide sensibus vim ad.
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">Et legere ocurreret pri, animal tacimates complectitur ad cum. Cu eum inermis inimicus efficiendi. Labore officiis his ex, soluta officiis concludaturque ei qui, vide sensibus vim ad.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -123,7 +122,7 @@
|
||||
<h2 id="headings">Head'ns</h2>
|
||||
<p>A bloody idea be t' structure yer rrrambl'n us'n head'ns an' subhead'ns. HTML-head'ns from <code>h1</code> through <code>h6</code> be constructed wit' a <code>#</code> fer each level.</p>
|
||||
<p>In Hugo ye usually don’t use <code>h1</code> as this be generated by yer theme an' ye should only have one such element 'n a document.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="gh"># h1 Head'n
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="gh"># h1 Head'n
|
||||
</span></span></span><span class="line"><span class="cl"><span class="gh"></span>
|
||||
</span></span><span class="line"><span class="cl"><span class="gu">## h2 Head'n
|
||||
</span></span></span><span class="line"><span class="cl"><span class="gu"></span>
|
||||
@ -133,8 +132,7 @@
|
||||
</span></span></span><span class="line"><span class="cl"><span class="gu"></span>
|
||||
</span></span><span class="line"><span class="cl"><span class="gu">##### h5 Head'n
|
||||
</span></span></span><span class="line"><span class="cl"><span class="gu"></span>
|
||||
</span></span><span class="line"><span class="cl"><span class="gu">###### h6 Head'n
|
||||
</span></span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">###### h6 Head'n</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -149,12 +147,11 @@
|
||||
</div>
|
||||
<h2 id="horizontal-rules">Horizontal Rules</h2>
|
||||
<p>T' further structure yer rrrambl'n ye can add horizontal rules. They create a “thematic break” between paragraph blocks. In Marrrkdown, ye can create it wit' three consecutive dashes <code>---</code>.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus.
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">---
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Et legere ocurreret pri, animal tacimates complectitur ad cum. Cu eum inermis inimicus efficiendi. Labore officiis his ex, soluta officiis concludaturque ei qui, vide sensibus vim ad.
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">Et legere ocurreret pri, animal tacimates complectitur ad cum. Cu eum inermis inimicus efficiendi. Labore officiis his ex, soluta officiis concludaturque ei qui, vide sensibus vim ad.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -167,8 +164,7 @@
|
||||
<h2 id="text-markers">Text Markers</h2>
|
||||
<h3 id="bold">Bold</h3>
|
||||
<p>Ye can show importance o' a snippet o' text wit' a heavier font-weight by enclos'n it wit' two asterisks <code>**</code>.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">I am rendered wit' <span class="gs">**bold text**</span>
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">I am rendered wit' **bold text**</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -178,8 +174,7 @@
|
||||
</div>
|
||||
<h3 id="italics">Italics</h3>
|
||||
<p>Ye can emphasize a snippet o' text wit' italics by enclos'n it wit' underscores <code>_</code>.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">I am rendered wit' <span class="ge">_italicized text_</span>
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">I am rendered wit' _italicized text_</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -189,8 +184,7 @@
|
||||
</div>
|
||||
<h3 id="strikethrough">Strikethrough</h3>
|
||||
<p>In GFM (GitHub Flavored Markdown) ye can do strikethroughs by enclos'n text wit' two tildes <code>~~</code>.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">~~Strike through this text~~
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">~~Strike through this text~~</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -200,14 +194,13 @@
|
||||
</div>
|
||||
<h2 id="text-substitution">Text substitut'n</h2>
|
||||
<p>This Marrrkdown dialect supports an extension t' combine multiple punctuat'n characters t' single typographic entities. This will only be applied t' text outside o' code blocks or inline code.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Do'ble quotes <span class="sb">`"`</span> an' single quotes <span class="sb">`'`</span> o' enclosed text be replaced by <span class="ge">**</span>"do'ble curly quotes"** an' <span class="ge">**</span>'single curly quotes'**.
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Do'ble quotes <span class="sb">`"`</span> an' single quotes <span class="sb">`'`</span> o' enclosed text be replaced by <span class="ge">**</span>"do'ble curly quotes"** an' <span class="ge">**</span>'single curly quotes'**.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Do'ble dashes <span class="sb">`--`</span> an' triple dashes <span class="sb">`---`</span> be replaced by en-dash <span class="ge">**</span>--** an' em-dash <span class="ge">**</span>---** entities.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Do'ble arrows point'n left <span class="sb">`<<`</span> or right <span class="sb">`>>`</span> be replaced by arrow <span class="ge">**</span><span class="err"><<</span>** an' <span class="ge">**</span>>>** entities.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">Three consecutive dots <span class="sb">`...`</span> be replaced by an ellipsis <span class="ge">**</span>...** entity.
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">Three consecutive dots <span class="sb">`...`</span> be replaced by an ellipsis <span class="ge">**</span>...** entity.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -223,15 +216,14 @@
|
||||
<p>Ye can write a list o' items 'n which th' order o' th' items does not explicitly matter.</p>
|
||||
<p>It be poss'ble t' nest lists by indent'n an item fer th' next sublevel.</p>
|
||||
<p>Ye may use any o' <code>-</code>, <code>*</code> or <code>+</code> t' denote bullets fer each list item but should not switch between those symbols inside one whole list.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">-</span> Lorem ipsum dolor sit amet
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">-</span> Lorem ipsum dolor sit amet
|
||||
</span></span><span class="line"><span class="cl"><span class="k">-</span> Consectetur adipisc'n elit
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">-</span> Vestibulum laoreet porttitor sem
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">-</span> Ac tristique libero volutpat at
|
||||
</span></span><span class="line"><span class="cl"><span class="k">-</span> Nulla volutpat aliquam velit
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">-</span> Phasellus iaculis neque
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">-</span> Purus sodales ultricies
|
||||
</span></span><span class="line"><span class="cl"><span class="k">-</span> Faucibus porta lacus fringilla vel
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">- Faucibus porta lacus fringilla vel</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -258,15 +250,14 @@
|
||||
<p>Ye can create a list o' items 'n which th' order o' items does explicitly matter.</p>
|
||||
<p>It be poss'ble t' nest lists by indent'n an item fer th' next sublevel.</p>
|
||||
<p>Marrrkdown will automatically number each o' yer items consecutively. This means, th' order number ye be provid'n be irrelevant.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">1.</span> Lorem ipsum dolor sit amet
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">1.</span> Lorem ipsum dolor sit amet
|
||||
</span></span><span class="line"><span class="cl"><span class="k">3.</span> Consectetur adipisc'n elit
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">1.</span> Integer molestie lorem at massa
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">7.</span> Facilisis 'n pretium nisl aliquet
|
||||
</span></span><span class="line"><span class="cl"><span class="k">99.</span> Nulla volutpat aliquam velit
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">1.</span> Faucibus porta lacus fringilla vel
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">1.</span> Aenean sit amet erat nunc
|
||||
</span></span><span class="line"><span class="cl"><span class="k">17.</span> Eget porttitor lorem
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">17. Eget porttitor lorem</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -291,12 +282,11 @@
|
||||
</div>
|
||||
<h3 id="tasks">Tasks</h3>
|
||||
<p>In GFM (GitHub Flavored Markdown) ye can add task lists result'n 'n checked or unchecked non-click'ble items</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">- [x]</span> Basic Test
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">- [x]</span> Basic Test
|
||||
</span></span><span class="line"><span class="cl"><span class="k">- [ ]</span> More Tests
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">- [x]</span> View
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">- [x]</span> Hear
|
||||
</span></span><span class="line"><span class="cl"> <span class="k">- [ ]</span> Smell
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"> - [ ] Smell</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -317,7 +307,7 @@
|
||||
<p>This Marrrkdown dialect supports an extension t' add definit'n lists. Definit'n lists be made o' terms an' definit'ns o' these terms, much like 'n a dictionary.</p>
|
||||
<p>A definit'n list 'n Marrrkdown Extra be made o' a single-line term followed by a colon an' th' definit'n fer that term. Ye can also associate more than one term t' a definit'n.</p>
|
||||
<p>If ye add empty lines around th' definit'n terms, additional vertical space will be generated. Also multiple paragraphs be poss'ble</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Apple
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Apple
|
||||
</span></span><span class="line"><span class="cl">: Pomaceous fruit o' plants o' th' genus Malus 'n th' family Rosaceae.
|
||||
</span></span><span class="line"><span class="cl">: An American computer company.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
@ -327,8 +317,7 @@
|
||||
</span></span><span class="line"><span class="cl"> Ye can make juice out o' it.
|
||||
</span></span><span class="line"><span class="cl">: A telecommunicat'n company.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl"> Ye can't make juice out o' it.
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"> Ye can't make juice out o' it.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -350,8 +339,7 @@
|
||||
<h2 id="code">Code</h2>
|
||||
<h3 id="inline-code">Inline Code</h3>
|
||||
<p>Inline snippets o' code can be wrapped wit' backticks <code>`</code>.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">In this example, <span class="sb">`<div></div>`</span> be marked as code.
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">In this example, <span class="sb">`<div></div>`</span> be marked as code.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -361,13 +349,12 @@
|
||||
</div>
|
||||
<h3 id="indented-code-block">Indented Code Block</h3>
|
||||
<p>A simple code block can be generated by indent'n several lines o' code by at least two spaces.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Be impressed by my advanced code:
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">Be impressed by my advanced code:
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl"> // Some comments
|
||||
</span></span><span class="line"><span class="cl"> line 1 o' code
|
||||
</span></span><span class="line"><span class="cl"> line 2 o' code
|
||||
</span></span><span class="line"><span class="cl"> line 3 o' code
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"> line 3 o' code</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -383,8 +370,8 @@ line 3 o' code
|
||||
<h3 id="fenced-code-block">Fenced Code Block</h3>
|
||||
<p>If ye want t' gain more control o' yer code block ye can enclose yer code by at least three backticks <code>```</code> a so called fence.</p>
|
||||
<p>In GFM (GitHub Flavored Markdown) ye can also add a language specifier directly aft th' open'n fence, <code>```js</code>, an' rules highlight'n will automatically be applied accord'n t' th' selected language 'n th' rendered HTML.</p>
|
||||
<p>See <a href="../../../cont/syntaxhighlight/">Code Highlight'n</a> fer additional documentat'n.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">```js
|
||||
<p>See <a href="../../../shortcodes/highlight/">Code Highlight'n</a> fer additional documentat'n.</p>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-plaintext" data-lang="plaintext"><span class="line"><span class="cl">```js
|
||||
</span></span><span class="line"><span class="cl">grunt.initConfig({
|
||||
</span></span><span class="line"><span class="cl"> assemble: {
|
||||
</span></span><span class="line"><span class="cl"> opt'ns: {
|
||||
@ -403,13 +390,12 @@ line 3 o' code
|
||||
</span></span><span class="line"><span class="cl"> }
|
||||
</span></span><span class="line"><span class="cl"> }
|
||||
</span></span><span class="line"><span class="cl">};
|
||||
</span></span><span class="line"><span class="cl">```
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">```</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-js" data-lang="js"><span class="line"><span class="cl"><span class="nx">grunt</span><span class="p">.</span><span class="nx">initConfig</span><span class="p">({</span>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-js" data-lang="js"><span class="line"><span class="cl"><span class="nx">grunt</span><span class="p">.</span><span class="nx">initConfig</span><span class="p">({</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">assemble</span><span class="o">:</span> <span class="p">{</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">opt'ns</span><span class="o">:</span> <span class="p">{</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">assets</span><span class="o">:</span> <span class="s1">'docs/assets'</span><span class="p">,</span>
|
||||
@ -426,17 +412,15 @@ line 3 o' code
|
||||
</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>
|
||||
</span></span><span class="line"><span class="cl"><span class="p">};</span></span></span></code></pre></div></div>
|
||||
</div>
|
||||
<h2 id="tables">Tables</h2>
|
||||
<p>In GFM (GitHub Flavored Markdown) ye can create tables by add'n pipes as dividers between each cell, an' by add'n a line o' dashes (also separated by bars) beneath th' header. Avast that th' pipes do not need t' be vertically aligned.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">| Opt'n | Descript'n |
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">| Opt'n | Descript'n |
|
||||
</span></span><span class="line"><span class="cl">| ------ | ----------- |
|
||||
</span></span><span class="line"><span class="cl">| data | path t' data files t' supply th' data that will be passed into templates. |
|
||||
</span></span><span class="line"><span class="cl">| engine | engine t' be used fer process'n templates. Handlebars be th' default. |
|
||||
</span></span><span class="line"><span class="cl">| ext | extension t' be used fer dest files. |
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">| ext | extension t' be used fer dest files. |</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -467,12 +451,11 @@ line 3 o' code
|
||||
</div>
|
||||
<h3 id="aligned-columns">Aligned Columns</h3>
|
||||
<p>Add'n a colon on th' left and/or right side o' th' dashes below any head'n will align th' text fer that column accordingly.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">| Opt'n | Number | Descript'n |
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">| Opt'n | Number | Descript'n |
|
||||
</span></span><span class="line"><span class="cl">| ------:|:------:|:----------- |
|
||||
</span></span><span class="line"><span class="cl">| data | 1 | path t' data files t' supply th' data that will be passed into templates. |
|
||||
</span></span><span class="line"><span class="cl">| engine | 2 | engine t' be used fer process'n templates. Handlebars be th' default. |
|
||||
</span></span><span class="line"><span class="cl">| ext | 3 | extension t' be used fer dest files. |
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">| ext | 3 | extension t' be used fer dest files. |</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -508,12 +491,11 @@ line 3 o' code
|
||||
<h2 id="blockquotes">Blockquotes</h2>
|
||||
<p>For quot'n blocks o' rrrambl'n from another source within yer document add <code>></code> before any text ye want t' quote.</p>
|
||||
<p>Blockquotes can also be nested.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">> </span><span class="ge">Donec massa lacus, ultricies a ullamcorper 'n, fermentum sed augue. Nunc augue augue, aliquam non hendrerit ac, commodo vel nisi.
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"><span class="k">> </span><span class="ge">Donec massa lacus, ultricies a ullamcorper 'n, fermentum sed augue. Nunc augue augue, aliquam non hendrerit ac, commodo vel nisi.
|
||||
</span></span></span><span class="line"><span class="cl"><span class="ge"></span><span class="k">>
|
||||
</span></span></span><span class="line"><span class="cl"><span class="k"></span><span class="ge">> > Sed adipisc'n elit vitae augue consectetur a gravida nunc vehicula. Donec auctor odio non est accumsan facilisis. Aliquam id turpis 'n dolor tincidunt mollis ac eu diam.
|
||||
</span></span></span><span class="line"><span class="cl"><span class="ge"></span><span class="k">>
|
||||
</span></span></span><span class="line"><span class="cl"><span class="k"></span><span class="ge">> Mauris sit amet ligula egestas, feugiat metus tincidunt, luctus libero. Donec congue finibus tempor. Vestibulum aliquet sollicitudin erat, ut aliquet purus posuere luctus.
|
||||
</span></span></span></code></pre></div>
|
||||
</span></span></span><span class="line"><span class="cl"><span class="ge"></span>>
|
||||
</span></span><span class="line"><span class="cl">> Mauris sit amet ligula egestas, feugiat metus tincidunt, luctus libero. Donec congue finibus tempor. Vestibulum aliquet sollicitudin erat, ut aliquet purus posuere luctus.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -530,8 +512,7 @@ line 3 o' code
|
||||
<h2 id="links">Links</h2>
|
||||
<h3 id="autolink">Autolink</h3>
|
||||
<p>In GFM (GitHub Flavored Markdown) absolute URLs will automatically be converted into a link.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">This be a link t' https://example.com.
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">This be a link t' https://example.com.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -541,8 +522,7 @@ line 3 o' code
|
||||
</div>
|
||||
<h3 id="basic-link">Basic Link</h3>
|
||||
<p>Ye can explicitly define links 'n case ye want t' use non-absolute URLs or want t' give different text.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">[<span class="nt">Assemble</span>](<span class="na">http://assemble.io</span>)
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">[<span class="nt">Assemble</span>](<span class="na">http://assemble.io</span>)</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -552,8 +532,7 @@ line 3 o' code
|
||||
</div>
|
||||
<h3 id="link-with-tooltip">Link wit' Tooltip</h3>
|
||||
<p>For even further informat'n, ye can add an additional text, displayed 'n a tooltip on hover'n over th' link.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">[<span class="nt">Upstage</span>](<span class="na">https://github.com/upstage/ "Visit Upstage!"</span>)
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">[<span class="nt">Upstage</span>](<span class="na">https://github.com/upstage/ "Visit Upstage!"</span>)</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -563,10 +542,9 @@ line 3 o' code
|
||||
</div>
|
||||
<h3 id="link-references">Link References</h3>
|
||||
<p>Links can be simplyfied fer recurr'n reuse by us'n a reference ID t' later define th' URL locat'n. This simplyfies writ'n if ye want t' use a link more than once 'n a document.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">[Example][somelinkID]
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">[Example][somelinkID]
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">[somelinkID]: https://example.com "Go t' example domain"
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">[somelinkID]: https://example.com "Go t' example domain"</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -578,7 +556,7 @@ line 3 o' code
|
||||
<p>Footnotes work mostly like reference-style links. A footnote be made o' two th'ns, a marker 'n th' text that will become a superscript number an' a footnote definit'n that will be placed 'n a list o' footnotes.</p>
|
||||
<p>Usually th' list o' footnotes will be shown at th' end o' yer document. If we use a footnote 'n a notice box it will instead be listed at th' end o' its box.</p>
|
||||
<p>Footnotes can contain block elements, which means that ye can put multiple paragraphs, lists, blockquotes an' so on 'n a footnote. It works th' same as fer list items, just indent th' follow'n paragraphs by four spaces 'n th' footnote definit'n.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">That's some text wit' a footnote[^1]
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">That's some text wit' a footnote[^1]
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">[^1]: An' that's th' footnote.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
@ -587,8 +565,7 @@ line 3 o' code
|
||||
</span></span><span class="line"><span class="cl">[^someid]:
|
||||
</span></span><span class="line"><span class="cl"> Anyth'n o' interest goes here.
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl"> Blue light glows blue.
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"> Blue light glows blue.</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -612,56 +589,53 @@ line 3 o' code
|
||||
<h2 id="images">Images</h2>
|
||||
<h3 id="basic-images">Basic Images</h3>
|
||||
<p>Images have a similar rules t' links but include a preced'n exclamat'n mark.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-4ee0f3b575d40e3cb2904eaf005c773d" class="lightbox-link">
|
||||
<a href="#image-0e2a66e8cc8e7a016967678c4f026e51" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/spocktocat.png?width=20vw&classes=bg-white" alt="Spock" class="bg-white" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-4ee0f3b575d40e3cb2904eaf005c773d">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-0e2a66e8cc8e7a016967678c4f026e51">
|
||||
<img src="https://octodex.github.com/images/spocktocat.png?width=20vw&classes=bg-white" alt="Spock" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h3 id="image-with-tooltip">Image wit' Tooltip</h3>
|
||||
<p>Like links, images can also be given a tooltip.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-a82604767dec3f173b6c83e8aa305a4d" class="lightbox-link">
|
||||
<a href="#image-283a2854463daa8ad78e29e93c414f53" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/jean-luc-picat.jpg?width=20vw" alt="Picard" title="Jean Luc Picard" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-a82604767dec3f173b6c83e8aa305a4d">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-283a2854463daa8ad78e29e93c414f53">
|
||||
<img src="https://octodex.github.com/images/jean-luc-picat.jpg?width=20vw" alt="Picard" title="Jean Luc Picard" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h3 id="image-references">Image References</h3>
|
||||
<p>Images can also be linked by reference ID t' later define th' URL locat'n. This simplyfies writ'n if ye want t' use an image more than once 'n a document.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">![La Forge][laforge]
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">![La Forge][laforge]
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">[laforge]: https://octodex.github.com/images/trekkie.jpg "Geordi La Forge"
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl">[laforge]: https://octodex.github.com/images/trekkie.jpg "Geordi La Forge"</span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-f1b2f0b944503b92c50441b4231274fe" class="lightbox-link">
|
||||
<a href="#image-e57802b05b4f14164ce7c344b7a44474" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/trekkie.jpg?width=20vw" alt="La Forge" title="Geordi La Forge" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-f1b2f0b944503b92c50441b4231274fe">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-e57802b05b4f14164ce7c344b7a44474">
|
||||
<img src="https://octodex.github.com/images/trekkie.jpg?width=20vw" alt="La Forge" title="Geordi La Forge" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
@ -670,40 +644,37 @@ line 3 o' code
|
||||
<p>This theme allows additional non-standard formatt'n by sett'n query parameter at th' end o' th' image URL.</p>
|
||||
<h4 id="resizing">Resiz'n</h4>
|
||||
<p>Add query parameter <code>width</code> and/or <code>height</code> t' th' link image t' resize th' image. Values be CSS values (default be <code>auto</code>).</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-d090e5e04f9645298ea8b0b3677b7d44" class="lightbox-link">
|
||||
<a href="#image-cdb5b5b889d41451b0303d5f5989cf97" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/minion.png?width=20vw&classes=bg-white" alt="Minion" class="bg-white" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-d090e5e04f9645298ea8b0b3677b7d44">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-cdb5b5b889d41451b0303d5f5989cf97">
|
||||
<img src="https://octodex.github.com/images/minion.png?width=20vw&classes=bg-white" alt="Minion" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-c87ec102ea4324015f59ac3bdd0946f5" class="lightbox-link">
|
||||
<a href="#image-5fa2eefb238356577c34f97454079a70" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/minion.png?height=50px&classes=bg-white" alt="Minion" class="bg-white" style="height: 50px; width: auto;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-c87ec102ea4324015f59ac3bdd0946f5">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-5fa2eefb238356577c34f97454079a70">
|
||||
<img src="https://octodex.github.com/images/minion.png?height=50px&classes=bg-white" alt="Minion" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -711,10 +682,10 @@ line 3 o' code
|
||||
<p>
|
||||
|
||||
|
||||
<a href="#image-b40dcbdc70ff840aced98db873186971" class="lightbox-link">
|
||||
<a href="#image-8f6e536657678f7fd897c1ae6a4ef251" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/minion.png?height=50px&width=40vw&classes=bg-white" alt="Minion" class="bg-white" style="height: 50px; width: 40vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-b40dcbdc70ff840aced98db873186971">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-8f6e536657678f7fd897c1ae6a4ef251">
|
||||
<img src="https://octodex.github.com/images/minion.png?height=50px&width=40vw&classes=bg-white" alt="Minion" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
@ -722,138 +693,131 @@ line 3 o' code
|
||||
<h4 id="css-classes">CSS Classes</h4>
|
||||
<p>Add a query parameter <code>classes</code> t' th' link image t' add CSS classes. Add some o' th' predefined values or even define yer own 'n yer CSS.</p>
|
||||
<h5 id="shadow">Shadow</h5>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-1b5fe431247e346a838449527ed888b6" class="lightbox-link">
|
||||
<a href="#image-d5ecb5f1c39e53f3fd0ecf7ca8204421" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/spidertocat.png?width=20vw&classes=shadow,bg-white" alt="Spidertocat" class="shadow bg-white" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-1b5fe431247e346a838449527ed888b6">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-d5ecb5f1c39e53f3fd0ecf7ca8204421">
|
||||
<img src="https://octodex.github.com/images/spidertocat.png?width=20vw&classes=shadow,bg-white" alt="Spidertocat" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h5 id="border">Border</h5>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-c339c13047986c98a8558eeaea4c2d11" class="lightbox-link">
|
||||
<a href="#image-b8a2b3435b326e7eabdf6c1229fb5ecd" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/droctocat.png?width=20vw&classes=border" alt="DrOctocat" class="border" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-c339c13047986c98a8558eeaea4c2d11">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-b8a2b3435b326e7eabdf6c1229fb5ecd">
|
||||
<img src="https://octodex.github.com/images/droctocat.png?width=20vw&classes=border" alt="DrOctocat" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h5 id="left">Left</h5>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-fc1d93baccd5d7fc708e6cff71aacb1c" class="lightbox-link">
|
||||
<a href="#image-7a4a6085dab62d5ebdd4b1ba2b1006b2" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/okal-eltocat.jpg?width=20vw&classes=left" alt="Supertocat" class="left" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-fc1d93baccd5d7fc708e6cff71aacb1c">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-7a4a6085dab62d5ebdd4b1ba2b1006b2">
|
||||
<img src="https://octodex.github.com/images/okal-eltocat.jpg?width=20vw&classes=left" alt="Supertocat" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h5 id="right">Right</h5>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-60c3d49874b9cd60922094d12332ae9a" class="lightbox-link">
|
||||
<a href="#image-2b25a6fde698a857d8f03474f1024ac9" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/riddlocat.jpg?width=20vw&classes=right" alt="Riddlocat" class="right" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-60c3d49874b9cd60922094d12332ae9a">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-2b25a6fde698a857d8f03474f1024ac9">
|
||||
<img src="https://octodex.github.com/images/riddlocat.jpg?width=20vw&classes=right" alt="Riddlocat" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h5 id="inline">Inline</h5>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
</span></span><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-e87b614d370bb109857cc40a39cb8b5b" class="lightbox-link">
|
||||
<a href="#image-b52a67e890785366237e0508456741e8" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/spidertocat.png?width=10vw&classes=inline,bg-white" alt="Spidertocat" class="inline bg-white" style="height: auto; width: 10vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-e87b614d370bb109857cc40a39cb8b5b">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-b52a67e890785366237e0508456741e8">
|
||||
<img src="https://octodex.github.com/images/spidertocat.png?width=10vw&classes=inline,bg-white" alt="Spidertocat" class="lightbox-image" loading="lazy">
|
||||
</a>
|
||||
|
||||
|
||||
<a href="#image-5629bcc0e08364e9da145244e1a37e7d" class="lightbox-link">
|
||||
<a href="#image-70ebfdd5657109e5b10b0aad738fc2ab" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/droctocat.png?width=10vw&classes=inline" alt="DrOctocat" class="inline" style="height: auto; width: 10vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-5629bcc0e08364e9da145244e1a37e7d">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-70ebfdd5657109e5b10b0aad738fc2ab">
|
||||
<img src="https://octodex.github.com/images/droctocat.png?width=10vw&classes=inline" alt="DrOctocat" class="lightbox-image" loading="lazy">
|
||||
</a>
|
||||
|
||||
|
||||
<a href="#image-a3fb6f9deb33ed3371db9bdb60098e5c" class="lightbox-link">
|
||||
<a href="#image-a9cfcfcb3813e39d721c6994c0db3b02" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/okal-eltocat.jpg?width=10vw&classes=inline" alt="Supertocat" class="inline" style="height: auto; width: 10vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-a3fb6f9deb33ed3371db9bdb60098e5c">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-a9cfcfcb3813e39d721c6994c0db3b02">
|
||||
<img src="https://octodex.github.com/images/okal-eltocat.jpg?width=10vw&classes=inline" alt="Supertocat" class="lightbox-image" loading="lazy">
|
||||
</a>
|
||||
|
||||
|
||||
<a href="#image-d797f8ff267b3b45baf278431905bbdb" class="lightbox-link">
|
||||
<a href="#image-773519567f0576047c7eb5b402af4c5c" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/riddlocat.jpg?width=10vw&classes=inline" alt="Riddlocat" class="inline" style="height: auto; width: 10vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-d797f8ff267b3b45baf278431905bbdb">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-773519567f0576047c7eb5b402af4c5c">
|
||||
<img src="https://octodex.github.com/images/riddlocat.jpg?width=10vw&classes=inline" alt="Riddlocat" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h5 id="combination">Combinat'n</h5>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
|
||||
<p>
|
||||
|
||||
<a href="#image-3c647d73238f872e85c0942c0a0afabe" class="lightbox-link">
|
||||
<a href="#image-5f2c47a4b7f66d89c6eabb01c268ea6e" class="lightbox-link">
|
||||
<img src="https://octodex.github.com/images/xtocat.jpg?width=20vw&classes=shadow,border,left" alt="X-tocat" class="shadow border left" style="height: auto; width: 20vw;" loading="lazy">
|
||||
</a>
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-3c647d73238f872e85c0942c0a0afabe">
|
||||
<a href="javascript:history.back();" class="lightbox" id="image-5f2c47a4b7f66d89c6eabb01c268ea6e">
|
||||
<img src="https://octodex.github.com/images/xtocat.jpg?width=20vw&classes=shadow,border,left" alt="X-tocat" class="lightbox-image" loading="lazy">
|
||||
</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<h4 id="lightbox">Lightbox</h4>
|
||||
<p>Add th' query parameter <code>lightbox=false</code> t' th' image link t' dis'ble th' lightbox.</p>
|
||||
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl">
|
||||
</span></span></code></pre></div>
|
||||
<div class="wrap-code highlight"><pre tabindex="0" class="chroma"><code class="language-markdown" data-lang="markdown"><span class="line"><span class="cl"></span></span></code></pre></div>
|
||||
<div class="box notices cstyle secondary">
|
||||
<div class="box-label"><i class="fa-fw fas fa-eye"></i> Result</div>
|
||||
<div class="box-content">
|
||||
@ -873,8 +837,8 @@ line 3 o' code
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../../js/clipboard.min.js?1687081541" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687081541" defer></script>
|
||||
<script src="../../../js/theme.js?1687081541" defer></script>
|
||||
<script src="../../../js/clipboard.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/theme.js?1687389789" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,20 +13,20 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/menushortcuts/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="../../../pir/cont/menushortcuts/index.xml" rel="alternate" type="application/rss+xml" title="Menu extrrra shorrrtcuts :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../pir/cont/menushortcuts/index.print.html" rel="alternate" type="text/html" title="Menu extrrra shorrrtcuts :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687081538" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687081538" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687081538" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687081538" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687081538" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687081538" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687081538"></script>
|
||||
<script src="../../../js/variant.js?1687081538"></script>
|
||||
<link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687389786" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687389786" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687389786" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687389786" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687389786" rel="stylesheet" media="print">
|
||||
<link href="../../../css/ie.css?1687389786" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687389786"></script>
|
||||
<script src="../../../js/variant.js?1687389786"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -60,7 +60,7 @@
|
||||
<a class="nav nav-next topbar-link" href="../../../pir/cont/i18n/index.html" title="Multilingual an' i18n (🡐)"><i class="fas fa-chevron-right fa-fw"></i></a>
|
||||
</div>
|
||||
<div class="navigation">
|
||||
<a class="nav nav-prev topbar-link" href="../../../pir/cont/syntaxhighlight/index.html" title="Code highlight'n (🡒)"><i class="fas fa-chevron-left fa-fw"></i></a>
|
||||
<a class="nav nav-prev topbar-link" href="../../../pir/cont/markdown/index.html" title="Marrrkdown rules (🡒)"><i class="fas fa-chevron-left fa-fw"></i></a>
|
||||
</div>
|
||||
<div id="top-print-link">
|
||||
<a class="print-link topbar-link" title='Prrrint whole chapterrr (CTRL+ALT+p)' href="../../../pir/cont/menushortcuts/index.print.html">
|
||||
@ -108,7 +108,7 @@
|
||||
<h2 id="basic-configuration">Basic configurat'n</h2>
|
||||
<p>Edit th' website configurat'n <code>config.toml</code> an' add a <code>[[menu.shortcuts]]</code> entry fer each link yer want t' add.</p>
|
||||
<p>Example from th' current website:</p>
|
||||
<div class="highlight"><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">menu</span><span class="p">.</span><span class="nx">shortcuts</span><span class="p">]]</span>
|
||||
<div class="wrap-code highlight"><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">menu</span><span class="p">.</span><span class="nx">shortcuts</span><span class="p">]]</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">name</span> <span class="p">=</span> <span class="s2">"<i class='fab fa-fw fa-github'></i> GitHub repo"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">identifier</span> <span class="p">=</span> <span class="s2">"ds"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">url</span> <span class="p">=</span> <span class="s2">"https://github.com/McShelby/hugo-theme-relearn"</span>
|
||||
@ -133,17 +133,15 @@
|
||||
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">menu</span><span class="p">.</span><span class="nx">shortcuts</span><span class="p">]]</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">name</span> <span class="p">=</span> <span class="s2">"<i class='fas fa-fw fa-tags'></i> Tags"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">url</span> <span class="p">=</span> <span class="s2">"tags/"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">weight</span> <span class="p">=</span> <span class="mi">40</span>
|
||||
</span></span></code></pre></div><p>By default, shortcuts be preceded by a title. This title can be disabled by sett'n <code>disableShortcutsTitle=true</code>.
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">weight</span> <span class="p">=</span> <span class="mi">40</span></span></span></code></pre></div><p>By default, shortcuts be preceded by a title. This title can be disabled by sett'n <code>disableShortcutsTitle=true</code>.
|
||||
However, if ye want t' keep th' title but change its value, it can be overridden by chang'n yer local i18n translat'n str'n configurat'n.</p>
|
||||
<p>For example, 'n yer local <code>i18n/en.toml</code> file, add th' follow'n rrrambl'n</p>
|
||||
<div class="highlight"><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">Shortcuts-Title</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">other</span> <span class="p">=</span> <span class="s2">"<Your value>"</span>
|
||||
</span></span></code></pre></div><p>Read more about <a href="https://gohugo.io/extras/menus/" target="_blank">hugo menu</a> an' <a href="https://gohugo.io/content-management/multilingual/#translation-of-strings" target="_blank">hugo i18n translat'n str'ns</a></p>
|
||||
<div class="wrap-code highlight"><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">Shortcuts-Title</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">other</span> <span class="p">=</span> <span class="s2">"<Your value>"</span></span></span></code></pre></div><p>Read more about <a href="https://gohugo.io/extras/menus/" target="_blank">hugo menu</a> an' <a href="https://gohugo.io/content-management/multilingual/#translation-of-strings" target="_blank">hugo i18n translat'n str'ns</a></p>
|
||||
<h2 id="i18n">Configurat'n fer Multilingual mode</h2>
|
||||
<p>When us'n a multilingual website, ye can set different menus fer each language. In th' <code>config.toml</code> file, prefix yer menu configurat'n by <code>Languages.<language-id></code>.</p>
|
||||
<p>Example from th' current website:</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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="nx">title</span> <span class="p">=</span> <span class="s2">"Hugo Relearrrn Theme"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">weight</span> <span class="p">=</span> <span class="mi">1</span>
|
||||
@ -210,25 +208,22 @@ However, if ye want t' keep th' title but change its value, it can be overridden
|
||||
</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">menu</span><span class="p">.</span><span class="nx">shortcuts</span><span class="p">]]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">name</span> <span class="p">=</span> <span class="s2">"<i class='fas fa-fw fa-tags'></i> Arrr! Tags"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">pageRef</span> <span class="p">=</span> <span class="s2">"tags/"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">weight</span> <span class="p">=</span> <span class="mi">40</span>
|
||||
</span></span></code></pre></div><p>Read more about <a href="https://gohugo.io/extras/menus/" target="_blank">hugo menu</a> an' <a href="https://gohugo.io/content-management/multilingual/#menus" target="_blank">hugo multilingual menus</a></p>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">weight</span> <span class="p">=</span> <span class="mi">40</span></span></span></code></pre></div><p>Read more about <a href="https://gohugo.io/extras/menus/" target="_blank">hugo menu</a> an' <a href="https://gohugo.io/content-management/multilingual/#menus" target="_blank">hugo multilingual menus</a></p>
|
||||
<h2 id="shortcuts-to-pages-inside-of-your-project">Shortcuts t' planks inside o' yer project</h2>
|
||||
<p>If ye have shortcuts t' planks inside o' yer project an' ye don’t want them t' show up 'n plank menu section, ye have two choices:</p>
|
||||
<ol>
|
||||
<li>
|
||||
<p>Make th' plank file fer th' shortcut section a <a href="https://gohugo.io/content-management/age-bundles/#headless-bundle" target="_blank">headless branch bundle</a> (contained 'n its own subdirectory an' called <code>_index.md</code>) an' add th' follow'n rontmatter configurat'n t' th' file (see exampleSite’s <code>content/showcase</code>). This causes its rrrambl'n t' <strong>not</strong> be ontained 'n th' sitemap.</p>
|
||||
<div class="highlight"><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">_build</span><span class="p">]</span>
|
||||
<div class="wrap-code highlight"><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">_build</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">render</span> <span class="p">=</span> <span class="s2">"never"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">list</span> <span class="p">=</span> <span class="s2">"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></code></pre></div></li>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">publishResources</span> <span class="p">=</span> <span class="kc">false</span></span></span></code></pre></div></li>
|
||||
<li>
|
||||
<p>Store th' plank file fer th' shortcut section below a parent headless branch bundle an' add th' follow'n frontmatter t' he <strong>parent</strong>. In this case, th' file itself can be a branch bundle, leaf bundle or simple plank (see exampleSite’s content/more/<code>an'</code>content/more/credits`). This causes its rrrambl'n t' be contained 'n th' sitemap.</p>
|
||||
<div class="highlight"><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">_build</span><span class="p">]</span>
|
||||
<div class="wrap-code highlight"><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">_build</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">render</span> <span class="p">=</span> <span class="s2">"always"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">list</span> <span class="p">=</span> <span class="s2">"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></code></pre></div></li>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">publishResources</span> <span class="p">=</span> <span class="kc">true</span></span></span></code></pre></div></li>
|
||||
</ol>
|
||||
|
||||
|
||||
@ -317,12 +312,12 @@ However, if ye want t' keep th' title but change its value, it can be overridden
|
||||
<script>
|
||||
var contentLangs=['en'];
|
||||
</script>
|
||||
<script src="../../../js/auto-complete.js?1687081538" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687081538" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687081538" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687081538" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687081538" defer></script>
|
||||
<script src="../../../js/search.js?1687081538" defer></script>
|
||||
<script src="../../../js/auto-complete.js?1687389786" defer></script>
|
||||
<script src="../../../js/lunr/lunr.min.js?1687389786" defer></script>
|
||||
<script src="../../../js/lunr/lunr.stemmer.support.min.js?1687389786" defer></script>
|
||||
<script src="../../../js/lunr/lunr.multi.min.js?1687389786" defer></script>
|
||||
<script src="../../../js/lunr/lunr.en.min.js?1687389786" defer></script>
|
||||
<script src="../../../js/search.js?1687389786" defer></script>
|
||||
</div>
|
||||
<div id="content-wrapper" class="highlightable">
|
||||
<ul class="topics enlarge morespace collapsible-menu">
|
||||
@ -338,7 +333,6 @@ However, if ye want t' keep th' title but change its value, it can be overridden
|
||||
<li data-nav-id="/pir/cont/pages/index.html" class=""><a class="padding" href="../../../pir/cont/pages/index.html">planks orrrganizat'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/archetypes/index.html" class=""><a class="padding" href="../../../pir/cont/archetypes/index.html">Arrrchetypes<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/markdown/index.html" class=""><a class="padding" href="../../../pir/cont/markdown/index.html">Marrrkdown rules<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/syntaxhighlight/index.html" class=""><a class="padding" href="../../../pir/cont/syntaxhighlight/index.html">Code highlight'n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/menushortcuts/index.html" class="active"><a class="padding" href="../../../pir/cont/menushortcuts/index.html">Menu extrrra shorrrtcuts<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/i18n/index.html" class=""><a class="padding" href="../../../pir/cont/i18n/index.html">Multilingual an' i18n<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/cont/taxonomy/index.html" class=""><a class="padding" href="../../../pir/cont/taxonomy/index.html">Taxonomy<i class="fas fa-check read-icon"></i></a></li></ul></li>
|
||||
@ -358,6 +352,7 @@ However, if ye want t' keep th' title but change its value, it can be overridden
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/index.html" class=""><input type="checkbox" id="section-085f961452d7baa981ace00de789c321" aria-controls="subsections-085f961452d7baa981ace00de789c321"><label for="section-085f961452d7baa981ace00de789c321"><i class="fas fa-chevron-down"></i><i class="fas fa-chevron-right"></i><span class="a11y-only">Submenu plank 3</span></label><a class="padding" href="../../../pir/shortcodes/children/children-3/index.html">plank 3<i class="fas fa-check read-icon"></i></a><ul id="subsections-085f961452d7baa981ace00de789c321" class="morespace collapsible-menu">
|
||||
<li data-nav-id="/pir/shortcodes/children/children-3/test3/index.html" class=""><a class="padding" href="../../../pir/shortcodes/children/children-3/test3/index.html">plank 3-1<i class="fas fa-check read-icon"></i></a></li></ul></li></ul></li>
|
||||
<li data-nav-id="/pir/shortcodes/expand/index.html" class=""><a class="padding" href="../../../pir/shortcodes/expand/index.html">Expand<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/highlight/index.html" class=""><a class="padding" href="../../../pir/shortcodes/highlight/index.html">Highlight<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/icon/index.html" class=""><a class="padding" href="../../../pir/shortcodes/icon/index.html">Icon<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/include/index.html" class=""><a class="padding" href="../../../pir/shortcodes/include/index.html">Include<i class="fas fa-check read-icon"></i></a></li>
|
||||
<li data-nav-id="/pir/shortcodes/math/index.html" class=""><a class="padding" href="../../../pir/shortcodes/math/index.html">Math<i class="fas fa-check read-icon"></i></a></li>
|
||||
@ -441,12 +436,12 @@ However, if ye want t' keep th' title but change its value, it can be overridden
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn" data-icon="octicon-star" data-show-count="true" aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
|
||||
<a class="github-button" href="https://github.com/McShelby/hugo-theme-relearn/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>
|
||||
<p>Built with <a href="https://github.com/McShelby/hugo-theme-relearn" title="love"><i class="fas fa-heart"></i></a> by <a href="https://gohugo.io/">Hugo</a></p>
|
||||
<script async src="../../../js/buttons.js?1687081538"></script>
|
||||
<script async src="../../../js/buttons.js?1687389786"></script>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
<script src="../../../js/clipboard.min.js?1687081538" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687081538" defer></script>
|
||||
<script src="../../../js/theme.js?1687081538" defer></script>
|
||||
<script src="../../../js/clipboard.min.js?1687389786" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687389786" defer></script>
|
||||
<script src="../../../js/theme.js?1687389786" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<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.113.0">
|
||||
<meta name="generator" content="Hugo 0.114.0">
|
||||
<meta name="generator" content="Relearn 5.16.2+tip">
|
||||
<meta name="description" content="Documentation for Hugo Relearn Theme">
|
||||
<meta name="author" content="Sören Weber">
|
||||
@ -13,21 +13,21 @@
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/menushortcuts/index.html" rel="alternate" hreflang="pir">
|
||||
<link href="https://McShelby.github.io/hugo-theme-relearn/pir/cont/menushortcuts/index.html" rel="canonical" type="text/html" title="Menu extrrra shorrrtcuts :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../pir/cont/menushortcuts/index.xml" rel="alternate" type="application/rss+xml" title="Menu extrrra shorrrtcuts :: Cap'n Hugo Relearrrn Theme">
|
||||
<link href="../../../images/logo.svg?1687081538" rel="icon" type="image/svg+xml">
|
||||
<link href="../../../images/logo.svg?1687389786" rel="icon" type="image/svg+xml">
|
||||
<!-- https://github.com/filamentgroup/loadCSS/blob/master/README.md#how-to-use -->
|
||||
<link href="../../../css/fontawesome-all.min.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687081541" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687081541" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687081541" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687081541" rel="stylesheet" media="print">
|
||||
<link href="../../../css/format-print.css?1687081541" rel="stylesheet">
|
||||
<link href="../../../css/ie.css?1687081541" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687081541"></script>
|
||||
<script src="../../../js/variant.js?1687081541"></script>
|
||||
<link href="../../../css/fontawesome-all.min.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fontawesome-all.min.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/nucleus.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/auto-complete.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/auto-complete.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/perfect-scrollbar.min.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/fonts.css?1687389789" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../../css/fonts.css?1687389789" rel="stylesheet"></noscript>
|
||||
<link href="../../../css/theme.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/theme-auto.css?1687389789" rel="stylesheet" id="variant-style">
|
||||
<link href="../../../css/variant.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/print.css?1687389789" rel="stylesheet" media="print">
|
||||
<link href="../../../css/format-print.css?1687389789" rel="stylesheet">
|
||||
<link href="../../../css/ie.css?1687389789" rel="stylesheet">
|
||||
<script src="../../../js/url.js?1687389789"></script>
|
||||
<script src="../../../js/variant.js?1687389789"></script>
|
||||
<script>
|
||||
// hack to let hugo tell us how to get to the root when using relativeURLs, it needs to be called *url= for it to do its magic:
|
||||
// https://github.com/gohugoio/hugo/blob/145b3fcce35fbac25c7033c91c1b7ae6d1179da8/transform/urlreplacers/absurlreplacer.go#L72
|
||||
@ -81,7 +81,7 @@
|
||||
<h2 id="basic-configuration">Basic configurat'n</h2>
|
||||
<p>Edit th' website configurat'n <code>config.toml</code> an' add a <code>[[menu.shortcuts]]</code> entry fer each link yer want t' add.</p>
|
||||
<p>Example from th' current website:</p>
|
||||
<div class="highlight"><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">menu</span><span class="p">.</span><span class="nx">shortcuts</span><span class="p">]]</span>
|
||||
<div class="wrap-code highlight"><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">menu</span><span class="p">.</span><span class="nx">shortcuts</span><span class="p">]]</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">name</span> <span class="p">=</span> <span class="s2">"<i class='fab fa-fw fa-github'></i> GitHub repo"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">identifier</span> <span class="p">=</span> <span class="s2">"ds"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">url</span> <span class="p">=</span> <span class="s2">"https://github.com/McShelby/hugo-theme-relearn"</span>
|
||||
@ -106,17 +106,15 @@
|
||||
</span></span><span class="line"><span class="cl"><span class="p">[[</span><span class="nx">menu</span><span class="p">.</span><span class="nx">shortcuts</span><span class="p">]]</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">name</span> <span class="p">=</span> <span class="s2">"<i class='fas fa-fw fa-tags'></i> Tags"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">url</span> <span class="p">=</span> <span class="s2">"tags/"</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">weight</span> <span class="p">=</span> <span class="mi">40</span>
|
||||
</span></span></code></pre></div><p>By default, shortcuts be preceded by a title. This title can be disabled by sett'n <code>disableShortcutsTitle=true</code>.
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">weight</span> <span class="p">=</span> <span class="mi">40</span></span></span></code></pre></div><p>By default, shortcuts be preceded by a title. This title can be disabled by sett'n <code>disableShortcutsTitle=true</code>.
|
||||
However, if ye want t' keep th' title but change its value, it can be overridden by chang'n yer local i18n translat'n str'n configurat'n.</p>
|
||||
<p>For example, 'n yer local <code>i18n/en.toml</code> file, add th' follow'n rrrambl'n</p>
|
||||
<div class="highlight"><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">Shortcuts-Title</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">other</span> <span class="p">=</span> <span class="s2">"<Your value>"</span>
|
||||
</span></span></code></pre></div><p>Read more about <a href="https://gohugo.io/extras/menus/" target="_blank">hugo menu</a> an' <a href="https://gohugo.io/content-management/multilingual/#translation-of-strings" target="_blank">hugo i18n translat'n str'ns</a></p>
|
||||
<div class="wrap-code highlight"><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">Shortcuts-Title</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="nx">other</span> <span class="p">=</span> <span class="s2">"<Your value>"</span></span></span></code></pre></div><p>Read more about <a href="https://gohugo.io/extras/menus/" target="_blank">hugo menu</a> an' <a href="https://gohugo.io/content-management/multilingual/#translation-of-strings" target="_blank">hugo i18n translat'n str'ns</a></p>
|
||||
<h2 id="i18n">Configurat'n fer Multilingual mode</h2>
|
||||
<p>When us'n a multilingual website, ye can set different menus fer each language. In th' <code>config.toml</code> file, prefix yer menu configurat'n by <code>Languages.<language-id></code>.</p>
|
||||
<p>Example from th' current website:</p>
|
||||
<div class="highlight"><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>
|
||||
<div class="wrap-code highlight"><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="nx">title</span> <span class="p">=</span> <span class="s2">"Hugo Relearrrn Theme"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">weight</span> <span class="p">=</span> <span class="mi">1</span>
|
||||
@ -183,25 +181,22 @@ However, if ye want t' keep th' title but change its value, it can be overridden
|
||||
</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">menu</span><span class="p">.</span><span class="nx">shortcuts</span><span class="p">]]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">name</span> <span class="p">=</span> <span class="s2">"<i class='fas fa-fw fa-tags'></i> Arrr! Tags"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">pageRef</span> <span class="p">=</span> <span class="s2">"tags/"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">weight</span> <span class="p">=</span> <span class="mi">40</span>
|
||||
</span></span></code></pre></div><p>Read more about <a href="https://gohugo.io/extras/menus/" target="_blank">hugo menu</a> an' <a href="https://gohugo.io/content-management/multilingual/#menus" target="_blank">hugo multilingual menus</a></p>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">weight</span> <span class="p">=</span> <span class="mi">40</span></span></span></code></pre></div><p>Read more about <a href="https://gohugo.io/extras/menus/" target="_blank">hugo menu</a> an' <a href="https://gohugo.io/content-management/multilingual/#menus" target="_blank">hugo multilingual menus</a></p>
|
||||
<h2 id="shortcuts-to-pages-inside-of-your-project">Shortcuts t' planks inside o' yer project</h2>
|
||||
<p>If ye have shortcuts t' planks inside o' yer project an' ye don’t want them t' show up 'n plank menu section, ye have two choices:</p>
|
||||
<ol>
|
||||
<li>
|
||||
<p>Make th' plank file fer th' shortcut section a <a href="https://gohugo.io/content-management/age-bundles/#headless-bundle" target="_blank">headless branch bundle</a> (contained 'n its own subdirectory an' called <code>_index.md</code>) an' add th' follow'n rontmatter configurat'n t' th' file (see exampleSite’s <code>content/showcase</code>). This causes its rrrambl'n t' <strong>not</strong> be ontained 'n th' sitemap.</p>
|
||||
<div class="highlight"><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">_build</span><span class="p">]</span>
|
||||
<div class="wrap-code highlight"><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">_build</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">render</span> <span class="p">=</span> <span class="s2">"never"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">list</span> <span class="p">=</span> <span class="s2">"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></code></pre></div></li>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">publishResources</span> <span class="p">=</span> <span class="kc">false</span></span></span></code></pre></div></li>
|
||||
<li>
|
||||
<p>Store th' plank file fer th' shortcut section below a parent headless branch bundle an' add th' follow'n frontmatter t' he <strong>parent</strong>. In this case, th' file itself can be a branch bundle, leaf bundle or simple plank (see exampleSite’s content/more/<code>an'</code>content/more/credits`). This causes its rrrambl'n t' be contained 'n th' sitemap.</p>
|
||||
<div class="highlight"><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">_build</span><span class="p">]</span>
|
||||
<div class="wrap-code highlight"><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">_build</span><span class="p">]</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">render</span> <span class="p">=</span> <span class="s2">"always"</span>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">list</span> <span class="p">=</span> <span class="s2">"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></code></pre></div></li>
|
||||
</span></span><span class="line"><span class="cl"> <span class="nx">publishResources</span> <span class="p">=</span> <span class="kc">true</span></span></span></code></pre></div></li>
|
||||
</ol>
|
||||
|
||||
|
||||
@ -213,8 +208,8 @@ However, if ye want t' keep th' title but change its value, it can be overridden
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<script src="../../../js/clipboard.min.js?1687081541" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687081541" defer></script>
|
||||
<script src="../../../js/theme.js?1687081541" defer></script>
|
||||
<script src="../../../js/clipboard.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/perfect-scrollbar.min.js?1687389789" defer></script>
|
||||
<script src="../../../js/theme.js?1687389789" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user