Site deployment changes — Tue 05 December 2023

When this site was set up, I had separate build and deploy repositories. The deploy one had just the 'site' output from haunt which was then pushed to gitlab and served with gitlab pages. This was clearly a bit non-optimal, so now the sources and build config are now in the deploy repo also, so updating the site (resolution to make this more frequent pending). It needed the following steps:

(define* (site #:key
               (title "This Place is Haunted")
               (domain "")
               (scheme 'https)
               (posts-directory "posts")
               (file-filter default-file-filter)
               (build-directory "public")

The outcome is that updates are a simple *write the markdown, check with the minimal server go run server.go and push to GitLab to deploy with GitLab Pages.

minimal server for content checks

package main

import (

func main() {

     fmt.Println("site is displayed at http://localhost:8081")
     http.Handle("/", http.FileServer(http.Dir("./public")))

     log.Fatal(http.ListenAndServe(":8081", nil))


Anyway, no excuse for more posts. Also need to get to grips with the haunt source so be able to make some content helpers.

Here's some nice trees on a frosty day…

trees on the side of a frosty hill