<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>This Site on JM's Site</title><link>/thissite/</link><description>Recent content in This Site on JM's Site</description><generator>Hugo</generator><language>en-us</language><atom:link href="/thissite/index.xml" rel="self" type="application/rss+xml"/><item><title>How Dates Work on This Site</title><link>/thissite/dates/</link><pubDate>Fri, 03 Apr 2026 00:00:00 +0000</pubDate><guid>/thissite/dates/</guid><description>&lt;p&gt;Every page on this site has two dates: &lt;strong&gt;Created&lt;/strong&gt; and &lt;strong&gt;Updated&lt;/strong&gt;.
Neither one is maintained by hand. Here&amp;rsquo;s the full flow.&lt;/p&gt;
&lt;h2 id="creating-a-new-page"&gt;Creating a new page&lt;/h2&gt;
&lt;p&gt;New content is created with the &lt;code&gt;new.sh&lt;/code&gt; script:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;./scripts/new.sh content/thissite/my-page.md
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This sources &lt;code&gt;.env&lt;/code&gt; for &lt;code&gt;HUGO_IMAGE&lt;/code&gt; and &lt;code&gt;SITE_DIR&lt;/code&gt;, then runs
&lt;code&gt;hugo new&lt;/code&gt; inside the Docker container.&lt;/p&gt;
&lt;p&gt;Hugo reads the archetype template at &lt;code&gt;archetypes/default.md&lt;/code&gt;:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-yaml" data-lang="yaml"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="l"&gt;+++&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="l"&gt;date = &amp;#39;{{ .Date }}&amp;#39;&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="l"&gt;draft = true&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="l"&gt;title = &amp;#39;{{ replace .File.ContentBaseName &amp;#34;-&amp;#34; &amp;#34; &amp;#34; | title }}&amp;#39;&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="l"&gt;tags = []&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="l"&gt;+++&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;At creation time, Hugo substitutes &lt;code&gt;{{ .Date }}&lt;/code&gt; with the current
timestamp and writes it into the new file&amp;rsquo;s front matter. The result
looks like:&lt;/p&gt;</description></item><item><title>Date Test</title><link>/thissite/date-test/</link><pubDate>Sun, 01 Mar 2026 10:00:00 +0000</pubDate><guid>/thissite/date-test/</guid><description>&lt;p&gt;This page was created on March 1, 2026. If the dates are working
correctly, you should see a different &amp;ldquo;Updated&amp;rdquo; date — the date
of the most recent git commit that touched this file.&lt;/p&gt;
&lt;p&gt;(Edited on April 3 to verify the updated date changes.)&lt;/p&gt;</description></item></channel></rss>