<linkhref="/hugo-theme-relearn/introduction/releasenotes/index.xml"rel="alternate"type="application/rss+xml"title="What's New :: Hugo Relearn Theme">
<linkhref="/hugo-theme-relearn/introduction/releasenotes/index.print.html"rel="alternate"type="text/html"title="What's New :: Hugo Relearn Theme">
<p><spanclass="badge cstyle note badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-exclamation-circle"></i></span><spanclass="badge-content">Change</span></span> Change of behavior, may require action</p>
</li>
<li>
<p><spanclass="badge cstyle info badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-plus-circle"></i></span><spanclass="badge-content">New</span></span> New behavior, often introducing new options</p>
<p><spanclass="badge cstyle note badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-exclamation-circle"></i></span><spanclass="badge-content">Change</span></span> The sidebar menus are now <ahref="/hugo-theme-relearn/authoring/frontmatter/menu/index.html">completely configurable</a>.</p>
<p>This is provided by the new parameter <code>sidebarmenus</code>. With the new system, you can</p>
<ul>
<li>show arbitrary amounts of menus</li>
<li>set headings for each menu</li>
<li>base it on your page structure or use Hugo’s menu feature</li>
<li>configure a starting page if a menu is based on page structure</li>
<li>display unlimited nesting for both menu types</li>
<li>reconfigure the menus in a page’s front matter</li>
<li>apply the usual parameter <code>alwaysopen</code>, <code>collapsibleMenu</code>, etc. for all menu types</li>
</ul>
<p>You don’t need to change anything in your existing installation as the old configuration is used as a default.
<li><spanclass="badge cstyle default badge-with-title"><spanclass="badge-title"><iclass="fa-fw fab fa-hackerrank"></i></span><spanclass="badge-content"style="background-color: fuchsia;">0.126.0</span></span> This release requires a newer Hugo version.</li>
</ul>
<h3id="breaking">Breaking</h3>
<ul>
<li>
<p><spanclass="badge cstyle warning badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-exclamation-triangle"></i></span><spanclass="badge-content">Breaking</span></span> This release comes with significant changes in file naming of partials and how the theme works internally. This was done because the theme</p>
<ul>
<li>suffered from poor build performance for sites with 1000 or more pages</li>
<li>reinvented the wheel instead of using available Hugo mechanisms</li>
<p><em>What do I gain</em>, you may ask. A significant performance boost during build! Usually, the build time has been cut at least in half for bigger sites. It is now possible to build even larger sites with 5000 or more pages. This was previously almost impossible due to rapidly increasing build time with the more pages you’ve introduced. For even bigger sites, the theme now has <ahref="/hugo-theme-relearn/authoring/frontmatter/menu/index.html#expander-for-submenus">configurable performance optimizations</a> - at the price of feature limitations.</p>
<p>If you haven’t done customizations to any partials, you can update right away.</p>
<p>If you have customized your templates, in the best cases, you will get build warnings or even errors. In the worst cases, your build succeeds but the site will not work as intended by you.</p>
<p>Specifically, you will have to adapt your site if you have</p>
<ul>
<li><ahref="/hugo-theme-relearn/configuration/customization/partials/index.html">overwritten the <code>header.html</code>, <code>menu.html</code> or <code>footer.html</code> partials</a></li>
<li>self-defined archetype partials in <code>layouts/partials/archetypes</code> - now becoming <ahref="/hugo-theme-relearn/configuration/customization/designs/index.html">page designs</a></li>
<li><ahref="/hugo-theme-relearn/configuration/customization/topbar/index.html">overwritten prev/next topbar buttons</a> - needs sync with implementation changes</li>
</ul>
</li>
<li>
<p><spanclass="badge cstyle warning badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-exclamation-triangle"></i></span><spanclass="badge-content">Breaking</span></span> This release changes the way the search index and the dedicated search page are generated. This may require reconfiguration by you to still work as you have intended.</p>
<p>You need to remove the now obsolete <code>search</code> and <code>searchpage</code> output format from <code>[outputs.home]</code> in your <code>hugo.toml</code>, resulting in something similar to</p>
<p>After that, your build will succeed but will most likely cause new defaults to be applied. With no further settings, in-page search, search popup and dedicated search page are all active by default. This can be reconfigured.</p>
<p>In addition, you are now able to overwrite the default file name of the search index and the default page name of the dedicated search page by changing <code>searchIndexURL</code> and <code>searchPageURL</code> respectively in your <code>hugo.toml</code>.</p>
<p>See the <ahref="/hugo-theme-relearn/configuration/sidebar/search/index.html">updated documentation</a> for reference.</p>
<p><spanclass="badge cstyle note badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-exclamation-circle"></i></span><spanclass="badge-content">Change</span></span> Once again, the theme changed the font. We switched to the excellent <ahref="https://github.com/googlefonts/roboto-flex"rel="external"target="_self">Roboto Flex</a> font.</p>
<p>Care was taken to configure the font to look similar to the previously used Work Sans. Nevertheless, in direct comparison, you will see slight differences in appearance.</p>
<p>This change was necessary as the previously used font had display issues with <ahref="/hugo-theme-relearn/authoring/markdown/index.html#marked-text">marked text</a>, contrast, and some other minor stuff. As an aftermath, the number of requests and the download size were decreased when loading a page.</p>
<p>The font was created by Google, is licensed under OFL 1.1 and is delivered from your theme’s installation. As always, no third-party server calls are involved.</p>
<p>If you have changed the <code>font-family</code> in your installation, you most likely have to adjust the variables <code>--MAIN-font-weight</code>, <code>--MAIN-BOLD-font-weight</code> and <code>--MAIN-letter-spacing</code>.</p>
<p>Additionally, if you have changed the font to a <ahref="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_fonts/Variable_fonts_guide#variable_fonts_what_they_are_and_how_they_differ"rel="external"target="_self">variable font</a> in your installation, you may have to adjust the variable <code>--MAIN-font-variation-settings</code>. As this only applies to <strong>variable fonts</strong>, this should rarely be necessary.</p>
</li>
<li>
<p><spanclass="badge cstyle note badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-exclamation-circle"></i></span><spanclass="badge-content">Change</span></span> While switching the font, it was discovered that certain CSS variables were falsely named. You don’t need to change anything in your custom variant stylesheet as the old names will be used as a fallback.</p>
<p><code>--MAIN-TITLES-TEXT-font</code> was renamed to <code>--MAIN-TITLES-font</code>, <code>--MAIN-TITLES-H<n>-color</code> was renamed to <code>--MAIN-TITLES-H<n>-TEXT-color</code>.</p>
</li>
<li>
<p><spanclass="badge cstyle note badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-exclamation-circle"></i></span><spanclass="badge-content">Change</span></span> The options and front matter to force loading a <ahref="/hugo-theme-relearn/shortcodes/math/index.html#force-loading-of-the-mathjax-library">math</a>, <ahref="/hugo-theme-relearn/shortcodes/mermaid/index.html#force-loading-of-the-mermaid-library">mermaid</a> or <ahref="/hugo-theme-relearn/shortcodes/openapi/index.html#force-loading-of-the-swagger-ui-library">openapi</a> library has been changed.</p>
<p>Previously, you had to set the unintuitive <code>disableMathJax=false</code> to force load the math library in case of a passthrough configuration. This is replaced by the simpler <code>math=true</code> or <code>math.force=true</code> and is now in line with <ahref="https://gohugo.io/content-management/mathematics/#step-1"rel="external"target="_self">Hugo’s official documentation</a>.</p>
<p>You don’t need to change anything yet but will receive warnings if the old settings are used.</p>
</li>
<li>
<p><spanclass="badge cstyle note badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-exclamation-circle"></i></span><spanclass="badge-content">Change</span></span> The default logo is not contained inside of the theme’s logo partial anymore.</p>
<p>This is to avoid usage of the theme’s branding throughout the web in non-modified installations.</p>
<p>In addition, the default text for the logo partial is now <ahref="/hugo-theme-relearn/configuration/sidebar/headerfooter/index.html#title">taken from the <code>linkTitle</code> setting</a> of your <code>hugo.toml</code>.</p>
<p><spanclass="badge cstyle info badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-plus-circle"></i></span><spanclass="badge-content">New</span></span> The docs received a much-needed overhaul for all chapters.</p>
<p>Basically, the structure was reorganized, giving each topic its own page while keeping the amount of items for each menu level comprehensible by adding sub-pages.</p>
<p>The docs now clearly differentiate between <ahref="/hugo-theme-relearn/configuration/index.html">configuration of your site</a>, all things <ahref="/hugo-theme-relearn/authoring/index.html">writing page content</a> and the <ahref="/hugo-theme-relearn/shortcodes/index.html">shortcodes docs</a> that cover both topics, configuration and usage.</p>
<p>To give you a better overview of what’s possible with the theme, we introduced reference pages for all theme <ahref="/hugo-theme-relearn/configuration/reference/index.html">configuration options</a> and <ahref="/hugo-theme-relearn/authoring/frontmatter/reference/index.html">front matter</a> and mark each occurrence of such on all pages with the badges <spanclass="badge cstyle cyan badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-gears"></i></span><spanclass="badge-content">Option</span></span> and <spanclass="badge cstyle green badge-with-title"><spanclass="badge-title"><iclass="fa-fw fab fa-markdown"></i></span><spanclass="badge-content">Front Matter</span></span>.</p>
<p>Also, a lot of previously undocumented features are now included, namely</p>
<li>configuring <ahref="/hugo-theme-relearn/configuration/content/titles/index.html">breadcrumb, titles</a> and <ahref="/hugo-theme-relearn/configuration/content/headings/index.html">headings</a> of your content</li>
<li><ahref="/hugo-theme-relearn/configuration/content/linking/index.html">options for using links</a></li>
<li><spanclass="badge cstyle note badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-exclamation-circle"></i></span><spanclass="badge-content">Change</span></span> If you now display a single code block in a <code>notice</code> box, its <ahref="/hugo-theme-relearn/shortcodes/notice/index.html#code-with-collapsed-colored-borders">margin and border will be removed</a> so only the colored notice border is visible.</li>
<p><spanclass="badge cstyle info badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-plus-circle"></i></span><spanclass="badge-content">New</span></span> It is now possible to have user-defined styles for all shortcodes that accept the <code>style</code> parameter. See the <ahref="/hugo-theme-relearn/shortcodes/notice/index.html#defining-own-styles"><code>notice</code> shortcode</a> for configuration.</p>
</li>
<li>
<p><spanclass="badge cstyle info badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-plus-circle"></i></span><spanclass="badge-content">New</span></span> The <ahref="/hugo-theme-relearn/shortcodes/resources/index.html"><code>resources</code> shortcode</a> has a new parameter <code>expanded</code> to make the resource list collapsible.
<p><spanclass="badge cstyle note badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-exclamation-circle"></i></span><spanclass="badge-content">Change</span></span> The <ahref="/hugo-theme-relearn/shortcodes/expand/index.html"><code>expand</code> shortcode</a> changed the naming of the <code>open</code> parameter to <code>expanded</code>. You don’t need to change anything yet but may get deprecation warnings.</p>
</li>
<li>
<p><spanclass="badge cstyle note badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-exclamation-circle"></i></span><spanclass="badge-content">Change</span></span> If the content for the <ahref="/hugo-theme-relearn/shortcodes/notice/index.html"><code>notice</code> shortcode</a> is empty, now only the title bar will be displayed. Previously an empty content box was displayed.</p>
<p><spanclass="badge cstyle info badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-plus-circle"></i></span><spanclass="badge-content">New</span></span> The <ahref="/hugo-theme-relearn/shortcodes/notice/index.html"><code>notice</code> shortcode</a> has a new parameter <code>expanded</code> to make the content collapsible.</p>
</li>
<li>
<p><spanclass="badge cstyle info badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-plus-circle"></i></span><spanclass="badge-content">New</span></span> If you are running Hugo <spanclass="badge cstyle default badge-with-title"><spanclass="badge-title"><iclass="fa-fw fab fa-hackerrank"></i></span><spanclass="badge-content"style="background-color: fuchsia;">0.134.0</span></span> or later, the theme now supports <ahref="/hugo-theme-relearn/authoring/markdown/index.html#obsidian-callouts">Obsidian callouts</a>.</p>
</li>
<li>
<p><spanclass="badge cstyle info badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-plus-circle"></i></span><spanclass="badge-content">New</span></span> The theme has updated its Mermaid dependency to 11.1.0. This adds support for <ahref="/hugo-theme-relearn/shortcodes/mermaid/index.html#packet">packet</a> and <ahref="/hugo-theme-relearn/shortcodes/mermaid/index.html#architecture">architecture</a> diagrams.
<p><spanclass="badge cstyle note badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-exclamation-circle"></i></span><spanclass="badge-content">Change</span></span> The heading anchor links are extended in functionality.</p>
<p>If you now click on it, not only is the link copied to the clipboard (previous behavior) but also the heading scrolls to the top of the page.</p>
<p>If you dislike the new behavior, you can deactivate it by setting <code>disableAnchorScrolling=true</code> in your <code>hugo.toml</code>. See the <ahref="/hugo-theme-relearn/configuration/content/headings/index.html">docs for further options</a>.</p>
<p><spanclass="badge cstyle info badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-plus-circle"></i></span><spanclass="badge-content">New</span></span> If you are running Hugo <spanclass="badge cstyle default badge-with-title"><spanclass="badge-title"><iclass="fa-fw fab fa-hackerrank"></i></span><spanclass="badge-content"style="background-color: fuchsia;">0.132.0</span></span> or later, the theme is now capable to print <ahref="/hugo-theme-relearn/authoring/markdown/index.html#github-alerts">GitHub alerts</a>.</p>
</li>
<li>
<p><spanclass="badge cstyle info badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-plus-circle"></i></span><spanclass="badge-content">New</span></span> To support new severity levels for GitHub alerts, all shortcodes that support severity levels with their <code>style</code> parameter were expanded with the new severities <code>caution</code> and <code>important</code> and the <code>color</code> parameter was expanded with <code>cyan</code> and <code>magenta</code>. Please note, that coloring and icons of severities may defer from the <ahref="https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts"rel="external"target="_self">display you see on GitHub</a>.</p>
</li>
<li>
<p><spanclass="badge cstyle info badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-plus-circle"></i></span><spanclass="badge-content">New</span></span> To support new severity levels for GitHub alerts, the new severities and their according colors are also available as CSS variables <code>BOX-MAGENTA-color</code>, <code>BOX-MAGENTA-TEXT-color</code>, <code>BOX-CAUTION-color</code>, <code>BOX-CAUTION-TEXT-color</code>, <code>BOX-CYAN-color</code>, <code>BOX-CYAN-TEXT-color</code>, <code>BOX-IMPORTANT-color</code>, <code>BOX-IMPORTANT-TEXT-color</code>. You don’t need to change anything in your custom color stylesheet as appropriate default colors will be used.
<p><spanclass="badge cstyle note badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-exclamation-circle"></i></span><spanclass="badge-content">Change</span></span> The <ahref="/hugo-theme-relearn/shortcodes/include/index.html"><code>include</code> shortcode</a> is now able to resolve links to pages as well as resources or files in the file system (the old behavior).</p>
</li>
<li>
<p><spanclass="badge cstyle note badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-exclamation-circle"></i></span><spanclass="badge-content">Change</span></span> To make the asset buster mechanism more robust, some internally used stylesheets where restructured. This generally should not affect your page in any negative way.</p>
<p><spanclass="badge cstyle info badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-plus-circle"></i></span><spanclass="badge-content">New</span></span> The <ahref="/hugo-theme-relearn/shortcodes/openapi/index.html"><code>openapi</code> shortcode</a> is now able to resolve links to resources as well as to files in the file system (the old behavior). You can configure to generate warnings or errors during build by setting <code>openapi.errorlevel</code> to either <code>warning</code> or <code>error</code> in your <code>hugo.toml</code> if a path can not be resolved.</p>
</li>
<li>
<p><spanclass="badge cstyle info badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-plus-circle"></i></span><spanclass="badge-content">New</span></span> Shortcodes supporting an <code>errorlevel</code> configuration can now have overridden values in the <ahref="/hugo-theme-relearn/authoring/frontmatter/reference/index.html">front matter</a> section of each individual page.</p>
</li>
<li>
<p><spanclass="badge cstyle info badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-plus-circle"></i></span><spanclass="badge-content">New</span></span> The theme now comes with its own overridden version of the <code>relref</code> shortcode.</p>
<p>While the usage of <code>relref</code> is obsolete and discouraged by Hugo for a while, existing installations may use it. In configurations using a <code>baseURL</code> with a subdirectory, and having <code>relativeURLs=false</code> (the default) Hugo’s standard <code>relref</code> implementation was failing.</p>
<p>The shortcode is deactivated by default and can be activated by setting</p>
<p>in your <code>hugo.toml</code>. Only do this if your site fulfills <strong>all of the above assumptions</strong>.
</p>
</li>
</ul>
<hr>
<p></p>
<h2id="6-0-0">6.0.0 (2024-04-27)</h2>
<h3id="breaking-1">Breaking</h3>
<ul>
<li>
<p><spanclass="badge cstyle warning badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-exclamation-triangle"></i></span><spanclass="badge-content">Breaking</span></span> This release requires you to move your self-defined variant (<code>theme-*.css</code>) and chroma stylesheets (<code>chroma-*.css</code>) from <code>static/css</code> to <code>assets/css</code>.</p>
<p>This was necessary to avoid permission errors on build if running in certain Unix configurations.</p>
<p>In addition it is not allowed anymore to <code>@import</code> your chroma stylesheet from inside of your variant stylesheet.</p>
<p>Say, your chroma stylesheet is named <code>chroma-monokai.css</code>, you have to add the following inside your variant stylesheet:</p>
<p><spanclass="badge cstyle warning badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-exclamation-triangle"></i></span><spanclass="badge-content">Breaking</span></span> The parameter <code>description</code> in your <code>hugo.toml</code> will now be ignored.</p>
<p>With the newly introduced unified handling of descriptions throughout the theme, the only place the old parameter would have been used was your home page.</p>
<p>For migration, move the <code>description</code> parameter of your <code>hugo.toml</code> into the front matter section of your home page.</p>
</li>
<li>
<p><spanclass="badge cstyle warning badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-exclamation-triangle"></i></span><spanclass="badge-content">Breaking</span></span> Search support for the <code>json</code> outputformat <ahref="/hugo-theme-relearn/introduction/releasenotes/5/index.html#5-4-0">deprecated in 5.4.0</a> was removed.</p>
<p>Change it to <code>search</code> for the homepage in your <code>hugo.toml</code>. See the docs for <ahref="/hugo-theme-relearn/configuration/sidebar/search/index.html">detailed configuration</a>.</p>
</li>
<li>
<p><spanclass="badge cstyle warning badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-exclamation-triangle"></i></span><spanclass="badge-content">Breaking</span></span> The front matter option <code>menuTitle</code><ahref="/hugo-theme-relearn/introduction/releasenotes/5/index.html#5-24-0">deprecated in 5.24.0</a> was removed in favor for Hugo’s own <code>linkTitle</code>.</p>
<p>Additionally, if set, <code>linkTitle</code> will now be used instead of <code>title</code> to generate the breadcrumb.</p>
</li>
<li>
<p><spanclass="badge cstyle warning badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-exclamation-triangle"></i></span><spanclass="badge-content">Breaking</span></span> The <code>swagger</code> shortcode <ahref="/hugo-theme-relearn/introduction/releasenotes/5/index.html#5-13-0">deprecated in 5.13.0</a> was removed in favor for the <ahref="/hugo-theme-relearn/shortcodes/openapi/index.html"><code>openapi</code> shortcode</a> with the same set of parameter.</p>
</li>
<li>
<p><spanclass="badge cstyle warning badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-exclamation-triangle"></i></span><spanclass="badge-content">Breaking</span></span> Support for Internet Explorer 11 was finally dropped.</p>
<p><spanclass="badge cstyle note badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-exclamation-circle"></i></span><spanclass="badge-content">Change</span></span> With the removal of support for Internet Explorer 11, Font Awesome was upgraded to version 6.5.2.</p>
<p>You may experience slight changes for some icons. In addition you have additional ~1700 icons <ahref="https://fontawesome.com/v6/search?m=free"rel="external"target="_self">to chose</a> from.</p>
</li>
<li>
<p><spanclass="badge cstyle note badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-exclamation-circle"></i></span><spanclass="badge-content">Change</span></span> The <ahref="/hugo-theme-relearn/shortcodes/children/index.html"><code>children</code> shortcode</a> was fixed to adhere to its documentation, generating the description based on this rule: When no description or summary exists for the page, the first 70 words of the content is taken.</p>
<p>Previously, the summary erroneously was ignored which now can lead to different output if you set <code>description=true</code> as a parameter.</p>
<p><spanclass="badge cstyle info badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-plus-circle"></i></span><spanclass="badge-content">New</span></span> The <ahref="/hugo-theme-relearn/shortcodes/include/index.html"><code>include</code> shortcode</a> is now able to resolve links to resources as well as to files in the file system (the old behavior). You can configure to generate warnings or errors during build by setting <code>include.errorlevel</code> to either <code>warning</code> or <code>error</code> in your <code>hugo.toml</code> if a path can not be resolved.</p>
</li>
<li>
<p><spanclass="badge cstyle info badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-plus-circle"></i></span><spanclass="badge-content">New</span></span> Math is now usable without enclosing it in a shortcode or Markdown codefence by using Hugo’s <ahref="/hugo-theme-relearn/shortcodes/math/index.html#passthrough-configuration">passthrough configuration</a>.</p>
</li>
<li>
<p><spanclass="badge cstyle info badge-with-title"><spanclass="badge-title"><iclass="fa-fw fas fa-plus-circle"></i></span><spanclass="badge-content">New</span></span> Translation into Romanian.
<p>Built with <ahref="https://github.com/McShelby/hugo-theme-relearn"title="love"><iclass="fas fa-heart"></i></a> by <ahref="https://gohugo.io/">Hugo</a></p>
<script>
function githubButtonsScheme(){
var scheme = 'light';
var colorPropertyValue = window.getComputedStyle( document.querySelector( '#R-sidebar' ) ).getPropertyValue( 'background-color' );
var colorValues = colorPropertyValue.match( /\d+/g ).map( function( e ){ return parseInt(e,10); });
<aclass="github-button"href="https://github.com/McShelby/hugo-theme-relearn/archive/main.zip"data-color-scheme="${scheme}"data-icon="octicon-cloud-download"aria-label="Download McShelby/hugo-theme-relearn on GitHub">Download</a>
<aclass="github-button"href="https://github.com/McShelby/hugo-theme-relearn"data-color-scheme="${scheme}"data-icon="octicon-star"data-show-count="true"aria-label="Star McShelby/hugo-theme-relearn on GitHub">Star</a>
<aclass="github-button"href="https://github.com/McShelby/hugo-theme-relearn/fork"data-color-scheme="${scheme}"data-icon="octicon-repo-forked"data-show-count="true"aria-label="Fork McShelby/hugo-theme-relearn on GitHub">Fork</a>