<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Contributing on Ananke Documentation</title><link>/contributing/</link><description>Recent content in Contributing on Ananke Documentation</description><generator>Hugo</generator><language>en-gb</language><lastBuildDate>Sat, 06 Jun 2026 08:00:00 +0700</lastBuildDate><atom:link href="/contributing/index.xml" rel="self" type="application/rss+xml"/><item><title>Documentation Style</title><link>/contributing/documentation-style/</link><pubDate>Sat, 06 Jun 2026 08:00:00 +0700</pubDate><guid>/contributing/documentation-style/</guid><description>&lt;ul&gt;
&lt;li&gt;&lt;a href="#principles"&gt;Principles&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#examples"&gt;Examples&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#configuration-paths"&gt;Configuration paths&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#parameter-names"&gt;Parameter names&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#defaults-before-overrides"&gt;Defaults before overrides&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These rules keep Ananke&amp;rsquo;s documentation beginner-friendly and consistent. Follow
them when adding or editing pages.&lt;/p&gt;
&lt;h2 id="principles"&gt;Principles
 &lt;a class="heading-anchor" href="#principles" aria-label="Link to this section"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Use simple language.&lt;/strong&gt; Write for someone new to Hugo. Avoid jargon, or
explain it the first time.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Do not assume Hugo knowledge.&lt;/strong&gt; Do not rely on the reader knowing Hugo&amp;rsquo;s
template lookup order, configuration merging, or section rules — link to the
relevant explanation instead.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Avoid undocumented magic values.&lt;/strong&gt; If a value matters (a class name, a slug,
a path), say where it comes from and what valid values look like.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="examples"&gt;Examples
 &lt;a class="heading-anchor" href="#examples" aria-label="Link to this section"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Prefer full examples over fragments.&lt;/strong&gt; A reader should be able to copy an
example and have it work, not assemble it from pieces.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Always say where a file goes.&lt;/strong&gt; Start every code block that represents a
file with a comment naming its path, for example
&lt;code&gt;# config/_default/params.toml&lt;/code&gt; or a &lt;code&gt;+++&lt;/code&gt; front matter block.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Use TOML first.&lt;/strong&gt; TOML is the default example format. YAML and JSON are
optional follow-up examples, not required.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;State the expected result.&lt;/strong&gt; After an example, briefly describe what the
reader should see once they apply it.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="configuration-paths"&gt;Configuration paths
 &lt;a class="heading-anchor" href="#configuration-paths" aria-label="Link to this section"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Say whether an example is site configuration or page front matter.&lt;/li&gt;
&lt;li&gt;When installation method matters, say whether the example is for Hugo Modules
or Git submodules.&lt;/li&gt;
&lt;li&gt;Use the current module path &lt;code&gt;github.com/gohugo-ananke/ananke/v2&lt;/code&gt; in
installation examples.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="parameter-names"&gt;Parameter names
 &lt;a class="heading-anchor" href="#parameter-names" aria-label="Link to this section"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Use the current &lt;code&gt;[ananke]&lt;/code&gt; parameter namespace (for example
&lt;code&gt;ananke.show_recent_posts&lt;/code&gt;). Document any legacy flat parameter only as a
deprecation note, never as the recommended form.&lt;/li&gt;
&lt;li&gt;Verify a parameter against the theme before documenting it, rather than
copying it from an older page.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="defaults-before-overrides"&gt;Defaults before overrides
 &lt;a class="heading-anchor" href="#defaults-before-overrides" aria-label="Link to this section"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Explain a feature&amp;rsquo;s &lt;strong&gt;default&lt;/strong&gt; behaviour first, then how to override it.&lt;/li&gt;
&lt;li&gt;Make clear when a setting is optional and what happens if it is omitted.&lt;/li&gt;
&lt;li&gt;Keep guidance consistent across pages — if two pages mention the same setting,
they should agree and, where useful, link to one canonical explanation.&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Layout Map</title><link>/contributing/layout-map/</link><pubDate>Sat, 06 Jun 2026 08:00:00 +0700</pubDate><guid>/contributing/layout-map/</guid><description>&lt;ul&gt;
&lt;li&gt;&lt;a href="#which-template-renders-which-page"&gt;Which template renders which page&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#the-base-template"&gt;The base template&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#important-partials"&gt;Important partials&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#shortcodes"&gt;Shortcodes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#overriding-any-of-these"&gt;Overriding any of these&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This page maps Ananke&amp;rsquo;s templates to the pages they render. It is aimed at
contributors and advanced users who want to find the right file quickly.&lt;/p&gt;
&lt;h2 id="which-template-renders-which-page"&gt;Which template renders which page
 &lt;a class="heading-anchor" href="#which-template-renders-which-page" aria-label="Link to this section"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Page type&lt;/th&gt;
 &lt;th&gt;Template&lt;/th&gt;
 &lt;th&gt;Example URL&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;Homepage&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;layouts/home.html&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;/&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Section list&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;layouts/list.html&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;/posts/&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Single page or post&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;layouts/single.html&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;/about/&lt;/code&gt;, &lt;code&gt;/posts/my-post/&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Taxonomy list (a term)&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;layouts/taxonomy.html&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;/tags/hugo/&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Taxonomy terms index&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;layouts/terms.html&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;/tags/&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Not found&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;layouts/404.html&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;any missing URL&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Summaries on list pages and the homepage are rendered by
&lt;code&gt;layouts/summary-with-image.html&lt;/code&gt; (and &lt;code&gt;layouts/summary.html&lt;/code&gt;).&lt;/p&gt;</description></item></channel></rss>