Skip to content

Comment on Show HN: Super Simple Static Site Compiler

Comments

Hiya HN,

I spent a few hours tonight to make a SUPER simple static site generator.

It basically concatenates a header, your body, and a footer. After the compilation there's a hook to execute a post hook.

This post hook gets passed the name of the file, which allows you to take actions on a per page basis.

This allows you to change things like nav classes to active etc.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.