<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Miscellaneous on pydata-hugo-theme</title><link>https://saltstack.github.io/pydata-hugo-theme/misc/</link><description>Recent content in Miscellaneous on pydata-hugo-theme</description><generator>Hugo</generator><language>en-US</language><atom:link href="https://saltstack.github.io/pydata-hugo-theme/misc/index.xml" rel="self" type="application/rss+xml"/><item><title>Accessibility</title><link>https://saltstack.github.io/pydata-hugo-theme/misc/accessibility/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://saltstack.github.io/pydata-hugo-theme/misc/accessibility/</guid><description>&lt;p&gt;General, framework-agnostic recommendations (adapted from upstream&amp;rsquo;s guidance, which applies just as well here):&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Color contrast&lt;/strong&gt; — if you override &lt;code&gt;--pst-*&lt;/code&gt; color variables (see &lt;a href="https://saltstack.github.io/pydata-hugo-theme/theming/styling/"&gt;Styling&lt;/a&gt;&#10;), check contrast ratios against WCAG AA, especially for both light and dark mode.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Keyboard navigation&lt;/strong&gt; — the search dialog, theme switcher, and sidebar toggle are all keyboard-operable out of the box; if you add custom partials into any slot, keep them keyboard-accessible too.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Logo alt text&lt;/strong&gt; — always set &lt;code&gt;logo.alt_text&lt;/code&gt; when using an image logo (see &lt;a href="https://saltstack.github.io/pydata-hugo-theme/theming/branding/"&gt;Branding&lt;/a&gt;&#10;) rather than relying on the fallback.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Sitemaps&lt;/strong&gt; — Hugo generates a &lt;code&gt;sitemap.xml&lt;/code&gt; automatically for every build; no theme configuration or extension (unlike Sphinx&amp;rsquo;s &lt;code&gt;sphinx_sitemap&lt;/code&gt;) is needed.&lt;/li&gt;&#10;&lt;/ul&gt;</description></item><item><title>Static assets</title><link>https://saltstack.github.io/pydata-hugo-theme/misc/static-assets/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://saltstack.github.io/pydata-hugo-theme/misc/static-assets/</guid><description>&lt;p&gt;If you&amp;rsquo;re coming from Sphinx: this theme&amp;rsquo;s &lt;code&gt;extra_css&lt;/code&gt; param (see &lt;a href="https://saltstack.github.io/pydata-hugo-theme/theming/styling/"&gt;Styling&lt;/a&gt;&#10;) is the direct equivalent of &lt;code&gt;html_css_files&lt;/code&gt;. There&amp;rsquo;s no direct equivalent of &lt;code&gt;html_js_files&lt;/code&gt;/&lt;code&gt;app.add_js_file&lt;/code&gt; as a theme param — for custom JS, use Hugo&amp;rsquo;s own asset pipeline (&lt;a href="https://gohugo.io/hugo-pipes/introduction/" target=&amp;#34;_blank&amp;#34; rel=&amp;#34;noopener noreferrer&amp;#34;&gt;Hugo Pipes&lt;/a&gt;&#10;) at the site level: drop a script in your site&amp;rsquo;s &lt;code&gt;assets/&lt;/code&gt;, process/fingerprint it with &lt;code&gt;resources.Get&lt;/code&gt;/&lt;code&gt;fingerprint&lt;/code&gt; in a site-level partial override, and add that partial to whichever slot you want it in (e.g. &lt;code&gt;content_footer_items&lt;/code&gt;, &lt;code&gt;footer_end&lt;/code&gt;).&lt;/p&gt;</description></item></channel></rss>