Simple script for generating a website from a basic template

reactor 16141ea3d5 First commit lessgo 1 éve
output 16141ea3d5 First commit lessgo 1 éve
pages 16141ea3d5 First commit lessgo 1 éve
templates 16141ea3d5 First commit lessgo 1 éve
README.md 16141ea3d5 First commit lessgo 1 éve
gensite.sh 16141ea3d5 First commit lessgo 1 éve

README.md

gensite.sh

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 templates/.

How to use

Requirements: tidy, discount

1) In the templates folder, set tidy_config.txt to whatever options you'd like to use. My basic settings are in there by default.

2) Also in the templates folder, edit header.html and footer.html to what you want to appear on every page.

3) 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 output/ folder.

4) Run sh gensite.sh from the root folder. This will output all content into the suitably named output/ folder.

5) Good luck have fun :)