Basically the whole user config comes from one JSON file with optional Markdown files for some sections if they get a little too long or more complex formatting is needed, e.g.
So the format is really simple, and the “intro” section is just loaded from the “intro.md” file in the same directory.
This is then loaded into a handlebars template, e.g.
I have only created one “basic” template so far, but it is responsive to work on both desktop and mobile devices, along with having a slightly modified print template. It is simple, but it works quite nicely.
From this it generates the static HTML file which can then be uploaded to any web server (or DropBox) and passed around.
Each template lives in its own subdirectory, so it can have external assets such as images and CSS which will be copied over to the output directory along with the static HTML.
Also included is a local testing server so it can be easily tested locally without continually rebuilding it manually.