~srpablo/fleaswallow

Static site generator in OCaml
799ac84c — Pablo Meier 2 months ago
Fix <!-- more --> bug
6a68785f — Pablo Meier 9 months ago
add a lock file
c39c64cc — Pablo Meier 2 years ago
fix tests, better equals, tag bug

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.