This is a minimal static site generator written in Go, used to build my personal website. I am not proficient in Go. This SSG is partly an exercise to help me learn a new language, so I make no guarantees re: code quality.
There are two types of pages supported here: "blog" pages and "regular" pages.
src/
contains the pages I write (in HTML) with a FrontMatter heading. All this code is embedded directly in the resulting page.
static/
contains files which aren't frequently changed: page templates and stylesheets.
public/
contains the finished pages.
public/blog/
contains the finished blog posts.
public/img/
contains embedded images.
From the index directory, run:
$ go run build.go
This project is licensed under the GNU Public License, Version 3.0.
Copyright 2021 by Corin Wagen