Super basic script for generating a website that I use religiously. And when I say super basic, I MEAN super basic. I am not a programmer by any means but It Werks(tm). As a result, this is mostly for personal use, but if you think this would help you, go right ahead and use and/or edit it to your heart's content.
What it does
The script generates a site in the
output/ folder pages on the markdown files in
pages/ and the files in
How to use
In the templates folder, set
tidy_config.txtto whatever options you'd like to use. My basic settings are in there by default.
Also in the templates folder, edit
footer.htmlto what you want to appear on every page.
Place whatever markdown files you want in the
pages/folder. These will be converted into HTML files of the same name. Any other site content (ie. favicon, images, styles, etc), make sure it's in your
sh gensite.shfrom the root folder. This will output all content into the suitably named
Good luck have fun :)