~srpablo/fleaswallow

Static site generator in OCaml
c39c64cc — Pablo Meier 5 months ago
fix tests, better equals, tag bug
1b7bf01d — Pablo Meier 5 months ago
Fix cache, freshen neighbors.
4083386c — Pablo Meier 5 months ago
Renames prev/next, bugfixes, static freshness

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~srpablo/fleaswallow
read/write
git@git.sr.ht:~srpablo/fleaswallow

You can also use your local clone with git send-email.

#Fleaswallow

A static site generator in OCaml 🐸 🐫

I used to generate my site with Frog, decided to try my hand at a static-site generator more to my own needs, and now we have this froggy-themed derivation. Powers morepablo.com.

Note that it's got some hard-coded assumptions, both in its implementation (using Filename.concat for the hostname to post path probably breaks URLs in Windows, for example) and its use case (some morepablo.com assumptions are hard-coded until I comb through them more carefully).

Maybe, maybe one day this becomes a proper command-line app that's generalizable to more sites, we'll see! This was mostly me taking a shot at OCaml, "building my own lightsaber" kind of thing.

#Building/hacking

With dune and opam installed, create a local switch (opam switch create .). I think this should create an environment where the rest of the Make commands work.