Static site generator1.2.2 | Download Source | Guide | Repository | Unlicense
AutoSite helps you keep all of your website's pages in the same basic template. Managing a navigation bar, a footer, and even meta/OpenGraph tags across several pages is simple.
An AutoSite site is composed of an "in" directory, an "includes" directory, a "templates" directory and optionally a "plugins" directory when you want to run some code before saving each page. When AutoSite is run, it copies everything in the includes directory to the "out" folder and then slots each page in the "in" directory into a template in the "templates" directory. It's easier to use than it is to explain, I promise! Do check out this comprehensive guide when you start.
The code's just shy of 100 lines, so you can mess around all you want with it and see how it ticks.
How to Install
At a prompt, run
pip3 install autosite or
pip install autosite depending on your setup. You should be able to run AutoSite by simply calling it's name; if not, than you might need to fiddle with your PATH (particularly on Windows) or use the standalone script.
Sublime Text user? Try the build system. The terminal output comes out funky (its console doesn't display colors) but it's working swell for me.
Newly optimized for your Pentium Pro™-compatible PC!1999.4 | Download Source | Repository | Unlicense
This is basically AutoSite if it was late-90s shareware. Definitely not meant for production use since it doesn't support subdirectories, multiple templates, or custom attributes.