<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title></title>
    <link>https://blog.leohofer.dev/</link>
    <description>Recent content on </description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <managingEditor>contact[at]leohofer[dot]dev (Leo Hofer)</managingEditor>
    <webMaster>contact[at]leohofer[dot]dev (Leo Hofer)</webMaster>
    <copyright>Leo Hofer (CC BY 4.0)</copyright>
    <lastBuildDate>Fri, 09 Jan 2026 11:00:42 +0100</lastBuildDate>
    <atom:link href="https://blog.leohofer.dev/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How I Set Up This Website</title>
      <link>https://blog.leohofer.dev/blog/how-i-set-up-this-website/</link>
      <pubDate>Fri, 09 Jan 2026 11:00:42 +0100</pubDate><author>contact[at]leohofer[dot]dev (Leo Hofer)</author>
      <guid>https://blog.leohofer.dev/blog/how-i-set-up-this-website/</guid>
      <description>&lt;p&gt;Welcome to the first post on my blog :)&lt;/p&gt;&#xA;&lt;p&gt;The website I had before, was already generated with hugo. The theme I used was &lt;a href=&#34;https://themes.gohugo.io/themes/hugo-papermod/&#34;&gt;PaperMod&lt;/a&gt;. IT&amp;rsquo;s in my opinion one of the most complete hugo themes in view of the documentation and features. Despite these advantages I wanted a lighter and simpler theme. The site I had in mind was as close to html default style as possible.&lt;/p&gt;&#xA;&lt;p&gt;Before starting to build my own hugo theme just for the fun of it I decided to look at the themes on the Hugo site: &lt;a href=&#34;https://themes.gohugo.io/themes/&#34;&gt;themes&lt;/a&gt;. This is where I found out about &lt;a href=&#34;https://bearblog.dev/&#34;&gt;Bearblog&lt;/a&gt; and the fact that there are hugo themes based on it. I decided to use &lt;a href=&#34;https://github.com/clente/hugo-bearcub&#34;&gt;hugo-bearcub&lt;/a&gt;, a fork of &lt;a href=&#34;https://github.com/janraasch/hugo-bearblog&#34;&gt;hugo-bearblog&lt;/a&gt;. Bearcub has the killer feature of automatically generating an RSS feed.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>Welcome to the first post on my blog :)</p>
<p>The website I had before, was already generated with hugo. The theme I used was <a href="https://themes.gohugo.io/themes/hugo-papermod/">PaperMod</a>. IT&rsquo;s in my opinion one of the most complete hugo themes in view of the documentation and features. Despite these advantages I wanted a lighter and simpler theme. The site I had in mind was as close to html default style as possible.</p>
<p>Before starting to build my own hugo theme just for the fun of it I decided to look at the themes on the Hugo site: <a href="https://themes.gohugo.io/themes/">themes</a>. This is where I found out about <a href="https://bearblog.dev/">Bearblog</a> and the fact that there are hugo themes based on it. I decided to use <a href="https://github.com/clente/hugo-bearcub">hugo-bearcub</a>, a fork of <a href="https://github.com/janraasch/hugo-bearblog">hugo-bearblog</a>. Bearcub has the killer feature of automatically generating an RSS feed.</p>
<h2 id="hetzner-server">hetzner server</h2>
<p>Before hosting my blog on a Hetzner server I used Firebase. Using Github Actions I was able to make edits in the Github browser editor and the action built and published the new version directly to Firebase static page hosting. This setup was very comfortable but my view on Google and Firebase started to change. At some point it became clear to me I wanted to host my blog myself. The server is supposed to cost 3.23 Euros per month max.</p>
<h2 id="lets-encrypt-ssl-certificate">Let&rsquo;s Encrypt SSL Certificate</h2>
<p>The simplicity of setting up an SSL certificate using Let&rsquo;s Encrypt is astonishing. Certbot does all the work for you. Everything. Even the creation of the cron job for certificate renewal. I had to set up Certificates before, but my memories of it wer&rsquo;e tedious and troublesome.</p>
<h2 id="publishing">Publishing</h2>
<p>Maybe it can&rsquo;t even be called a pipeline, but it works. It&rsquo;s just a bash script of three lines.</p>





<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="ln">1</span><span class="cl">hugo build
</span></span><span class="line"><span class="ln">2</span><span class="cl"><span class="nb">echo</span> <span class="s2">&#34;uploading to server&#34;</span>
</span></span><span class="line"><span class="ln">3</span><span class="cl">scp -r public/. user@leohofer.dev_host:/var/www/leohofer_dev_staging/.</span></span></code></pre></div>]]></content:encoded>
    </item>
  </channel>
</rss>
