What is it?
- spg for short.
- Simple tool to make static websites easier to manage.
-
File based template engine with;
- Parenting. (Virtually as many layers as you want)
- Variable scoping. (You can inherit and overwrite variables)
- Linking. (You can link another template, optionally with extra parameter. You can even render multiples instances - for menus, etc...)
- Content and formatting operations are seperated as much as possible. (All programmatic stuff are moved to a header, template body contains only variable names as mount points)
- No commitment to any database or CMS is necessary. You can edit your website from your favourite text editor and still take advantage of DRY. (...and code highligtning, code folding, etc...)
- Written in Python
Get started!
Tutorial shows the basic use of spg. If you want more information, you should check out documentation.
Here is how to download and install spg.