✦ November 18, 2026 · Paul Richter

Rebuilding this site
in org-mode.

The homepage, the portfolio, the blog, and this post are all org files now: one template, one command, git push to deploy.

The problem it solves

The site used to be hand-edited HTML: every page carried its own copy of the nav, the footer, and the entire stylesheet. Three consequences, all bad. Changing the header meant editing N files. Every new page was a copy-paste of 500 lines of plumbing. And the copy-paste drifted. Pages diverged in small ways until someone noticed.

The setup

  • Sources in org/, one .org file per page. The blog posts and content pages are plain org: headings, lists, code blocks, links.
  • One template in publish.el: org-publish's :html-preamble and :html-postamble attach the shared nav and footer to every page, and :html-head attaches the fonts and stylesheet. This is the inheritance: the chrome exists in exactly one place.
  • One build command:
emacs --batch -l publish.el --eval '(dsa/build)'
  • Deploy is git push: a post-receive hook checks the built HTML out to the web root. No scp, no drift between copies.

The blog index is generated at build time from the #+TITLE and #+DATE lines of every file in org/blog/, so publishing a post is writing the post. The index updates itself.

The honest trade-off

The two design-heavy pages, the homepage and the portfolio, keep their card grids, timelines, and the topology diagram as verbatim HTML blocks inside the org source. Org's markup is great for prose; it is not a component system. Trying to force a glass card grid through org syntax would lose fidelity for no gain. So: prose in org, components in export blocks, and the template owns the chrome.

That's the whole trick: inherit what repeats, write what's new.

Try it

The sources are plain text, so any editor can write a page. The [[file:colophon.org][colophon]] has the annotated layout of an org page.