<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Navigation on Example Agency</title><link>https://civic.sid.one/docs/components/navigation/</link><description>Recent content in Navigation on Example Agency</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://civic.sid.one/docs/components/navigation/index.xml" rel="self" type="application/rss+xml"/><item><title>Side navigation</title><link>https://civic.sid.one/docs/components/navigation/side-navigation/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://civic.sid.one/docs/components/navigation/side-navigation/</guid><description>&lt;h2 id="where-it-comes-from"&gt;Where it comes from&lt;/h2&gt;
&lt;p&gt;Nothing declares this menu. It is the content directory: every page under the
top-level section, ordered by &lt;code&gt;weight&lt;/code&gt;, nested exactly as the directories are.
Add a folder with an &lt;code&gt;_index.md&lt;/code&gt; and it appears.&lt;/p&gt;
&lt;p&gt;The nav is rooted at the &lt;strong&gt;top&lt;/strong&gt; of the tree rather than at the page&amp;rsquo;s parent.
Rooted at the parent, this page would list only its two siblings, and the rest
of the documentation would disappear the moment you opened a subsection.&lt;/p&gt;</description></item><item><title>Breadcrumb</title><link>https://civic.sid.one/docs/components/navigation/breadcrumb/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://civic.sid.one/docs/components/navigation/breadcrumb/</guid><description>&lt;p&gt;The trail is built from the page&amp;rsquo;s ancestors, so it needs no configuration. The
current page is a &lt;code&gt;span&lt;/code&gt; carrying &lt;code&gt;aria-current=&amp;quot;page&amp;quot;&lt;/code&gt;, never a link — a link
to the page you are on is a dead end.&lt;/p&gt;
&lt;p&gt;At the top level the breadcrumb renders nothing at all. A trail with one entry
is noise.&lt;/p&gt;
&lt;p&gt;Every trail also emits schema.org &lt;code&gt;BreadcrumbList&lt;/code&gt; metadata, which costs nothing
at render time and is what produces the trail shown under a search result. Turn
it off with:&lt;/p&gt;</description></item><item><title>In-page navigation</title><link>https://civic.sid.one/docs/components/navigation/in-page-navigation/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://civic.sid.one/docs/components/navigation/in-page-navigation/</guid><description>&lt;h2 id="turning-it-on"&gt;Turning it on&lt;/h2&gt;
&lt;p&gt;It is front matter, not a shortcode:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f7f7f7;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-yaml" data-lang="yaml"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#0550ae"&gt;in_page_nav&lt;/span&gt;&lt;span style="color:#1f2328"&gt;:&lt;/span&gt;&lt;span style="color:#fff"&gt; &lt;/span&gt;&lt;span style="color:#cf222e"&gt;true&lt;/span&gt;&lt;span style="color:#fff"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#0550ae"&gt;in_page_nav_headings&lt;/span&gt;&lt;span style="color:#1f2328"&gt;:&lt;/span&gt;&lt;span style="color:#fff"&gt; &lt;/span&gt;&lt;span style="color:#0a3069"&gt;&amp;#34;h2&amp;#34;&lt;/span&gt;&lt;span style="color:#fff"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;A shortcode can only render inside &lt;code&gt;main&lt;/code&gt;, and this component has to be a
sibling of &lt;code&gt;main&lt;/code&gt; for the two to lay out side by side. Front matter is the only
place the decision can be made in time.&lt;/p&gt;
&lt;h2 id="choosing-which-headings"&gt;Choosing which headings&lt;/h2&gt;
&lt;p&gt;USWDS scans &lt;code&gt;h2&lt;/code&gt; and &lt;code&gt;h3&lt;/code&gt; by default, which sweeps up headings that belong to
&lt;em&gt;components&lt;/em&gt; — a summary box&amp;rsquo;s &lt;code&gt;h3&lt;/code&gt; shows up as if it were a section of the
document. On a page using components, narrow it to &lt;code&gt;h2&lt;/code&gt;.&lt;/p&gt;</description></item></channel></rss>