Site avatar

pmeinhold


My First Blog Post

Finally, I came around to create my own little room on the web. I cannot imagine there being a better use of my time than creating a nice little blog and enjoying to avoid writing my master's thesis! :D

Anyway, this first post should be about the process of creating this site, my thoughts and preferences for it, and whatever else I'll come up with.

Inspiration

In the middle of 2025, I started reading Steve Klabnik's blog, for very interesing thoughts on the Rust programming language and AI. Inevitably, I got motivated to create a similar blog for myself, in which I can just poop out all the badly fleshed-out thoughts that I have without needing to rely on ancient and difficult-to-share technology like these smelly, not at all fire-resistant, iPad-shaped sheets they make from trees. Also, social media is ass!

Steve's website looks nice and clean. It would be a nice challenge to create something similar-looking. So I thought. But first, I had to decide on what tech "stack" fitted my needs:

So, I landed on the no-dependency static site generator Zola, which is advertised as being written in Rust, fast, etc. But am I the only one that thinks that their website, ironically, looks like crap? Whatever. Then there is the Bear theme, which comes quite close to the aesthetics I'm going for.

Setup

Setting this up for local development was super easy:

  1. Create a new Git repository for the project.
    mkdir mysite/
    cd mysite/
    git init
  2. Install Zola. (By defining a devshell in a Nix flake if you're cool. ;)
  3. Initialize the Zola project.
    zola init .
  4. Add the theme via Git submodules. (No idea how these work, just go with it.)
    git submodule add https://codeberg.org/alanpearce/zola-bearblog themes/zola-bearblog
  5. Add theme = "zola-bearblog" and other important stuff to the zola.toml config file.
  6. Content (in the form of markdown files) goes in the content/ directory. What a concept!

I'm too lazy to do a full tutorial here. Look into Zola's docs, the Bear theme, or my repo for details. I'll just highlight the things in my setup I thought were interesting:

Okay. Now you've seen code highlighting. This is math: $$ \int_a^b f(x) \text{d}x= \frac{1}{3}(b^3 - a^3) $$ for $f: \Reals \to \Reals, f(x) = x^2, a \leq b$.