<?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>Hugo on Me, Myself, and Technology</title><link>https://kalpik.com/tags/hugo/</link><description>Recent content in Hugo on Me, Myself, and Technology</description><generator>Hugo -- 0.138.0</generator><language>en</language><lastBuildDate>Mon, 03 Oct 2022 11:05:00 +0200</lastBuildDate><atom:link href="https://kalpik.com/tags/hugo/index.xml" rel="self" type="application/rss+xml"/><item><title>Hosting your Hugo website for free on Cloudflare</title><link>https://kalpik.com/blog/2022-10-03-free-hosting-hugo-cloudflare/</link><pubDate>Mon, 03 Oct 2022 11:05:00 +0200</pubDate><guid>https://kalpik.com/blog/2022-10-03-free-hosting-hugo-cloudflare/</guid><description>&lt;p>You probably already know how big a fan I am of Cloudflare. So while looking around on the Cloudflare console, when I discovered Cloudflare pages, I was overjoyed! It took me only a couple of minutes to switch hosting this blog from DigitalOcean apps to Cloudflare pages. That&amp;rsquo;s the beauty of code driven deployments 🙂&lt;/p>
&lt;p>I followed the &lt;a href="https://developers.cloudflare.com/pages/framework-guides/deploy-a-hugo-site/">very handy documentation here on the Cloudflare developer portal&lt;/a>, and switching was a breeze! The only point to note is that by default Cloudflare uses an old version of Hugo, so your website may not compile. It&amp;rsquo;s a better idea to instead use the &lt;code>HUGO_VERSION&lt;/code> environment variable and set it to the same version as what you&amp;rsquo;re using locally (you can get your local version by running &lt;code>hugo version&lt;/code>).&lt;/p></description></item><item><title>Hosting your Hugo website for free</title><link>https://kalpik.com/blog/2022-09-29-free-hosting-hugo/</link><pubDate>Thu, 29 Sep 2022 11:05:00 +0200</pubDate><guid>https://kalpik.com/blog/2022-09-29-free-hosting-hugo/</guid><description>&lt;p>As promised, here I am with a blog post about how I &lt;a href="../2022-09-21-switched-to-hugo/">shifted to Hugo&lt;/a> from Wordpress. What we&amp;rsquo;ll achieve by the end of this blog post:&lt;/p>
&lt;ol>
&lt;li>Migrating your data out of Wordpress (optional)&lt;/li>
&lt;li>Installing Hugo&lt;/li>
&lt;li>Creating a new blank Hugo website&lt;/li>
&lt;li>Importing your wordpress content into your new Hugo site (optional)&lt;/li>
&lt;li>Committing your new website to Github&lt;/li>
&lt;li>Setting up a free account with DigitalOcean and linking your GitHub website repo to DigitalOcean apps to enable automated deployments&lt;/li>
&lt;li>Setting up a custom domain for your website on DigitalOcean&lt;/li>
&lt;/ol>
&lt;h3 id="migrating-your-data-out-of-wordpress">Migrating your data out of Wordpress&lt;/h3>
&lt;p>I found the easiest way to do this is to use the &lt;a href="https://wordpress.org/plugins/jekyll-exporter/">WordPress Jekyll Exporter&lt;/a> plugin. Just install this on your WordPress site, and download an export. Keep the zip file somewhere safe, we will need it later on.&lt;/p></description></item><item><title>Switched to Hugo</title><link>https://kalpik.com/blog/2022-09-21-switched-to-hugo/</link><pubDate>Wed, 21 Sep 2022 16:57:00 +0200</pubDate><guid>https://kalpik.com/blog/2022-09-21-switched-to-hugo/</guid><description>&lt;p>Static site generators have picked up a lot of steam in the past few years. This much neglected blog of mine was running WordPress up until now, and even though it was good enough for me (let&amp;rsquo;s face it, I wasn&amp;rsquo;t really doing much with my blog anyway), I wanted to play around with SSGs. The ultimate trigger for me was my host telling me that I&amp;rsquo;m running out on disk space, and needed to decide if I wanted to go to the next tier of hosting with them. I decided that I had had enough with WordPress, and started looking at alternate ways to host this blog. At first, I looked at &lt;a href="https://ghost.org/">Ghost&lt;/a>, and even though it was very fancy and easy to use, it was overkill for me, and I really wanted to go database-less. Out of all the SSGs I looked at, I decided to use &lt;a href="https://gohugo.io/">Hugo&lt;/a> for the following reasons:&lt;/p></description></item></channel></rss>