<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Customization on OINK</title>
    <link>https://oink.pgsty.com/v1.8/docs/customize/</link>
    <description>Recent content in Customization on OINK</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    
    
    
      <lastBuildDate>Sat, 05 Dec 2026 19:25:20 +0800</lastBuildDate>
    
    
      <atom:link href="https://oink.pgsty.com/v1.8/docs/customize/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
        <title>AI-agent support</title>
        <link>https://oink.pgsty.com/v1.8/docs/customize/agents/</link>
        
        
        
        <guid>https://oink.pgsty.com/v1.8/docs/customize/agents/</guid>
        <description>&lt;p&gt;More and more of your readers arrive through a language model: a coding agent&#xA;looking up an option, or a person pasting a page into a chat to ask about it.&#xA;An HTML page is a poor source for them, because the sidebar, scripts and&#xA;styles have to be stripped away before the content appears, and what survives&#xA;is a lossy copy. OINK can publish the same content as plain Markdown instead,&#xA;so a model reads exactly what you wrote and spends its context on the content.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Print</title>
        <link>https://oink.pgsty.com/v1.8/docs/customize/print/</link>
        
        
        
        <guid>https://oink.pgsty.com/v1.8/docs/customize/print/</guid>
        <description>&lt;p&gt;Documentation ends up on paper more often than you might expect: a runbook&#xA;taken into a server room with no network, a chapter handed out at a training,&#xA;a PDF attached to a change request. Any single page already prints cleanly&#xA;with the browser&amp;rsquo;s &lt;code&gt;Cmd/Ctrl+P&lt;/code&gt;: the navbar, sidebar, outline and buttons&#xA;carry Bootstrap&amp;rsquo;s &lt;code&gt;d-print-none&lt;/code&gt; class and stay off the paper, so the theme&#xA;needs no &amp;ldquo;print this page&amp;rdquo; button. For a whole section or book, turn on the&#xA;&lt;code&gt;print&lt;/code&gt; output format. Every section then gets a print view that joins its&#xA;pages, in sidebar order, into one document with a table of contents, ready to&#xA;print or save as a PDF.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Repository links and page info</title>
        <link>https://oink.pgsty.com/v1.8/docs/customize/repository/</link>
        
        
        
        <guid>https://oink.pgsty.com/v1.8/docs/customize/repository/</guid>
        <description>&lt;p&gt;A reader who spots a mistake should be one click away from fixing it, and a&#xA;reader who lands on a page should be able to tell how current it is. Point&#xA;OINK at the GitHub repository that holds your content, and the page action&#xA;menu at the right of the breadcrumb row gains Edit this page, View edit&#xA;history and issue links, while the end of each page shows when it last changed&#xA;and in which commit.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Taxonomies</title>
        <link>https://oink.pgsty.com/v1.8/docs/customize/taxonomy/</link>
        
        
        
        <guid>https://oink.pgsty.com/v1.8/docs/customize/taxonomy/</guid>
        <description>&lt;p&gt;The directory tree gives each page one place; tags and categories give it more.&#xA;A PostgreSQL backup guide can live under &amp;ldquo;Operations&amp;rdquo; and still be one click&#xA;away from the &amp;ldquo;backup&amp;rdquo; tag, so readers who think in topics rather than in your&#xA;folder structure find it too. Declare the taxonomies in &lt;code&gt;hugo.yml&lt;/code&gt; and tag your&#xA;pages; OINK generates the term pages, the term cards, the clouds in the right&#xA;rail and the navbar panel without a template of your own.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Versions</title>
        <link>https://oink.pgsty.com/v1.8/docs/customize/versions/</link>
        
        
        
        <guid>https://oink.pgsty.com/v1.8/docs/customize/versions/</guid>
        <description>&lt;p&gt;A site needs versioned documentation when readers run different releases of&#xA;your product at the same time and those releases differ in ways a reader acts&#xA;on: commands, configuration keys, defaults. If most readers can move to the&#xA;latest release, or old releases differ only in fixed bugs, keep one site and&#xA;mark the exceptions in the text; a single site is easier to maintain and to&#xA;search.&lt;/p&gt;&#xA;&lt;p&gt;OINK treats each version as a separate site: its own Hugo build, usually from&#xA;its own Git branch or tag, published at its own address. The theme connects&#xA;those sites with a version menu in the navbar and an archive banner on the&#xA;versions you no longer maintain.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Languages</title>
        <link>https://oink.pgsty.com/v1.8/docs/customize/i18n/</link>
        
        
        
        <guid>https://oink.pgsty.com/v1.8/docs/customize/i18n/</guid>
        <description>&lt;p&gt;OINK uses Hugo&amp;rsquo;s multilingual model as it is: a &lt;code&gt;languages&lt;/code&gt; block in&#xA;&lt;code&gt;hugo.yml&lt;/code&gt;, and each translation saved beside its original with a language&#xA;suffix. Adding a language touches five places: the configuration, the&#xA;translated pages, the menus, the home page data and, only if you want to&#xA;reword them, the theme&amp;rsquo;s interface strings. The language picker, &lt;code&gt;hreflang&lt;/code&gt;&#xA;links and per-language search follow from those without further setup.&lt;/p&gt;&#xA;&lt;h2 id=&#34;enable&#34;&gt;Enable a second language&#xA;&lt;/h2&gt;&#xA;&lt;div class=&#34;td-code td-code--titled&#34; id=&#34;td-code-22f0a6ce-fence-0&#34; data-td-code data-td-code-auto-id&#xA;     data-td-language=&#34;yaml&#34; data-td-line-count=&#34;19&#34; role=&#34;group&#34; aria-labelledby=&#34;td-code-22f0a6ce-fence-0-title&#34;&gt;&#xA;  &lt;div class=&#34;td-code__header&#34;&gt;&#xA;    &lt;span class=&#34;td-code__filename&#34; id=&#34;td-code-22f0a6ce-fence-0-title&#34; title=&#34;hugo.yml&#34;&gt;hugo.yml&lt;/span&gt;&lt;/div&gt;&#xA;  &lt;div class=&#34;td-code__viewport&#34; id=&#34;td-code-22f0a6ce-fence-0-viewport&#34; data-td-code-viewport&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-yaml&#34; data-lang=&#34;yaml&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nt&#34;&gt;defaultContentLanguage&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;en&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nt&#34;&gt;languages&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;  &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;en&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;label&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;English&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;locale&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;en-US&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;weight&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;m&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;title&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;Acme DB Docs&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;params&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;      &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;description&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;Documentation for the Acme DB time-series database&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;  &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;zh&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;label&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;简体中文&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;locale&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;zh-CN&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;weight&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;m&#34;&gt;2&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;title&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;Acme DB 文档&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;params&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;      &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;description&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;Acme DB 时序数据库文档&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;      &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;time_format_default&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;2006年1月2日&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;      &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;time_format_blog&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;2006年1月2日&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;label&lt;/code&gt; is the name in the language picker, written in that language:&#xA;&lt;code&gt;简体中文&lt;/code&gt;, not &lt;code&gt;Chinese&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;locale&lt;/code&gt; is the standard language tag used for &lt;code&gt;&amp;lt;html lang&amp;gt;&lt;/code&gt;, the&#xA;&lt;code&gt;hreflang&lt;/code&gt; alternate links and Open Graph metadata.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;weight&lt;/code&gt; orders the languages, lowest first, in the picker and in its&#xA;one-click cycle.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;params&lt;/code&gt; overrides site parameters for this language; any key not set here&#xA;keeps the global value. Date formats usually need a per-language value.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The default language is served without a path prefix (English at &lt;code&gt;/docs/…&lt;/code&gt;)&#xA;and every other language under its own (Chinese at &lt;code&gt;/zh/docs/…&lt;/code&gt;). To prefix&#xA;the default language too, add &lt;code&gt;defaultContentLanguageInSubdir: true&lt;/code&gt;; on a&#xA;live site this changes every URL, so set up redirects at the same time.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Keyboard navigation</title>
        <link>https://oink.pgsty.com/v1.8/docs/customize/keyboard/</link>
        
        
        
        <guid>https://oink.pgsty.com/v1.8/docs/customize/keyboard/</guid>
        <description>&lt;p&gt;Your readers can work through your documentation without reaching for the&#xA;mouse: every interactive OINK page answers twenty-nine single-key shortcuts, ten&#xA;for moving around, nine for acting on the page and ten for changing the view.&#xA;Press &lt;span class=&#34;td-kbd-sequence&#34;&gt;&lt;kbd&gt;&amp;#39;&lt;/kbd&gt;&lt;/span&gt; on any page to see all twenty-nine; keys the current page&#xA;cannot use are dimmed. Shortcuts are on by default, step aside whenever the&#xA;reader is typing, and can be &lt;a href=&#34;https://oink.pgsty.com/v1.8/docs/customize/keyboard/#disable&#34;&gt;turned off&lt;/a&gt; for a site or a page.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Command palette</title>
        <link>https://oink.pgsty.com/v1.8/docs/customize/panel/</link>
        
        
        
        <guid>https://oink.pgsty.com/v1.8/docs/customize/panel/</guid>
        <description>&lt;p&gt;The command palette provides one modal dialog for page search and site actions.&#xA;Use it to copy page Markdown, switch language or version, and open site links.&#xA;The theme assembles it with local search. If &lt;code&gt;params.offline_search&lt;/code&gt; is off,&#xA;the page has no palette, index, or search engine. See &lt;a href=&#34;https://oink.pgsty.com/v1.8/docs/customize/search/&#34;&gt;Search&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;open&#34;&gt;Opening the palette&#xA;&lt;/h2&gt;&#xA;&lt;div class=&#34;td-table-scroll td-table-scroll--static&#34;&gt;&#xA;&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;th scope=&#34;col&#34;&gt;How to open it&lt;/th&gt;&#xA;      &lt;th scope=&#34;col&#34;&gt;What opens&lt;/th&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Click the search box in the navbar or sidebar&lt;/td&gt;&#xA;      &lt;td&gt;Full search mode&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;kbd&gt;⌘&lt;/kbd&gt; / &lt;kbd&gt;Ctrl&lt;/kbd&gt; + &lt;kbd&gt;K&lt;/kbd&gt;&lt;/td&gt;&#xA;      &lt;td&gt;Full search mode. Press again to close&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;kbd&gt;/&lt;/kbd&gt;&lt;/td&gt;&#xA;      &lt;td&gt;Full search mode&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;kbd&gt;\&lt;/kbd&gt;&lt;/td&gt;&#xA;      &lt;td&gt;Command-only mode (equivalent to a prefilled &lt;code&gt;&amp;gt;&lt;/code&gt;)&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;kbd&gt;f&lt;/kbd&gt; / &lt;kbd&gt;c&lt;/kbd&gt;&lt;/td&gt;&#xA;      &lt;td&gt;The same two, provided by &lt;a href=&#34;https://oink.pgsty.com/v1.8/docs/customize/keyboard/&#34;&gt;keyboard navigation&lt;/a&gt;&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Typing a query beginning with &lt;code&gt;&amp;gt;&lt;/code&gt; in the box&lt;/td&gt;&#xA;      &lt;td&gt;Command-only mode&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&#xA;&lt;p&gt;On layouts where &lt;kbd&gt;\&lt;/kbd&gt; is hard to reach, use &lt;kbd&gt;c&lt;/kbd&gt;&#xA;or type &lt;code&gt;&amp;gt;&lt;/code&gt; instead.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Search</title>
        <link>https://oink.pgsty.com/v1.8/docs/customize/search/</link>
        
        
        
        <guid>https://oink.pgsty.com/v1.8/docs/customize/search/</guid>
        <description>&lt;p&gt;OINK&amp;rsquo;s search runs entirely in the reader&amp;rsquo;s browser. Hugo writes one JSON index&#xA;per language at build time, the browser downloads it on the first search, and&#xA;every query is answered locally, so there is no crawler, account, CDN or search&#xA;service to set up, and queries never leave the page. Search is off by default;&#xA;one line turns it on.&lt;/p&gt;&#xA;&lt;p&gt;Readers search from the command palette;&#xA;&lt;a href=&#34;https://oink.pgsty.com/v1.8/docs/customize/panel/&#34;&gt;Command palette&lt;/a&gt; covers how they open it and what else&#xA;it offers.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Layouts and page types</title>
        <link>https://oink.pgsty.com/v1.8/docs/customize/layout/</link>
        
        
        
        <guid>https://oink.pgsty.com/v1.8/docs/customize/layout/</guid>
        <description>&lt;p&gt;Every page renders in a shell: the reading shell, with a sidebar on the left&#xA;and an outline on the right, or a plain single column. The page&amp;rsquo;s &lt;code&gt;type&lt;/code&gt;&#xA;chooses the shell, not the folder it lives in, so documentation can sit&#xA;anywhere under &lt;code&gt;content/&lt;/code&gt;. To give an operations handbook in&#xA;&lt;code&gt;content/handbook/&lt;/code&gt; the documentation shell, set the type on its section and&#xA;cascade it to every page below:&lt;/p&gt;&#xA;&lt;div class=&#34;td-code td-code--titled&#34; id=&#34;td-code-d4af317d-fence-0&#34; data-td-code data-td-code-auto-id&#xA;     data-td-language=&#34;yaml&#34; data-td-line-count=&#34;6&#34; role=&#34;group&#34; aria-labelledby=&#34;td-code-d4af317d-fence-0-title&#34;&gt;&#xA;  &lt;div class=&#34;td-code__header&#34;&gt;&#xA;    &lt;span class=&#34;td-code__filename&#34; id=&#34;td-code-d4af317d-fence-0-title&#34; title=&#34;content/handbook/_index.md&#34;&gt;content/handbook/_index.md&lt;/span&gt;&lt;/div&gt;&#xA;  &lt;div class=&#34;td-code__viewport&#34; id=&#34;td-code-d4af317d-fence-0-viewport&#34; data-td-code-viewport&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-yaml&#34; data-lang=&#34;yaml&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nn&#34;&gt;---&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nt&#34;&gt;title&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;Operations handbook&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nt&#34;&gt;type&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;docs&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nt&#34;&gt;cascade&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;  &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;type&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;docs&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nn&#34;&gt;---&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;Where content goes and how the sidebar tree follows the folders is covered in&#xA;&lt;a href=&#34;https://oink.pgsty.com/v1.8/docs/write/organize/&#34;&gt;Organizing content&lt;/a&gt;; this page covers the shell around&#xA;it.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Navigation and menus</title>
        <link>https://oink.pgsty.com/v1.8/docs/customize/navigation/</link>
        
        
        
        <guid>https://oink.pgsty.com/v1.8/docs/customize/navigation/</guid>
        <description>&lt;p&gt;The menu across the top of every page is the map of your site: the handful of&#xA;places, such as Docs, Blog and Download, that a reader should reach from&#xA;anywhere. You write it once per language in &lt;code&gt;hugo.yml&lt;/code&gt;. The other ways of&#xA;moving around (the section switcher at the top of the sidebar, breadcrumbs,&#xA;previous and next links, backlinks) follow from your content tree, so you&#xA;adjust them rather than build them. The sidebar tree and the page outline are&#xA;covered in &lt;a href=&#34;https://oink.pgsty.com/v1.8/docs/customize/layout/&#34;&gt;Layouts and page types&lt;/a&gt;.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Home and landing pages</title>
        <link>https://oink.pgsty.com/v1.8/docs/customize/home/</link>
        
        
        
        <guid>https://oink.pgsty.com/v1.8/docs/customize/home/</guid>
        <description>&lt;p&gt;An OINK home page is data, not a template. &lt;code&gt;data/home/&amp;lt;language&amp;gt;.yaml&lt;/code&gt; lists&#xA;the sections from top to bottom (a hero, a grid of cards, pricing, a closing&#xA;call to action) and holds the content of each, so you change the page by&#xA;editing YAML and never touch HTML. Any other page can use the same sections as&#xA;a &lt;a href=&#34;https://oink.pgsty.com/v1.8/docs/customize/home/#landing-page&#34;&gt;landing page&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;minimal&#34;&gt;Edit the Starter&amp;rsquo;s home page&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;The &lt;a href=&#34;https://oink.pgsty.com/v1.8/docs/start/&#34;&gt;OINK Starter&lt;/a&gt; ships a three-section home page in&#xA;&lt;code&gt;data/home/en.yaml&lt;/code&gt;. Replace the text and links with your own and the browser&#xA;reloads with the result:&lt;/p&gt;</description>
      </item>
    <item>
        <title>Brand and appearance</title>
        <link>https://oink.pgsty.com/v1.8/docs/customize/brand/</link>
        
        
        
        <guid>https://oink.pgsty.com/v1.8/docs/customize/brand/</guid>
        <description>&lt;p&gt;A site starts to look like your own once it carries your name, your logo and&#xA;your color. All three are settings in &lt;code&gt;hugo.yml&lt;/code&gt;, so a first pass at a brand is&#xA;one edit and a reload:&lt;/p&gt;&#xA;&lt;div class=&#34;td-code td-code--titled&#34; id=&#34;td-code-e1bcfc21-fence-0&#34; data-td-code data-td-code-auto-id&#xA;     data-td-language=&#34;yaml&#34; data-td-line-count=&#34;7&#34; role=&#34;group&#34; aria-labelledby=&#34;td-code-e1bcfc21-fence-0-title&#34;&gt;&#xA;  &lt;div class=&#34;td-code__header&#34;&gt;&#xA;    &lt;span class=&#34;td-code__filename&#34; id=&#34;td-code-e1bcfc21-fence-0-title&#34; title=&#34;hugo.yml&#34;&gt;hugo.yml&lt;/span&gt;&lt;/div&gt;&#xA;  &lt;div class=&#34;td-code__viewport&#34; id=&#34;td-code-e1bcfc21-fence-0-viewport&#34; data-td-code-viewport&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-yaml&#34; data-lang=&#34;yaml&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nt&#34;&gt;title&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;Acme DB Docs&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nt&#34;&gt;params&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;  &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;logo&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;images/acme-mark.svg&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;c&#34;&gt;# under assets/ or static/&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;  &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;ui&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;theme_color&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;#0f766e&amp;#39;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;dark_mode&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;kc&#34;&gt;true&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;Fonts, the overall look and the footer are settings too. For anything a&#xA;setting cannot reach, write plain CSS in&#xA;&lt;a href=&#34;https://oink.pgsty.com/v1.8/docs/customize/brand/#scss&#34;&gt;&lt;code&gt;assets/css/project.css&lt;/code&gt;&lt;/a&gt;, which loads after the theme&amp;rsquo;s stylesheet.&#xA;Leave the theme&amp;rsquo;s own files alone, because the next &lt;code&gt;hugo mod get&lt;/code&gt; replaces&#xA;them.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Configuration</title>
        <link>https://oink.pgsty.com/v1.8/docs/customize/config/</link>
        
        
        
        <guid>https://oink.pgsty.com/v1.8/docs/customize/config/</guid>
        <description>&lt;p&gt;Every site-wide setting OINK reads lives in &lt;code&gt;hugo.yml&lt;/code&gt; and appears in a table&#xA;on this page with its type, its default and a link to the guide that shows it&#xA;in use. The defaults are conservative: local search, image zoom, comments, page&#xA;feedback and the light/dark menu stay off until you turn them on, so your&#xA;configuration only needs the keys you want to change. There is no master&#xA;switch and no &lt;code&gt;params.oink.*&lt;/code&gt; namespace, so a key that is not on this page does&#xA;nothing. Settings for a single page are in&#xA;&lt;a href=&#34;https://oink.pgsty.com/v1.8/docs/write/frontmatter/&#34;&gt;Page parameters&lt;/a&gt;.&lt;/p&gt;</description>
      </item>
    
  </channel>
</rss>
