geoteo.net: a static site as a Scheme program
Source for my personal website, geoteo.net, built with Haunt, the static site generator for GNU Guile. The whole site is a single Scheme program (haunt.scm): content lives as data, and the pages are generated from it as SXML, this README included, rendered as the repo's own Geopage. Client-side JavaScript is limited to a few small scripts: the light/dark theme toggle (T), the Geopages popup (Ctrl K), the back-to-top button, and the copy button on code blocks.
The repo also hosts the Jekyll theme of the other Geopages, which pull it in as a remote_theme.
Content is licensed under CC BY-SA 4.0.
Layout
haunt.scm— site content, page layout, Markdown rendering of this README, and build configurationstatic/— stylesheet, favicons, and scripts, copied as-is into the build and shared with the other Geopages_layouts/— Jekyll layout of the other Geopages.github/— workflow rebuilding the other Geopages whenever their layout changesdocs/— generated output, served directly by GitHub Pages
Build
Requires GNU Guile and Haunt installed.
haunt build # build into ./docs
haunt serve --watch # live preview on http://localhost:8080