Static comments using the Github API

Static comments using the Github API

When moving my website back from MediaWiki to Hugo — I again started to think about adding comments. I’ve thought about this before, even tested quite a bit, and written about it.

I didn’t want to add heavy external resources, or compromise my readers privacy. This blog is static, and I’d like the comments to be static as well.

Read more →

Building and deploying Hugo staging and production to Nginx

Building and deploying Hugo staging and production to Nginx

I am building my Hugo website on a local LXC container, using Gitea and Drone. There are plenty of tutorials on how to connected those two together, so I won’t go through that here.

Instead I want to show you how I build and deploy my staging and production environment to Nginx — using atomic deployments and unique preview URLs.

Read more →

I moved this blog to MediaWiki for one year

I moved this blog to MediaWiki for one year

In November 2019 I moved this blog from Hugo to MediaWiki, in January 2021 I moved it back.

Read more →

Output Hugo aliases as a Nginx map file

Output Hugo aliases as a Nginx map file

In my previous post I wrote about turning Hugo aliases into Firebase redirects. Now — let’s convert them into a Nginx map file, and have Nginx redirect based on that file.

Read more →

Turning Hugo aliases into Firebase redirects

Turning Hugo aliases into Firebase redirects

Using Firebase and Hugo? Use front matter aliases to automatically add redirects to your firebase.json configuration. Turning your aliases into proper 301 or 302 redirects.

Read more →