Skip to content

How this blog came to be

· background

From the idea via the design to publication: which technology stands behind this blog and why it looks the way it does.

This blog is new, and it is different from many others. No website builder, no platform, no login, no advertising banners. Behind it is a simple idea: texts you can read without something reading along.

The starting point

I wanted my own place for texts — about technology, about projects and about things that work in everyday life.

The usual ways did not appeal to me much. A profile in a social network disappears in the stream of messages. A website builder brings a lot that I do not need at all: fonts, scripts, dependencies and often things that want to know something about the visitors. And a blog you can only read after signing up reaches exactly the readers it was not meant for.

So the question was:

What does a blog look like that simply does what a blog should do?

The decision: static pages

Instead of a database and a content management system there are only text files here. Every post is a Markdown file with a short header of title, date, tags and language.

Hugo builds finished HTML pages from them — on my machine, not on the server.

You notice that in operation. The server essentially just delivers finished files. For a page view it has to calculate nothing and assemble no content from a database.

What gets published is exactly the state I built and looked at beforehand.

The structure

The blog consists essentially of three parts: content, templates and design.

The content is stored as text files. The templates define header, frame and footer. The design lives in two stylesheets — one for the frame, one for the texts.

The frame is a CSS grid with three columns: the post list on the left, the text in the middle and tags and further pages on the right. Only the middle area scrolls. Header and footer stay in place, and the side panels can be collapsed.

The colours live centrally as CSS variables. One setting on the root element is enough to switch between light and dark design. The browser remembers which variant was chosen.

Two languages

German is the default language and appears in the address without a prefix. The English version lives under /en/.

Both versions are separate content trees but are connected through a shared key. From that come the language references (hreflang) and the switcher at the top of the page.

So not only the reader knows where the other language is, but the search engine knows which versions belong together.

Search without a server

During the build an additional small file is created with all posts: title, address, date, tags and a text excerpt.

The search loads this list and filters it directly in the browser.

So there is no search request to a server and no log of what someone searched for.

What search engines get

Search engines also get the information they need: a title, a description, a unique address (canonical), language references, Open Graph data for sharing and structured data as JSON-LD.

On top of that come the RSS feed, the sitemap and the robots file.

That sounds like a lot of technology, but it is essentially just clean craftsmanship. The information is already in the delivered HTML — no extra requests or scripts are needed for it.

The contact form

The contact form is the only place where the server actually processes something.

A message is sent through a small endpoint via SMTP to my mail address, with STARTTLS and authentication. An invisible field, a minimum time between loading and sending, and a limit on requests per hour help against bots.

The message is not stored on the web server. It goes straight into my mailbox.

The operation

Delivery is done by nginx with a TLS certificate from Let’s Encrypt.

Publishing is a file comparison: the finished pages are copied to the server — done.

No container, no database server, no elaborate maintenance windows.

For previews there is a second build that keeps search engines away. That way I can look at changes before they become public.

The blog runs on a rented server. If you want to support the hosting, you can use ZAP-Hosting (advertisement).

What is deliberately missing

No content management system, no comment function, no cookies, no tracking and no external fonts.

Whoever reads here does not have to reveal anything about themselves. There is no analytics trying to find out in the background who is on the page right now.

The counter-check is simple: the source of the page contains nothing that would be needed for it.

What comes next

This post is one of the first here.

More grow out of the projects that are running anyway. Mostly it is about the result: What works? What does not? And what is something actually good for in everyday life?

Now and then there will also be a piece of code — where a few lines show faster how something works than a long explanation. Code for its own sake is not here.

If you have a question or a topic to suggest, the contact is at the bottom.

I read every message myself.

← all posts