Starting the Blog

Daniel Möller

What could be a blog post more suitable for starting a blog than a blog post about starting the blog? So, let's use the opportunity to go through some basic questions I asked myself to this end, most of them related to the technical setup.

Why?

The main reason for creating this platform at all is that I have (as probably most of us) quite a few things to say. And for a part of these things, it seems sensible to me to do this publicly instead of talking only to friends or to myself in front of the mirror.

Which format?

Because I prefer text format over video and audio – for consumption as well as production – and never really got happy with social media, good ancient website is the way to get my productions out into the world. I noticed that some people use the terms blog and website interchangeably when it comes to websites that contain a blog.

To myself, from a technical perspective, the terms blog, podcast, or vlog seemed just like fancy, irrelevant brandings for a long time. After all it is just content in text, audio, or video form delivered via some kind of website or web service, right? Well fine, admittedly that is not the whole truth. These terms usually define a series of such content and allow for subscription, often also for comments. By now, I can accept that this deserves distinct naming. I will, nevertheless, go with website from now, though this one obviously contains and is dominated by a blog.

Static or dynamic?

So, what kind of website do I need and want? For content that is not up to change for different users and sessions, probably a static one. I should give some background here from my rather simple-minded own perspective.

Once, when the web was young, most sites used pure HTML, optionally accompanied by CSS for more sophisticated styling and possibly JavaScript elements for some user interactivity within the browser. This kind of website is static because the server delivers always the same content (in the form of HTML plus CSS, JavaScript, and media) when asked for the specific site, irrespective of who asks and under which circumstances.

The upcoming need for server-site data handling, e.g. if a user uploads data via forms, required more flexibility. The server not only needs to store much more data than just text files and corresponding media but also to process it and to dynamically compute the web page delivered to the requesting party. For instance, the data entered into a form and then uploaded to the server may first need to be stored and afterwards presented to the user in an individual overview.

These needs made the famous LAMP stack the standard for websites, where the server's operating system not only hosts the web server software but also a database and a server-site programming language for data handling and generation of the output web page (out of HTML, CSS, JavaScript, and media). If you use one of the popular content management systems like Wordpress, Drupal, or Joomla to build your website, the LAMP stack is already present.

However, for my present use case (and likely most other use cases in the web), this is like breaking a butterfly on a wheel. There is no need for dynamic content creation or even a database. I just need a good old static website.

How to generate?

Now, I am not able to produce good-looking HTML/CSS from scratch on my own in reasonable time and would prefer to take care of the contents instead. Talking of contents, I would like to focus on the bare minimum and employ simple Markdown. Thankfully, there exist great static site generators fulfilling basically exactly this purpose: Transforming simple Markdown (or comparable markup language) files into beautiful-looking web pages.

Which generator to take?

First and obvious requirement for me is that the software I generate my website with has to be free and open-source software (FOSS). This does not narrow down the choice much, though.

Thus, without going into detail with the richness and history of FOSS static site generators, let's directly look at the probably most popular modern one, namely Hugo. It was first released in 2013, is written in Googles modern programming language Go, and claims to be "the world's fastest framework for building websites". Hugo's extremely extensive documentation reveals that it can do exactly what I want (and a lot more).

But right in the moment of adopting it, I made a step back and recalled that the matrix.org website, which I visit quite frequently, recently switched to a static site generator called Zola.

Zola's functionality appears quite similar to Hugo's, except that it is written in Rust. Rust is similarly young as Go and the languages share several other properties. Nevertheless, they should better not be compared directly, especially not by a guy like me who has learned neither of them (yet). My preference of Rust is merely due to the projects I know using it and the fact that its development is not dominated by a dubious mega company like Google.

Since these are quite bad arguments for choosing Zola over Hugo, I consulted a few blog posts (e.g. this one and this one) of experienced web developers who used both generators.

Apart from many common features, the main argument for Zola I got from there is that it has a more usable template engine than Go and Hugo. This is not so important for the beginning but may be relevant when trying do implement templates or modifications thereof oneself. The main arguments for Hugo are that it is much wider adopted and more feature-rich, which is irrelevant for me, because I only need to get my small personal website running. Noting that Zola is also sufficiently mature and widely used to not just vanish, I was confident enough to give it a try.

How to set up?

Being part of the package sources of my Arch Linux system, Zola's installation was done by a simple pacman -S zola. As for most software, it requires some reading to understand basic functionalities and how to apply them. But Zola's documentation does a good job in getting you started and letting you understand all the tiny details you might need.

The actual workflow is very manageable. The command zola init mysite creates a directory with name mysite populated by the necessary files and subdirectories for the website project, particularly the prefilled configuration file zola.conf in TOML format. In the moment of writing, mine looks roughly like this:

# The URL the site will be built for
base_url = "https://danmoe.de"

# The site theme to use.
theme = "linkita"

# The default language.
default_language = "de"

# The default author for pages.
author = "Daniel Möller"

# The site description.
# Used in feeds by default.
description = "Eine Webseite über Politik, Wissenschaft, Technologie und alles andere, für das sich der Autor interessiert"

# Automatically generate a feed.
generate_feeds = true

# The filenames to use for the feeds.
feed_filenames = ["atom.xml"]

[[taxonomies]]
name = "tags"
feed = true
paginate_by = 4

[languages.en]
description = "A website about politics, science, technology, and anything else the author cares about"
generate_feeds = true
feed_filenames = ["atom.xml"]
taxonomies = [
    { name = "tags", feed = false, paginate_by = 4 }
]

[markdown]

[markdown.highlighting]
theme = "catppuccin-mocha"

[extra]
# Put all your custom variables here
header_menu_name = "header_menu"

[extra.menus]
header_menu = [
  { url = "@base/about/", names = { en = "About", de = "Über" } },
  { url = "@base/blog/", names = { en = "Articles", de = "Artikel" } },
#  { url = "@base/categories/", names = { en = "Categories", de = "Kategorien" } },
  { url = "@base/tags/", name = "Tags" },
]

[extra.footer]
# Replace with the URL of the license you want.
license_url = "https://creativecommons.org/licenses/by-sa/4.0/deed"
copyright = "© 2026 Daniel Möller | [CC BY-SA 4.0]($LICENSE_URL) | [Datenschutzhinweis](/privacy-policy) – [Privacy policy](/en/privacy-policy) | [Impressum](/legal-notice) – [Imprint](/en/legal-notice)"

The meaning of the theme I will discuss in a moment. Once these things are set up, adding content is as simple as putting Markdown files in the content directory and its subdirectories (each file beginning with some meta information in TOML format). For example, the file of this article starts like this:

+++
title = "Starting the Blog"
description = "What could be a blog post more suitable for starting a blog than a blog post about starting the blog?"
date = 2026-11-17
updated = 2026-11-20
[taxonomies]
tags = ["technology"]
+++

What could be a blog post more suitable for starting a blog than a blog post about starting the blog?
So, let's use the opportunity to go through some basic questions I asked myself to this end, most of them related to the technical setup.

## Why?

The main reason for creating this platform at all is that I have (as probably most of us) quite a few things to say.

(Imagine the nice recursion, if I attempt to put the whole file here 🙂.)

After content creation, zola build very swiftly creates your whole website into the public directory, ready for deployment. Very convenient is zola serve which starts a local web server to preview the website. It recognizes changes and initiates a page reload. Creating the site is particularly fun this way.

How shall it look and work?

Above, I skipped the tedious part of setting up the design and advanced functionalities of the site, particularly defining the templates from which the ultimate pages are generated in combination with the content of the Markdown files. While I am always eager to learn such things, I already mentioned above that I would prefer to invest my time into content creation.

Conveniently, Zola supports themes which include templates and other features one may need. There are numerous themes provided by the community; most of them ported from Hugo or other sources. In fact, there are so many that it is hard to choose.

I wanted a theme with a rather simple layout (no complicated headers or menu bars) but support for multiple languages, tags, and math notation (LaTeX). Also, while being generally a fan of terminal look and monospaced fonts, for which there are great minimalistic themes, I think for reading longer continuous texts they are not ideal. Search functionalities, Mermaid diagrams, and capabilities for switching between light and dark modes I considered as nice-to-have. A commenting function I do not need, particularly because it is a non-static, dynamic functionality anyway.

I started my selection process twice, once ending up with the Bear blog theme and once with the Linkita theme. That it became Linkita in the end, is likely a consequence of the dynamics of Zola's theme collection page which frequently drops and reintroduces themes, probably caused by their temporarily missing support for the newest Zola version.

Since my website directory is anyway a Git repository for version control and synchronisation, it was easy to install Linkita as a Git submodule via git submodule add -b main https://github.com/salif/linkita.git themes/linkita. This way, it is also simple to keep it up to date via git pull. Of course one has to keep an eye on the compatibility with the installed Zola version.

Overall, I am very happy with Linkita. It looks and works really well, comes with extensive explanations and examples, is well maintained, and was fun to set up for my use case. Not yet ideal are the possibilities to include the obligatory privacy policy and legal notice in the page footer.

What remains to say?

Although things are well documented, I got stuck sometimes with (to me) unclear error messages or seemingly malfunctioning Zola/Linkita. Usually, it was me misunderstanding something or forgetting some files or parameters. Sometimes (in particular after updates) it helped to run zola build again and/or restart zola serve.

In any case, it was very helpful to have a look at working examples. Practically all themes come with a live demo and provide the coding behind it in a Git repository (e.g. for Linkita).

Finally, I want to thank all people who contribute to great FOSS projects like Zola. You make my life a lot more fun and doubtlessly the world a better place.