site

A custom static site generator written in C.
git clone https://unitehenry.com/git/site.git
Log | Files | Refs | README

commit 69bd83042968473e339f5155d043a1953589c383
parent 7560bfeb5d10e2ae067c7248ca922fbbb0d1b725
Author: Henry Unite <unitehenry@gmail.com>
Date:   Sun, 12 Apr 2026 00:19:30 +0000

feat: download fonts

Diffstat:
M.gitignore | 1+
Mscripts/generate | 8++++++++
Mtemplates/base.html | 1+
3 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -1,2 +1,3 @@ site build +static/fonts diff --git a/scripts/generate b/scripts/generate @@ -1,5 +1,13 @@ #!/usr/bin/env bash +mkdir -p static/fonts + +if [ ! -d "static/fonts/DepartureMono-1.500" ]; then + wget https://github.com/rektdeckard/departure-mono/releases/download/v1.500/DepartureMono-1.500.zip + + unzip DepartureMono-1.500.zip -d static/fonts +fi + gcc src/*.c -o site if [ $? -eq 0 ]; then diff --git a/templates/base.html b/templates/base.html @@ -1,6 +1,7 @@ <html> <head> <title>Page Title</title> + <link rel="stylesheet" href="css/style.css" /> </head> <body>