<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Get started on pydata-hugo-theme</title><link>https://saltstack.github.io/pydata-hugo-theme/get-started/</link><description>Recent content in Get started on pydata-hugo-theme</description><generator>Hugo</generator><language>en-US</language><atom:link href="https://saltstack.github.io/pydata-hugo-theme/get-started/index.xml" rel="self" type="application/rss+xml"/><item><title>Install</title><link>https://saltstack.github.io/pydata-hugo-theme/get-started/install/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://saltstack.github.io/pydata-hugo-theme/get-started/install/</guid><description>&lt;p&gt;Add the module to your site&amp;rsquo;s &lt;code&gt;hugo.toml&lt;/code&gt;:&lt;/p&gt;&#10;&lt;div class="highlight-wrapper"&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-toml" data-lang="toml"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;[&lt;span style="color:#a6e22e"&gt;module&lt;/span&gt;]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; [[&lt;span style="color:#a6e22e"&gt;module&lt;/span&gt;.&lt;span style="color:#a6e22e"&gt;imports&lt;/span&gt;]]&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#a6e22e"&gt;path&lt;/span&gt; = &lt;span style="color:#e6db74"&gt;&amp;#34;github.com/saltstack/pydata-hugo-theme&amp;#34;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10; &lt;button class="copybtn" type="button" aria-label="Copy to clipboard"&gt;&#10; &lt;i class="fa-regular fa-copy copybtn-icon-default" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;i class="fa-solid fa-check copybtn-icon-copied" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/button&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;Then fetch it and its build-time npm dependencies (FontAwesome&amp;rsquo;s JS+SVG icon kit, Bootstrap&amp;rsquo;s JS bundle, mounted via &lt;code&gt;[[module.mounts]]&lt;/code&gt;):&lt;/p&gt;&#10;&lt;div class="highlight-wrapper"&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;hugo mod get github.com/saltstack/pydata-hugo-theme&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;npm install&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10; &lt;button class="copybtn" type="button" aria-label="Copy to clipboard"&gt;&#10; &lt;i class="fa-regular fa-copy copybtn-icon-default" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;i class="fa-solid fa-check copybtn-icon-copied" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/button&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;That&amp;rsquo;s it — &lt;code&gt;hugo server&lt;/code&gt;/&lt;code&gt;hugo build&lt;/code&gt; will now resolve the theme.&lt;/p&gt;&#10;&lt;h2 id="offline--reproducible-builds"&gt;Offline / reproducible builds&lt;/h2&gt;&#10;&lt;p&gt;By default Hugo resolves the module (and its npm mounts) fresh at build time, which needs Go and network access. If you&amp;rsquo;d rather commit a fully offline, reproducible copy — no Go toolchain, no npm, no live fetch during CI — run:&lt;/p&gt;</description></item><item><title>Layout</title><link>https://saltstack.github.io/pydata-hugo-theme/get-started/layout/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://saltstack.github.io/pydata-hugo-theme/get-started/layout/</guid><description>&lt;p&gt;The theme renders a page as a set of named &amp;ldquo;slots&amp;rdquo; — each a list of partial names, resolved via &lt;code&gt;site.Params.*&lt;/code&gt; — rather than a single fixed template. Override just the slot lists you care about; everything else falls back to the theme&amp;rsquo;s defaults.&lt;/p&gt;&#10;&lt;h2 id="page-title"&gt;Page title&lt;/h2&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Param&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Default&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Effect&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;show_title&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;true&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Auto-renders &lt;code&gt;&amp;lt;h1&amp;gt;{{ .Title }}&amp;lt;/h1&amp;gt;&lt;/code&gt; before the page content&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;p&gt;Resolved page frontmatter → &lt;code&gt;site.Params&lt;/code&gt; → hardcoded default, same as other overridable params. To omit the auto-rendered heading on a single page (e.g. because the Markdown body already starts with its own &lt;code&gt;#&lt;/code&gt; heading), set &lt;code&gt;show_title: false&lt;/code&gt; in that page&amp;rsquo;s frontmatter. To change the site-wide default, set &lt;code&gt;show_title = false&lt;/code&gt; under &lt;code&gt;[params]&lt;/code&gt; in &lt;code&gt;hugo.toml&lt;/code&gt;.&lt;/p&gt;</description></item></channel></rss>