Note: This very much exists for my own use and isn’t really intended to be run by anyone else. I made it while thinking through what I actually wanted out of an SSG after making like 4 other ones that were the standard “export markdown files with YAML frontmatter to an html directory” which I never really liked for multiple reasons. It got messy as I went on and changed how I approached some things, like template. I plan on rewriting it properly at some point.
Static site generator written in Tlc. Pages are directories everything referenced within a page can be self contained. An index.md file holds the page text and metadata.properties has the metadata separately. Template are themselves Tcl scripts that are run and the output is used to generate the corresponding HTML page, in the same directory.
Usage
nb new <path> Creates a new page
nb update Sets the updated metadata field to the current time
nb generate [-f] Generates the site. Pages that have already been generated and not updated since the last generation will be skipped, however, you can force regeneration of all pages with -f