This commit is contained in:
McShelby 2023-10-11 16:13:21 +00:00
parent 420a073e7c
commit 8f5dba2837
256 changed files with 6268 additions and 6268 deletions
basics/configuration

View file

@ -23,20 +23,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?1697040176" rel="icon" type="image/svg+xml">
<link href="../../images/logo.svg?1697040794" 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?1697040176" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1697040176" rel="stylesheet"></noscript>
<link href="../../css/nucleus.css?1697040176" rel="stylesheet">
<link href="../../css/auto-complete.css?1697040176" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1697040176" rel="stylesheet"></noscript>
<link href="../../css/perfect-scrollbar.min.css?1697040176" rel="stylesheet">
<link href="../../css/fonts.css?1697040176" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1697040176" rel="stylesheet"></noscript>
<link href="../../css/theme.css?1697040176" rel="stylesheet">
<link href="../../css/theme-auto.css?1697040176" rel="stylesheet" id="R-variant-style">
<link href="../../css/variant.css?1697040176" rel="stylesheet">
<link href="../../css/print.css?1697040176" rel="stylesheet" media="print">
<link href="../../css/ie.css?1697040176" rel="stylesheet">
<script src="../../js/url.js?1697040176"></script>
<script src="../../js/variant.js?1697040176"></script>
<link href="../../css/fontawesome-all.min.css?1697040794" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1697040794" rel="stylesheet"></noscript>
<link href="../../css/nucleus.css?1697040794" rel="stylesheet">
<link href="../../css/auto-complete.css?1697040794" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1697040794" rel="stylesheet"></noscript>
<link href="../../css/perfect-scrollbar.min.css?1697040794" rel="stylesheet">
<link href="../../css/fonts.css?1697040794" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1697040794" rel="stylesheet"></noscript>
<link href="../../css/theme.css?1697040794" rel="stylesheet">
<link href="../../css/theme-auto.css?1697040794" rel="stylesheet" id="R-variant-style">
<link href="../../css/variant.css?1697040794" rel="stylesheet">
<link href="../../css/print.css?1697040794" rel="stylesheet" media="print">
<link href="../../css/ie.css?1697040794" rel="stylesheet">
<script src="../../js/url.js?1697040794"></script>
<script src="../../js/variant.js?1697040794"></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
@ -275,8 +275,8 @@
<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. This will cause Hugo to generate a new file <code>http://example.com/mysite/search.html</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">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">&#34;HTML&#34;</span><span class="p">,</span> <span class="s2">&#34;RSS&#34;</span><span class="p">,</span> <span class="s2">&#34;SEARCH&#34;</span><span class="p">,</span> <span class="s2">&#34;SEARCHPAGE&#34;</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&rsquo;s search box .</p>
<p><a href="#R-image-c8f981ed3860da9a68df3a88cc2354a8" class="lightbox-link"><img src="../../basics/configuration/search_page.png?&amp;width=60pc" alt="Screenshot of the dedicated search page" class="figure-image bg-white border lightbox noshadow" style="height: auto; width: 60pc;" loading="lazy"></a>
<a href="javascript:history.back();" class="lightbox-back" id="R-image-c8f981ed3860da9a68df3a88cc2354a8"><img src="../../basics/configuration/search_page.png?&amp;width=60pc" alt="Screenshot of the dedicated search page" class="lightbox-image bg-white border lightbox noshadow" loading="lazy"></a></p>
<p><a href="#R-image-b50a09fec5aeeb9a15e9305afe4d1afa" class="lightbox-link"><img src="../../basics/configuration/search_page.png?&amp;width=60pc" alt="Screenshot of the dedicated search page" class="figure-image bg-white border lightbox noshadow" style="height: auto; width: 60pc;" loading="lazy"></a>
<a href="javascript:history.back();" class="lightbox-back" id="R-image-b50a09fec5aeeb9a15e9305afe4d1afa"><img src="../../basics/configuration/search_page.png?&amp;width=60pc" alt="Screenshot of the dedicated search page" class="lightbox-image bg-white border lightbox noshadow" loading="lazy"></a></p>
<div class="box notices cstyle note">
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Note</div>
@ -330,10 +330,10 @@ 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></code></pre></div><p>If those params are not configured for a specific language, they will get their
default values:</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">&#34;&lt;i class=&#39;fas fa-home&#39;&gt;&lt;/i&gt; Home&#34;</span></span></span></code></pre></div><p>The home button is going to look like this:</p>
<p><a href="#R-image-5196278c5035cd720d832ab4f4c3c1f6" class="lightbox-link"><img src="../../basics/configuration/home_button_defaults.png?width=18.75rem" alt="Default Home Button" class="figure-image bg-white border lightbox noshadow" style="height: auto; width: 18.75rem;" loading="lazy"></a>
<a href="javascript:history.back();" class="lightbox-back" id="R-image-5196278c5035cd720d832ab4f4c3c1f6"><img src="../../basics/configuration/home_button_defaults.png?width=18.75rem" alt="Default Home Button" class="lightbox-image bg-white border lightbox noshadow" loading="lazy"></a></p>
<p><a href="#R-image-799aab302f9edba1ee0bfc964447befa" class="lightbox-link"><img src="../../basics/configuration/home_button_defaults.png?width=18.75rem" alt="Default Home Button" class="figure-image bg-white border lightbox noshadow" style="height: auto; width: 18.75rem;" loading="lazy"></a>
<a href="javascript:history.back();" class="lightbox-back" id="R-image-799aab302f9edba1ee0bfc964447befa"><img src="../../basics/configuration/home_button_defaults.png?width=18.75rem" alt="Default Home Button" class="lightbox-image bg-white border lightbox noshadow" loading="lazy"></a></p>
<h2 id="social-media-meta-tags">Social Media Meta Tags</h2>
<p>You can add social media meta tags for the <a href="https://gohugo.io/templates/internal/#open-graph" target="_blank">Open Graph</a> and <a href="https://gohugo.io/templates/internal/#twitter-cards" target="_blank">Twitter Cards</a> to your site. These are configured as mentioned in the Hugo docs.</p>
<p>You can add social media meta tags for the <a href="https://gohugo.io/templates/internal/#open-graph" target="_blank">Open Graph</a> protocol and <a href="https://gohugo.io/templates/internal/#twitter-cards" target="_blank">Twitter Cards</a> to your site. These are configured as mentioned in the Hugo docs.</p>
<footer class="footline">
</footer>
@ -423,12 +423,12 @@ default values:</p>
<script>
var contentLangs=['en'];
</script>
<script src="../../js/auto-complete.js?1697040176" defer></script>
<script src="../../js/lunr/lunr.min.js?1697040176" defer></script>
<script src="../../js/lunr/lunr.stemmer.support.min.js?1697040176" defer></script>
<script src="../../js/lunr/lunr.multi.min.js?1697040176" defer></script>
<script src="../../js/lunr/lunr.en.min.js?1697040176" defer></script>
<script src="../../js/search.js?1697040176" defer></script>
<script src="../../js/auto-complete.js?1697040794" defer></script>
<script src="../../js/lunr/lunr.min.js?1697040794" defer></script>
<script src="../../js/lunr/lunr.stemmer.support.min.js?1697040794" defer></script>
<script src="../../js/lunr/lunr.multi.min.js?1697040794" defer></script>
<script src="../../js/lunr/lunr.en.min.js?1697040794" defer></script>
<script src="../../js/search.js?1697040794" defer></script>
</div>
<div id="R-homelinks" class="default-animation">
<hr class="padding">
@ -585,13 +585,13 @@ default values:</p>
setTimeout( githubButtonsInit, 400 );
});
</script>
<script async src="../../js/github-buttons.js?1697040176"></script>
<script async src="../../js/github-buttons.js?1697040794"></script>
</div>
</div>
</div>
</aside>
<script src="../../js/clipboard.min.js?1697040176" defer></script>
<script src="../../js/perfect-scrollbar.min.js?1697040176" defer></script>
<script src="../../js/theme.js?1697040176" defer></script>
<script src="../../js/clipboard.min.js?1697040794" defer></script>
<script src="../../js/perfect-scrollbar.min.js?1697040794" defer></script>
<script src="../../js/theme.js?1697040794" defer></script>
</body>
</html>

View file

@ -23,21 +23,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?1697040176" rel="icon" type="image/svg+xml">
<link href="../../images/logo.svg?1697040794" 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?1697040177" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1697040177" rel="stylesheet"></noscript>
<link href="../../css/nucleus.css?1697040177" rel="stylesheet">
<link href="../../css/auto-complete.css?1697040177" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1697040177" rel="stylesheet"></noscript>
<link href="../../css/perfect-scrollbar.min.css?1697040177" rel="stylesheet">
<link href="../../css/fonts.css?1697040177" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1697040177" rel="stylesheet"></noscript>
<link href="../../css/theme.css?1697040177" rel="stylesheet">
<link href="../../css/theme-auto.css?1697040177" rel="stylesheet" id="R-variant-style">
<link href="../../css/variant.css?1697040177" rel="stylesheet">
<link href="../../css/print.css?1697040177" rel="stylesheet" media="print">
<link href="../../css/format-print.css?1697040177" rel="stylesheet">
<link href="../../css/ie.css?1697040177" rel="stylesheet">
<script src="../../js/url.js?1697040177"></script>
<script src="../../js/variant.js?1697040177"></script>
<link href="../../css/fontawesome-all.min.css?1697040795" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fontawesome-all.min.css?1697040795" rel="stylesheet"></noscript>
<link href="../../css/nucleus.css?1697040795" rel="stylesheet">
<link href="../../css/auto-complete.css?1697040795" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/auto-complete.css?1697040795" rel="stylesheet"></noscript>
<link href="../../css/perfect-scrollbar.min.css?1697040795" rel="stylesheet">
<link href="../../css/fonts.css?1697040795" rel="stylesheet" media="print" onload="this.media='all';this.onload=null;"><noscript><link href="../../css/fonts.css?1697040795" rel="stylesheet"></noscript>
<link href="../../css/theme.css?1697040795" rel="stylesheet">
<link href="../../css/theme-auto.css?1697040795" rel="stylesheet" id="R-variant-style">
<link href="../../css/variant.css?1697040795" rel="stylesheet">
<link href="../../css/print.css?1697040795" rel="stylesheet" media="print">
<link href="../../css/format-print.css?1697040795" rel="stylesheet">
<link href="../../css/ie.css?1697040795" rel="stylesheet">
<script src="../../js/url.js?1697040795"></script>
<script src="../../js/variant.js?1697040795"></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
@ -211,8 +211,8 @@
<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. This will cause Hugo to generate a new file <code>http://example.com/mysite/search.html</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">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">&#34;HTML&#34;</span><span class="p">,</span> <span class="s2">&#34;RSS&#34;</span><span class="p">,</span> <span class="s2">&#34;SEARCH&#34;</span><span class="p">,</span> <span class="s2">&#34;SEARCHPAGE&#34;</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&rsquo;s search box .</p>
<p><a href="#R-image-c8f981ed3860da9a68df3a88cc2354a8" class="lightbox-link"><img src="../../basics/configuration/search_page.png?&amp;width=60pc" alt="Screenshot of the dedicated search page" class="figure-image bg-white border lightbox noshadow" style="height: auto; width: 60pc;" loading="lazy"></a>
<a href="javascript:history.back();" class="lightbox-back" id="R-image-c8f981ed3860da9a68df3a88cc2354a8"><img src="../../basics/configuration/search_page.png?&amp;width=60pc" alt="Screenshot of the dedicated search page" class="lightbox-image bg-white border lightbox noshadow" loading="lazy"></a></p>
<p><a href="#R-image-b50a09fec5aeeb9a15e9305afe4d1afa" class="lightbox-link"><img src="../../basics/configuration/search_page.png?&amp;width=60pc" alt="Screenshot of the dedicated search page" class="figure-image bg-white border lightbox noshadow" style="height: auto; width: 60pc;" loading="lazy"></a>
<a href="javascript:history.back();" class="lightbox-back" id="R-image-b50a09fec5aeeb9a15e9305afe4d1afa"><img src="../../basics/configuration/search_page.png?&amp;width=60pc" alt="Screenshot of the dedicated search page" class="lightbox-image bg-white border lightbox noshadow" loading="lazy"></a></p>
<div class="box notices cstyle note">
<div class="box-label"><i class="fa-fw fas fa-exclamation-circle"></i> Note</div>
@ -266,10 +266,10 @@ 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></code></pre></div><p>If those params are not configured for a specific language, they will get their
default values:</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">&#34;&lt;i class=&#39;fas fa-home&#39;&gt;&lt;/i&gt; Home&#34;</span></span></span></code></pre></div><p>The home button is going to look like this:</p>
<p><a href="#R-image-5196278c5035cd720d832ab4f4c3c1f6" class="lightbox-link"><img src="../../basics/configuration/home_button_defaults.png?width=18.75rem" alt="Default Home Button" class="figure-image bg-white border lightbox noshadow" style="height: auto; width: 18.75rem;" loading="lazy"></a>
<a href="javascript:history.back();" class="lightbox-back" id="R-image-5196278c5035cd720d832ab4f4c3c1f6"><img src="../../basics/configuration/home_button_defaults.png?width=18.75rem" alt="Default Home Button" class="lightbox-image bg-white border lightbox noshadow" loading="lazy"></a></p>
<p><a href="#R-image-799aab302f9edba1ee0bfc964447befa" class="lightbox-link"><img src="../../basics/configuration/home_button_defaults.png?width=18.75rem" alt="Default Home Button" class="figure-image bg-white border lightbox noshadow" style="height: auto; width: 18.75rem;" loading="lazy"></a>
<a href="javascript:history.back();" class="lightbox-back" id="R-image-799aab302f9edba1ee0bfc964447befa"><img src="../../basics/configuration/home_button_defaults.png?width=18.75rem" alt="Default Home Button" class="lightbox-image bg-white border lightbox noshadow" loading="lazy"></a></p>
<h2 id="social-media-meta-tags">Social Media Meta Tags</h2>
<p>You can add social media meta tags for the <a href="https://gohugo.io/templates/internal/#open-graph" target="_blank">Open Graph</a> and <a href="https://gohugo.io/templates/internal/#twitter-cards" target="_blank">Twitter Cards</a> to your site. These are configured as mentioned in the Hugo docs.</p>
<p>You can add social media meta tags for the <a href="https://gohugo.io/templates/internal/#open-graph" target="_blank">Open Graph</a> protocol and <a href="https://gohugo.io/templates/internal/#twitter-cards" target="_blank">Twitter Cards</a> to your site. These are configured as mentioned in the Hugo docs.</p>
<footer class="footline">
</footer>
@ -278,8 +278,8 @@ default values:</p>
</div>
</main>
</div>
<script src="../../js/clipboard.min.js?1697040177" defer></script>
<script src="../../js/perfect-scrollbar.min.js?1697040177" defer></script>
<script src="../../js/theme.js?1697040177" defer></script>
<script src="../../js/clipboard.min.js?1697040795" defer></script>
<script src="../../js/perfect-scrollbar.min.js?1697040795" defer></script>
<script src="../../js/theme.js?1697040795" defer></script>
</body>
</html>