A static site for plain English math explanations. Built with a custom Go-based static site generator. No Hugo, Jekyll, or other frameworks. Markdown in, HTML out.
go run build.goThis generates the site in /public. Serve it locally with:
static-server publicafter installing the static-server package:
go install github.com/eliben/static-server@latestThen visit http://localhost:8080.
content/
posts/ # Blog posts (markdown)
about.md # About page
templates/ # HTML templates (base, home, post, category, 404)
styles/ # CSS
static/ # Static assets (favicon, robots.txt, etc.)
public/ # Generated site (git-ignored)
build.go # The static site generator
categories.yaml
Push to main triggers GitHub Actions (.github/workflows/ci.yaml), which runs the build and deploys /public to GitHub Pages.
Create a new .md file in content/posts/:
---
title: "Post Title"
description: "A short description for SEO and previews."
date: 2025-01-15T12:00:00-04:00
categories: [Calculus]
unit: 1
---
Your content here.Frontmatter fields:
title– Post titledescription– Short description for meta tagsdate– Publication date (ISO format)categories– Array of category names (must matchcategories.yaml)unit– Optional number for ordering posts within a category