<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Shortcodes on Ananke Documentation</title><link>https://gohugo-ananke.github.io/documentation/content/shortcodes/</link><description>Recent content in Shortcodes on Ananke Documentation</description><generator>Hugo</generator><language>en-gb</language><lastBuildDate>Sun, 07 Jun 2026 08:00:00 +0700</lastBuildDate><atom:link href="https://gohugo-ananke.github.io/documentation/content/shortcodes/index.xml" rel="self" type="application/rss+xml"/><item><title>Contact form</title><link>https://gohugo-ananke.github.io/documentation/content/shortcodes/contact-form/</link><pubDate>Sat, 06 Jun 2026 08:00:00 +0700</pubDate><guid>https://gohugo-ananke.github.io/documentation/content/shortcodes/contact-form/</guid><description>&lt;p&gt;Ananke includes a &lt;code&gt;form-contact&lt;/code&gt; shortcode that renders a ready-styled contact&#10;form you can drop into any page.&lt;/p&gt;&#10;&lt;h2 id="what-it-outputs"&#10; class="heading-permalink"&#10;&gt;What it outputs&#10; &lt;a class="heading-anchor" href="#what-it-outputs" aria-label="Link to this section"&gt;#&lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;p&gt;The shortcode outputs an HTML &lt;code&gt;&amp;lt;form&amp;gt;&lt;/code&gt; with name, email, and message fields and a submit button, styled to match the theme. Each field uses a native label. The email field also announces the email requirement as its accessible description. It submits with &lt;code&gt;POST&lt;/code&gt; to the address you give in the &lt;code&gt;action&lt;/code&gt; parameter.&lt;/p&gt;</description></item><item><title>Edit page</title><link>https://gohugo-ananke.github.io/documentation/content/shortcodes/edit-page/</link><pubDate>Sun, 07 Jun 2026 08:00:00 +0700</pubDate><guid>https://gohugo-ananke.github.io/documentation/content/shortcodes/edit-page/</guid><description>&lt;a class="f6 link dim br2 ba bw1 ph3 pv2 mb2 dib navy" href="https://github.com/gohugo-ananke/ananke/releases/tag/v2.19.0" target="_blank" rel="noopener"&gt;&#10; since 2.19.0&#10; &lt;/a&gt;&#10;&lt;p&gt;The &lt;code&gt;edit-page&lt;/code&gt; shortcode renders a link to the GitHub editor for the source file of the current page. It is the &amp;ldquo;Improve this page on GitHub&amp;rdquo; link that documentation sites often put at the foot of a page.&lt;/p&gt;&#10;&lt;p&gt;The link uses GitHub&amp;rsquo;s &lt;code&gt;/edit/&lt;/code&gt; address. Readers with write access open the file in the editor. GitHub offers all other readers its &amp;ldquo;fork this repository and propose changes&amp;rdquo; flow, so outside contributors need no extra setup.&lt;/p&gt;</description></item><item><title>Since</title><link>https://gohugo-ananke.github.io/documentation/content/shortcodes/since/</link><pubDate>Sun, 07 Jun 2026 08:00:00 +0700</pubDate><guid>https://gohugo-ananke.github.io/documentation/content/shortcodes/since/</guid><description>&lt;a class="f6 link dim br2 ba bw1 ph3 pv2 mb2 dib navy" href="https://github.com/gohugo-ananke/ananke/releases/tag/v2.18.0" target="_blank" rel="noopener"&gt;&#10; since 2.18.0&#10; &lt;/a&gt;&#10;&lt;p&gt;The &lt;code&gt;since&lt;/code&gt; shortcode renders a small badge with the release that introduced a feature, for example &amp;ldquo;since 2.17.0&amp;rdquo;. Use it on documentation and changelog pages. The badge is plain text unless you configure a release address; then it is a link to the release.&lt;/p&gt;&#10;&lt;!-- markdownlint-disable-next-line MD033 --&gt;&#10;&lt;p&gt;&lt;span id="quick-summary"&gt;&lt;/span&gt;&lt;span id="syntax-overview"&gt;&lt;/span&gt;&lt;span id="positional-options"&gt;&lt;/span&gt;&lt;span id="named-options"&gt;&lt;/span&gt;&lt;span id="usage-rules"&gt;&lt;/span&gt;&lt;span id="intended-use"&gt;&lt;/span&gt;&lt;span id="basic-examples"&gt;&lt;/span&gt;&lt;span id="basic-positional-example"&gt;&lt;/span&gt;&lt;span id="basic-named-example"&gt;&lt;/span&gt;&lt;span id="example-catalogue"&gt;&lt;/span&gt;&lt;span id="minimal-usage"&gt;&lt;/span&gt;&lt;span id="with-page-front-matter"&gt;&lt;/span&gt;&lt;span id="common-mistake-mixing-positional-and-named-options"&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;h2 id="syntax"&#10; class="heading-permalink"&#10;&gt;Syntax&#10; &lt;a class="heading-anchor" href="#syntax" aria-label="Link to this section"&gt;#&lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;div class="code-block"&gt;&#10; &lt;div class="code-block-header"&gt;&#10; &lt;span class="code-language"&gt;go-html-template&lt;/span&gt;&#10; &lt;button class="code-copy" type="button" aria-label="Copy code to clipboard" hidden&gt;&#10; &lt;span class="code-copy-label" aria-hidden="true"&gt;Copy&lt;/span&gt;&#10; &lt;/button&gt;&#10; &lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-go-html-template" data-lang="go-html-template"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="cp"&gt;{{&lt;/span&gt;&lt;span class="err"&gt;&amp;lt;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;since&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s"&gt;&amp;#34;2.17.0&amp;#34;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;&amp;gt;&lt;/span&gt;&lt;span class="cp"&gt;}}&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="cp"&gt;{{&lt;/span&gt;&lt;span class="err"&gt;&amp;lt;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;since&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;version&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;&amp;#34;2.17.0&amp;#34;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;&amp;gt;&lt;/span&gt;&lt;span class="cp"&gt;}}&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="cp"&gt;{{&lt;/span&gt;&lt;span class="err"&gt;&amp;lt;&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;since&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;&amp;gt;&lt;/span&gt;&lt;span class="cp"&gt;}}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;Without an argument, the shortcode uses the page&amp;rsquo;s &lt;code&gt;since&lt;/code&gt; front matter value. Use positional or named arguments; Hugo stops the build if one call mixes both.&lt;/p&gt;</description></item></channel></rss>