How to build a static blog

1 minute read

When I decided to start a blog there were a few things that I quickly found out from other people that I admire.

1. Always own your data

When you use blog providers like Wordpress, Facebook, Disquss, etc, the data isn’t owned or controlled by you. Moving away from these providers is often hard and you may not be able to move everything that you’d like.

2. You may have to host your own blog

This was the hardest bit. I wanted to have a blog but didn’t want to manage servers, deployments, connectivity issues, let alone pay for the hosting.

This tweet describes what I’d like to avoid:

Following up from that he suggests using a static website and this is what I’d like to cover today, how I this website works, currently completely static, including the comments.

Extra requirements

Besides not wanting to manage servers, deployments and backups I also wanted the ability to control a little bit of the style and design without having to go too deep into HTML and CSS.

Markdown is a good solution for doing exactly that.

Chosen Solution

In short, these are the solutions that I chose:

  1. Static blog engine: Jekyll. It supports Markdown and is simple enough to learn and use (you can host it locally)
  2. Static comments: Staticman
  3. Hosting: GitHub Pages works well for me while also providing version control.
  4. Blog theme: Minimal Mistakes is a great theme. Design and styling aren’t my best strengths and this theme makes everything looks great with minimal effort.


The process that I follow is quite simple:

  1. Write post locally
  2. Look at how it looks like on a local Jekyll environment
  3. Push to GitHub once I’m happy with it

And that is pretty much it. Behind the scenes GitHub pages will compile the source that I just pushed into a complete html static site and automatically deploy it to their production environment.

This is a good idea as I can focus on writing content without having to worry about hosting, backups, performance, scalability, etc. It brings me great peace of mind.

Blog Inner Peace
Blog Inner Peace (from https://www.illawarramercury.com.au/story/5230856/find-the-time-to-calm-your-mind/)

Updated:

Leave a Comment

Your email address will not be published. Required fields are marked *

Loading...