Fresh start
This site is new. Here is how it is built and why it looks the way it does.
This site is new. It is static, it runs on Cloudflare, and it is built from plain Markdown files. No database. No CMS.
Why it looks like this
Most new websites look the same. Soft gradients, rounded cards, an emoji in every headline. I did not want the default. So I picked one style and stuck to it: the International Typographic Style from Switzerland, 1950s to 1970s.
The rules are simple:
- a strict grid
- one typeface, set flush left
- black, white and one accent colour
- empty space that stays empty
How it works
A new post is one Markdown file. Getting it online takes a few more parts:
- I write the post as a Markdown file and commit it.
- I push to the main branch in Azure DevOps. That is where the code lives.
- The push starts a pipeline in Azure DevOps. It installs everything and runs Astro, which turns the Markdown into plain HTML.
- The pipeline uploads the result to Cloudflare Pages with Wrangler, Cloudflare’s command line tool.
- Cloudflare serves the site. A minute or two after the push, the post is live.
git add src/content/blog/fresh-start.md
git commit -m "New post"
git push
Two services, one pipeline file, no server to look after. Once it was set up, writing a post is the only part I touch.