<metaname="description"content="6.0.0 (2024-04-27) Breaking Breaking This release requires you to move your self-defined variant (theme-*.css) and chroma stylesheets (chroma-*.css) from static/css to assets/css.">
<metaname="twitter:title"content="Version 6.0 :: Hugo Relearn Theme">
<metaname="twitter:description"content="6.0.0 (2024-04-27) Breaking Breaking This release requires you to move your self-defined variant (theme-*.css) and chroma stylesheets (chroma-*.css) from static/css to assets/css.">
<metaproperty="og:title"content="Version 6.0 :: Hugo Relearn Theme">
<metaproperty="og:description"content="6.0.0 (2024-04-27) Breaking Breaking This release requires you to move your self-defined variant (theme-*.css) and chroma stylesheets (chroma-*.css) from static/css to assets/css.">
<metaitemprop="name"content="Version 6.0 :: Hugo Relearn Theme">
<metaitemprop="description"content="6.0.0 (2024-04-27) Breaking Breaking This release requires you to move your self-defined variant (theme-*.css) and chroma stylesheets (chroma-*.css) from static/css to assets/css.">
<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>
</li>
</ul>
<hr>
<h2id="6-0-0">6.0.0 (2024-04-27)</h2>
<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 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>
</li>
</ul>
<h3id="change">Change</h3>
<ul>
<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> 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>
</li>
</ul>
<h3id="new">New</h3>
<ul>
<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/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>