<?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>Blog on Mike Bell - Blog &amp; Stuff</title><link>https://mikebell.io/tags/blog/</link><description>Recent content in Blog on Mike Bell - Blog &amp; Stuff</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>hello@mikebell.io (Mike Bell)</managingEditor><webMaster>hello@mikebell.io (Mike Bell)</webMaster><copyright>© 2026 Mike Bell</copyright><lastBuildDate>Wed, 11 Nov 2020 12:59:46 +0000</lastBuildDate><atom:link href="https://mikebell.io/tags/blog/index.xml" rel="self" type="application/rss+xml"/><item><title>Moving From Gatsby to Hugo</title><link>https://mikebell.io/posts/2020-11-11-moving-from-gatsby-to-hugo/</link><pubDate>Wed, 11 Nov 2020 12:59:46 +0000</pubDate><author>hello@mikebell.io (Mike Bell)</author><guid>https://mikebell.io/posts/2020-11-11-moving-from-gatsby-to-hugo/</guid><description>
&lt;p>I&amp;rsquo;ve moved to Hugo after probably the shortest time with any site generator.&lt;/p>
&lt;p>Firstly I love to change the theme of blog I get blog envy quite easily these days. But I&amp;rsquo;m not a themer so I don&amp;rsquo;t attempt to create anything like what I see on other sites.&lt;/p>
&lt;p>Admittedly when I moved to GatsbyJS is was because of this starter theme - &lt;a
href="https://github.com/alxshelepenok/gatsby-starter-lumen"
target="_blank"
>Gatsby Starter Lumen&lt;/a> - it looks really good and is quite a smart theme. More importantly it has pretty good accessibility according to Lighthouse something that is a huge priority for me these days.&lt;/p>
&lt;p>The problem with the theme is it&amp;rsquo;s an all or nothing approach, you clone the theme make your config changes and then add your content. Not so good, I now have a customised version of a theme that is being regularly updated (a good thing!) but no way of cleanly applying my customisations and content over. I raised this &lt;a
href="https://github.com/alxshelepenok/gatsby-starter-lumen/issues/788"
target="_blank"
>issue&lt;/a> but there&amp;rsquo;s been no movement on it. I&amp;rsquo;m sure there is a smart way round this but I&amp;rsquo;m not familiar enough with NodeJS to wade too deep into it.&lt;/p>
&lt;p>So this is where Hugo comes in - it&amp;rsquo;s a Go binary that runs all most OSs and treats themes not as the end of the world but as a component of the overall site. My current theme is in fact a git submodule that I can update locally and then push the ref to to update it. Thankfully the frontmatter of most of the posts I&amp;rsquo;ve written was compatible so it was a drag and drop replacement.&lt;/p>
&lt;p>The deployment pipeline for this is still relatively similar as you can see &lt;a
href="https://github.com/mikebell/mikebell.io/blob/master/.github/workflows/main.yml"
target="_blank"
>here&lt;/a>. I&amp;rsquo;ve left in the old way of deploying as reference if anyone needs it for a Gatsby site.&lt;/p>
&lt;p>I&amp;rsquo;m super happy with Hugo so far especially:&lt;/p>
&lt;pre tabindex="0">&lt;code>hugo new posts/this-is-a-blog.md
&lt;/code>&lt;/pre>
&lt;p>Thanks for reading via RSS!&lt;/p>
&lt;p>Send me a message on &lt;a href="https://remotelab.uk/mikebell">Mastodon&lt;/a> or &lt;a href="mailto:hello@mikebell.io">email me&lt;/a>&lt;/p></description></item></channel></rss>