<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Hugo on East of the Sun, West of the Moon</title>
    <link>https://is-here.com/tags/hugo/</link>
    <description>Recent content in Hugo on East of the Sun, West of the Moon</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <copyright>Erwin Harte</copyright>
    <lastBuildDate>Sun, 28 Dec 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://is-here.com/tags/hugo/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>RSS feed fix</title>
      <link>https://is-here.com/post/2025/12/rss-feed-fix/</link>
      <pubDate>Sun, 28 Dec 2025 00:00:00 +0000</pubDate>
      
      <category>Hugo</category><category>Meta</category><comments>https://strangeweb.page/@jochie/115800891782824872</comments><guid>https://is-here.com/post/2025/12/rss-feed-fix/</guid>
      <description>
&lt;div id=&#34;outline-container-headline-1&#34; class=&#34;outline-2&#34;&gt;
&lt;h2 id=&#34;headline-1&#34;&gt;
Looks may be deceiving
&lt;/h2&gt;
&lt;div id=&#34;outline-text-headline-1&#34; class=&#34;outline-text-2&#34;&gt;
&lt;p&gt;When I set up a static website my focus around the RSS feed was that I wanted to have the full content, so once I had that, I moved on.&lt;/p&gt;
&lt;p&gt;
Today I noticed that the links back to the posts in the RSS feed (or the link for the site itself) didn&amp;#39;t actually work, they were missing the &lt;code class=&#34;verbatim&#34;&gt;https://is-here.com/&lt;/code&gt; prefix. 🤔&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id=&#34;outline-container-headline-2&#34; class=&#34;outline-2&#34;&gt;
&lt;h2 id=&#34;headline-2&#34;&gt;
Thankfully this was a simple fix
&lt;/h2&gt;
&lt;div id=&#34;outline-text-headline-2&#34; class=&#34;outline-text-2&#34;&gt;
&lt;p&gt;All that was missing was a &lt;code class=&#34;verbatim&#34;&gt;baseURL&lt;/code&gt; parameter in my &lt;code class=&#34;verbatim&#34;&gt;config.yaml&lt;/code&gt; file. It &lt;em&gt;was&lt;/em&gt; there originally, but it got lost when I migrated from the S3 bucket to &lt;a href=&#34;https://statichost.eu/&#34;&gt;statichost.eu&lt;/a&gt; and revamped my &lt;code class=&#34;verbatim&#34;&gt;config.yaml&lt;/code&gt; file.&lt;/p&gt;
&lt;p&gt;
Running the local hugo preview with &lt;code class=&#34;verbatim&#34;&gt;--baseURL http://localhost:1313/&lt;/code&gt; to override that, and all is well again in this part of the world.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
</description>
    </item>
    
    <item>
      <title>Moving to Europe</title>
      <link>https://is-here.com/post/2025/04/moving-to-europe/</link>
      <pubDate>Sun, 13 Apr 2025 00:00:00 +0000</pubDate>
      
      <category>Hugo</category><category>Mastodon</category><category>Terraform</category><comments>https://strangeweb.page/@jochie/114333655533283802</comments><guid>https://is-here.com/post/2025/04/moving-to-europe/</guid>
      <description>
&lt;div id=&#34;outline-container-headline-1&#34; class=&#34;outline-2&#34;&gt;
&lt;h2 id=&#34;headline-1&#34;&gt;
Shifting things around
&lt;/h2&gt;
&lt;div id=&#34;outline-text-headline-1&#34; class=&#34;outline-text-2&#34;&gt;
&lt;p&gt;For &lt;em&gt;reasons&lt;/em&gt;, I am slowly but surely moving most of my online resources to European providers. This has meant a journey of discovery, finding suitable ones for:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Domain registration&lt;/li&gt;
&lt;li&gt;DNS hosting&lt;/li&gt;
&lt;li&gt;Some place for a few static (placeholder) websites&lt;/li&gt;
&lt;li&gt;Virtual servers of some kind&lt;/li&gt;
&lt;li&gt;Object storage or something similar&lt;/li&gt;
&lt;li&gt;Git repository hosting&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id=&#34;outline-container-headline-2&#34; class=&#34;outline-2&#34;&gt;
&lt;h2 id=&#34;headline-2&#34;&gt;
Resources that helped
&lt;/h2&gt;
&lt;div id=&#34;outline-text-headline-2&#34; class=&#34;outline-text-2&#34;&gt;
&lt;p&gt;Most of my information has come from &lt;a href=&#34;https://european-alternatives.eu/&#34;&gt;european-alternatives.eu&lt;/a&gt;. Some test accounts were needed here and there because it isn&amp;#39;t necessarily obvious how well they may cooperate with automation tools like Terraform and how much click-ops will be required, and how well does their web UI work in that case.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id=&#34;outline-container-headline-3&#34; class=&#34;outline-2&#34;&gt;
&lt;h2 id=&#34;headline-3&#34;&gt;
Obstacles I encountered
&lt;/h2&gt;
&lt;div id=&#34;outline-text-headline-3&#34; class=&#34;outline-text-2&#34;&gt;
&lt;p&gt;There were some hiccups with getting the European companies to play nice with my US credit cards.&lt;/p&gt;
&lt;p&gt;
One disappointment was because the company (Infomaniak 🇨🇭) seems to be incapable of sending SMS to US phone numbers. Pity, because they looked promising otherwise.&lt;/p&gt;
&lt;p&gt;
Another &lt;em&gt;Nope&lt;/em&gt; was finding out that OVH 🇫🇷 pushes you to &lt;a href=&#34;https://us.ovhcloud.com/about/&#34;&gt;OVH US&lt;/a&gt; if you&amp;#39;re in the US or Canada, a &lt;em&gt;wholly owned subsidiary of OVH Group&lt;/em&gt;, defeating the purpose of going with European companies.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id=&#34;outline-container-headline-4&#34; class=&#34;outline-2&#34;&gt;
&lt;h2 id=&#34;headline-4&#34;&gt;
Choices/solutions
&lt;/h2&gt;
&lt;div id=&#34;outline-text-headline-4&#34; class=&#34;outline-text-2&#34;&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Service&lt;/th&gt;
&lt;th&gt;My Pick&lt;/th&gt;
&lt;th&gt;Based in&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Domain registration&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;https://www.openprovider.com/&#34;&gt;https://www.openprovider.com/&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;🇳🇱&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DNS&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;https://desec.io/&#34;&gt;https://desec.io/&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;🇩🇪&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Static websites&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;https://www.statichost.eu/&#34;&gt;https://www.statichost.eu/&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;🇸🇪&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Git repository hosting&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;https://codeberg.org/&#34;&gt;https://codeberg.org/&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;🇩🇪&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;
Of these, &lt;a href=&#34;https://www.statichost.eu/&#34;&gt;statichost.eu&lt;/a&gt; was a nice find, because it will let you point to a git repository (public or private), and run with it, with support for either fully static content, or one of several static site generators, and even pick a specific version to avoid surprises.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id=&#34;outline-container-headline-5&#34; class=&#34;outline-2&#34;&gt;
&lt;h2 id=&#34;headline-5&#34;&gt;
Still to do
&lt;/h2&gt;
&lt;div id=&#34;outline-text-headline-5&#34; class=&#34;outline-text-2&#34;&gt;
&lt;p&gt;That leaves virtual servers, for my self-hosted mail-server and the one-person-Mastodon instance. Most likely I&amp;#39;ll pick one of UpCloud (🇫🇮) or Scaleway (🇫🇷), after sitting down again to do a side-by-side comparison.&lt;/p&gt;
&lt;p&gt;
For object storage Scaleway seems to have a reasonably priced solution, but that also needs another look.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
</description>
    </item>
    
    <item>
      <title>Hello again, world?</title>
      <link>https://is-here.com/post/2023/11/hello-again-world/</link>
      <pubDate>Mon, 13 Nov 2023 00:00:00 +0000</pubDate>
      
      <category>Hugo</category><category>Mastodon</category><category>Meta</category><comments>https://strangeweb.page/@jochie/111407198734333719</comments><guid>https://is-here.com/post/2023/11/hello-again-world/</guid>
      <description>
&lt;div id=&#34;outline-container-headline-1&#34; class=&#34;outline-2&#34;&gt;
&lt;h2 id=&#34;headline-1&#34;&gt;
From Twitter to Mastodon
&lt;/h2&gt;
&lt;div id=&#34;outline-text-headline-1&#34; class=&#34;outline-text-2&#34;&gt;
&lt;p&gt;For many years Twitter was my main social media account. My Facebook account has not been visited in many months and Instagram has mostly been kept alive to follow some friends and family&amp;#39;s postings. Though I originally did post from time to time, the last few years it had turned mostly into a read-only account.&lt;/p&gt;
&lt;p&gt;
Then last year around the time of the change in ownership, I gave up on it and began an effort to migrate my 
&lt;em&gt;network&lt;/em&gt; to Mastodon or, more accurately the &lt;a href=&#34;https://en.wikipedia.org/wiki/Fediverse&#34;&gt;Fediverse&lt;/a&gt;. Initially at &lt;a href=&#34;https://mastodon.social/@jochie&#34;&gt;mastodon.social&lt;/a&gt;, the flagship server for the Mastodon software, with an account that I had created in May 2022 but began using in earnest in October. Later I migrated to an account on a &lt;a href=&#34;https://strangeweb.page/@jochie&#34;&gt;personal server&lt;/a&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id=&#34;outline-container-headline-2&#34; class=&#34;outline-2&#34;&gt;
&lt;h2 id=&#34;headline-2&#34;&gt;
Starting to feel an itch
&lt;/h2&gt;
&lt;div id=&#34;outline-text-headline-2&#34; class=&#34;outline-text-2&#34;&gt;
&lt;p&gt;As I was posting on my Mastodon account, I regularly found myself writing more than was going to fit in the space of the default 500 characters. Sure I could change that default (although it is a &lt;em&gt;little&lt;/em&gt; bit more work than just changing a configuration file entry), but that felt wrong. To me, the fact that I was bumping against that ceiling suggested I was looking for a different medium for those posts.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id=&#34;outline-container-headline-3&#34; class=&#34;outline-2&#34;&gt;
&lt;h2 id=&#34;headline-3&#34;&gt;
Static Site Generator to the rescue
&lt;/h2&gt;
&lt;div id=&#34;outline-text-headline-3&#34; class=&#34;outline-text-2&#34;&gt;
&lt;p&gt;While I did feel the itch to write some longer form things, the idea of running (potentially vulnerable) infrastructure for this that would need to be maintained did not appeal to me.&lt;/p&gt;
&lt;p&gt;
Comes along &lt;a href=&#34;https://en.wikipedia.org/wiki/Hugo_(software)&#34;&gt;Hugo&lt;/a&gt; (docs, themes, etc at the &lt;a href=&#34;https://gohugo.io/&#34;&gt;official website&lt;/a&gt;) which comes with a generous set of themes that can be tweaked as needed, allows me to write posts and other pages in &lt;a href=&#34;https://orgmode.org/&#34;&gt;Org Mode&lt;/a&gt; syntax, and has built-in support for deploying its output into an AWS S3 bucket.&lt;/p&gt;
&lt;p&gt;
More details on the &lt;a href=&#34;https://is-here.com/project/website/&#34;&gt;project page&lt;/a&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
</description>
    </item>
    
    <item>
      <title>Website</title>
      <link>https://is-here.com/project/website/</link>
      <pubDate>Mon, 13 Nov 2023 00:00:00 +0000</pubDate>
      
      <category>AWS</category><category>Hugo</category><category>Docker</category><guid>https://is-here.com/project/website/</guid>
      <description>
&lt;div id=&#34;outline-container-headline-1&#34; class=&#34;outline-2&#34;&gt;
&lt;h2 id=&#34;headline-1&#34;&gt;
Status
&lt;/h2&gt;
&lt;div id=&#34;outline-text-headline-1&#34; class=&#34;outline-text-2&#34;&gt;
&lt;p&gt;Active in its current form since November 2023 and its current location since March 2025.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id=&#34;outline-container-headline-2&#34; class=&#34;outline-2&#34;&gt;
&lt;h2 id=&#34;headline-2&#34;&gt;
What
&lt;/h2&gt;
&lt;div id=&#34;outline-text-headline-2&#34; class=&#34;outline-text-2&#34;&gt;
&lt;p&gt;My personal website.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id=&#34;outline-container-headline-3&#34; class=&#34;outline-2&#34;&gt;
&lt;h2 id=&#34;headline-3&#34;&gt;
Where
&lt;/h2&gt;
&lt;div id=&#34;outline-text-headline-3&#34; class=&#34;outline-text-2&#34;&gt;
&lt;p&gt;Right &lt;a href=&#34;https://is-here.com/&#34;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id=&#34;outline-container-headline-4&#34; class=&#34;outline-2&#34;&gt;
&lt;h2 id=&#34;headline-4&#34;&gt;
Content
&lt;/h2&gt;
&lt;div id=&#34;outline-text-headline-4&#34; class=&#34;outline-text-2&#34;&gt;
&lt;p&gt;Everything on here has been generated once by a so-called &lt;a href=&#34;https://en.wikipedia.org/wiki/Static_site_generator&#34;&gt;SSG&lt;/a&gt; and then dropped in place.&lt;/p&gt;
&lt;p&gt;
The content is generated with &lt;a href=&#34;https://gohugo.io/&#34;&gt;Hugo&lt;/a&gt;. I picked the &lt;a href=&#34;https://themes.gohugo.io/themes/gohugo-theme-ananke/&#34;&gt;Ananke&lt;/a&gt; theme, and made some minor modifications:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Modified the default Hugo RSS template (&lt;code class=&#34;verbatim&#34;&gt;layouts/_default/rss.xml&lt;/code&gt;):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Change the feed to include full posts instead of just the summary&lt;/li&gt;
&lt;li&gt;Add &lt;code class=&#34;verbatim&#34;&gt;&amp;lt;category&amp;gt;&lt;/code&gt; tag(s)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Copied and modified the default single (post/project) page (&lt;code class=&#34;verbatim&#34;&gt;layouts/_default/single.html&lt;/code&gt;):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Include an optional &amp;#34;Updated …&amp;#34; bit after the original post date&lt;/li&gt;
&lt;li&gt;Move the context menu (with the table of contents and related posts) before the content, which places it to the left of the text, or at the top of page instead of at the bottom in a small screen situation&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Copied and adapted the main page (&lt;code class=&#34;verbatim&#34;&gt;layouts/index.html&lt;/code&gt;) just to make the text there &lt;em&gt;not&lt;/em&gt; be centered.&lt;/li&gt;
&lt;li&gt;Copied and adapted the footer (&lt;code class=&#34;verbatim&#34;&gt;layouts/partials/site-footer.html&lt;/code&gt;) just so I could make the copyright years be a range instead of just the current year. I tried to put the beginning of the range in the &lt;code class=&#34;verbatim&#34;&gt;copyright&lt;/code&gt; configuration setting but then that ended up looking funny in the RSS source&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Beyond that, I&amp;#39;ve left the theme as-is and I&amp;#39;m taking advantage of its (and Hugo&amp;#39;s) features.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id=&#34;outline-container-headline-5&#34; class=&#34;outline-2&#34;&gt;
&lt;h2 id=&#34;headline-5&#34;&gt;
Hosting
&lt;/h2&gt;
&lt;div id=&#34;outline-text-headline-5&#34; class=&#34;outline-text-2&#34;&gt;
&lt;p&gt;Until March 2025 the static site was hosted in an &lt;a href=&#34;https://aws.amazon.com/&#34;&gt;AWS&lt;/a&gt; S3 bucket, made available through a Cloudfront distribution to make it available via &lt;code class=&#34;verbatim&#34;&gt;https&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;
At that point, I moved it to &lt;a href=&#34;https://www.statichost.eu/&#34;&gt;statichost.eu&lt;/a&gt;, which specializes in hosting SSGs, directly from Git repositories, and hosting it with &lt;code class=&#34;verbatim&#34;&gt;http&lt;/code&gt; and &lt;code class=&#34;verbatim&#34;&gt;https&lt;/code&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id=&#34;outline-container-headline-6&#34; class=&#34;outline-2&#34;&gt;
&lt;h2 id=&#34;headline-6&#34;&gt;
Keeping up with the Joneses?
&lt;/h2&gt;
&lt;div id=&#34;outline-text-headline-6&#34; class=&#34;outline-text-2&#34;&gt;
&lt;p&gt;As so often happens, I looked away for one minute (alright, closer to 4-5 months) and the version of Hugo that I get when I do a fresh install (from &lt;a href=&#34;https://brew.sh/&#34;&gt;Brew&lt;/a&gt;) is a &lt;em&gt;bit&lt;/em&gt; different than what I started with, and that is going to break some things.&lt;/p&gt;
&lt;p&gt;
To give myself a stable work environment and breathing space I decided to run the &lt;code class=&#34;verbatim&#34;&gt;hugo&lt;/code&gt; command inside a quick&amp;#39;n&amp;#39;dirty container:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;The &lt;code class=&#34;verbatim&#34;&gt;Dockerfile&lt;/code&gt;&lt;/p&gt;
&lt;div class=&#34;src src-text&#34;&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  FROM cibuilds/hugo:0.119.0
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  EXPOSE 1313&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A super simple &lt;code class=&#34;verbatim&#34;&gt;Makefile&lt;/code&gt;&lt;/p&gt;
&lt;div class=&#34;src src-text&#34;&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  hugo-docker:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          docker build --tag myhugo .
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  server-beta:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          docker-helper server --bind 0.0.0.0 --environment beta
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  server-live:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          ./docker-helper server --bind 0.0.0.0 --environment live
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  deploy-beta:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          ./docker-helper --environment beta &amp;amp;&amp;amp; ./docker-helper deploy --environment beta
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  deploy-live:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          ./docker-helper --environment live &amp;amp;&amp;amp; ./docker-helper deploy --environment live&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;And a shell script to glue it all together:&lt;/p&gt;
&lt;div class=&#34;src src-shell&#34;&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#75715e&#34;&gt;#!/bin/sh&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;[&lt;/span&gt; $# -eq &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;]&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;then&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Usage: &lt;/span&gt;$0&lt;span style=&#34;color:#e6db74&#34;&gt; &amp;lt;hugo-arguments&amp;gt;&amp;#34;&lt;/span&gt; 1&amp;gt;&amp;amp;&lt;span style=&#34;color:#ae81ff&#34;&gt;2&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      exit &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#66d9ef&#34;&gt;fi&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  DIR&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;$(&lt;/span&gt;git rev-parse --show-toplevel&lt;span style=&#34;color:#66d9ef&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  docker run -v $HOME/.aws:/home/circleci/.aws -v $DIR:$DIR -p 1313:1313 -w &lt;span style=&#34;color:#66d9ef&#34;&gt;$(&lt;/span&gt;pwd&lt;span style=&#34;color:#66d9ef&#34;&gt;)&lt;/span&gt; -it myhugo hugo $*&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;That script fires up the container with only the current Git repo exposed within the container, and starting off at the current working directory as well, then running the &lt;code class=&#34;verbatim&#34;&gt;hugo&lt;/code&gt; version that I grabbed. It also shares &lt;code class=&#34;verbatim&#34;&gt;~/.aws&lt;/code&gt; for the deployment steps.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Now I can run a command like this and I can sanity check that the site is going to look ok with that particular version, and then later figure out what needs to be fixed as I nudge the version along at my own pace:&lt;/p&gt;
&lt;div class=&#34;src src-shell&#34;&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;make server-beta&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
And then deploy when I&amp;#39;m happy:&lt;/p&gt;
&lt;div class=&#34;src src-shell&#34;&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;make deploy-live&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
Noting that now that I&amp;#39;ve moved to &lt;a href=&#34;https://www.statichost.eu/&#34;&gt;statichost.eu&lt;/a&gt; the &lt;code class=&#34;verbatim&#34;&gt;deploy-*&lt;/code&gt; targets are obsolete, but it&amp;#39;s still useful to test locally with &lt;code class=&#34;verbatim&#34;&gt;server-*&lt;/code&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
</description>
    </item>
    
  </channel>
</rss>
