Show HN: Super Simple Static Site Compiler(github.com)9 points·by rickr·12년 전·2 commentsgithub.comShow HN: Super Simple Static Site Compilerhttps://github.com/rickr/site_builder2 commentsPost comment[–]rickr·12년 전replyHiya 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.[–]sauere·12년 전replyThis is the first static site generator i have seen that actually deserves to carry the lable "simple".Good job./edit: you might want to include a Markdown parser.
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.