<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xml:base="/index.xml" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Magnet Docs</title>
    <link>https://83h3m07h.codeberg.page/go-magnet-docs/</link>
    <description></description>
    <language>en-us</language>
    <generator>magnet v1.2.0</generator>
    
    <item>
        <title>Your Site Settings</title>
        <description><![CDATA[<p>You&rsquo;ll see a &ldquo;site.yaml&rdquo; file at the root of the magnet directory. See more about the <a href="/post/site-structure/">site structure here</a>.</p>
<p>You&rsquo;ll also see &ldquo;posts.yaml&rdquo; files inside directories where posts live.</p>
<p>Try this, stop the &ldquo;go-magnet show&rdquo; command, open the &ldquo;site.yaml&rdquo; file and change the &ldquo;pagesize: 5&rdquo; line to &ldquo;pagesize: 20&rdquo;.</p>
<p>Restart go-magnet. You need to restart because this is a change that effects metadata and indices.</p>
<p>You&rsquo;ll see that the number of posts shown on a single page has changed.</p>
]]></description>
        <link>https://83h3m07h.codeberg.page/go-magnet-docs/post/adjust-settings/</link>
        <pubDate>Tue, 24 Feb 2026 10:00:00 +0000</pubDate>
        <guid isPermaLink="true">https://83h3m07h.codeberg.page/go-magnet-docs/post/adjust-settings/</guid>
    </item>
    
    <item>
        <title>Custom Pages</title>
        <description><![CDATA[<p>However markdown may be too restrictive &mdash; sometimes you may need a custom page instead of a post. <a href="/s/about/">See the &ldquo;about&rdquo; page</a>. The file for &ldquo;about&rdquo; lives in the &ldquo;templates&rdquo; directory instead of one of the markdown directories. In Site Settings you&rsquo;ll see &ldquo;custompages: about&rdquo;, which tells Magnet to look for an &ldquo;about.html&rdquo; file in templates. If you want to add a new custom page, add a <em>name</em> there and a &ldquo;name.html&rdquo; in &ldquo;templates&rdquo;. The content for the about page looks like:</p>
<pre><code>{{define &quot;content&quot;}}

&lt;h1&gt;Some Custom page&lt;/h1&gt;

&lt;h2&gt;Thing&lt;/h2&gt;

This is a custom page. Some more text.

{{end}}
</code></pre>
<p><em>Custom pages are written in HTML, not markdown</em>.</p>
<p>See the &ldquo;define&rdquo; part? That puts the content inside the layout template.</p>
<p>Create a new custom page &mdash; copy the &ldquo;about.html&rdquo; page and name it &ldquo;contact.html&rdquo;. Change the Site Settings &ldquo;site.yaml&rdquo; line from</p>
<pre><code>custom-pages: [about]
</code></pre>
<p>to</p>
<pre><code>custompages: [about, contact]
</code></pre>
<p>These pages <em>are not</em> posts, they don&rsquo;t end up in the blogroll or the archive, they are indepedent and you&rsquo;ll have to call them out in your templates.</p>
]]></description>
        <link>https://83h3m07h.codeberg.page/go-magnet-docs/post/custom-pages/</link>
        <pubDate>Wed, 18 Feb 2026 10:00:00 +0000</pubDate>
        <guid isPermaLink="true">https://83h3m07h.codeberg.page/go-magnet-docs/post/custom-pages/</guid>
    </item>
    
    <item>
        <title>Archive And Blogroll</title>
        <description><![CDATA[<p><img src="https://83h3m07h.codeberg.page/go-magnet-docs/images/columbo-2.jpg" alt=""></p>
<p>The markdown for this post lives in the &ldquo;more-posts&rdquo; directory. If the &ldquo;posts.yaml&rdquo; file there is changed to say</p>
<pre><code>skip-archive: true
</code></pre>
<p>when you click on the <a href="/archive/">archive link</a>, you&rsquo;ll see the other posts there <em>but not this one</em>.</p>
<p>Likewise, setting</p>
<pre><code>skip-blog-roll: true
</code></pre>
<p>in &ldquo;more-posts/posts.yaml&rdquo; would exclude any post in that directory from the blogroll, for instance.</p>
]]></description>
        <link>https://83h3m07h.codeberg.page/go-magnet-docs/post/archive-blogroll/</link>
        <pubDate>Tue, 17 Feb 2026 10:00:00 +0000</pubDate>
        <guid isPermaLink="true">https://83h3m07h.codeberg.page/go-magnet-docs/post/archive-blogroll/</guid>
    </item>
    
</channel>
</rss>
