The source for chrisgrounds.github.io, built with Hakyll.
- GHC 9.6 or newer
- Cabal 3.10 or newer
The easiest way to install both is GHCup.
Install dependencies and build the site:
cabal update
cabal build -j2
cabal run site -- buildThe generated site is written to _site/.
Run the development server with file watching:
cabal run site -- watchThen open http://localhost:8000.
Other useful commands:
cabal run site -- clean
cabal run site -- rebuildPosts live in _posts/ and use YAML front matter:
---
title: "A post title"
date: 2026-06-20
published: true
tags: ["haskell", "types"]
---Post filenames must follow YYYY-MM-DD-slug.md. Their published URLs retain
the existing Jekyll-compatible shape: /YYYY/MM/DD/slug.html.
Set published: false to keep a draft out of the site, tag archives, and RSS
feed.
Pushes to master trigger the GitHub Actions workflow in
.github/workflows/hakyll.yml. It builds the site and deploys _site/ to
GitHub Pages.