Stacey takes content from `.txt` files, image files and implied directory structure and generates a website.
It is a no-database, dynamic website generator.
Content is stored in the `/content` folder, while templates are in the `/templates` folder.
Here are some key features of "Stacey":
· 600 lines of code
· Caching
· Documentation
· Easy deployment
· Templates
· Variable Types
· RSS/Atom/JSON feeds
· Supports HTML code
Requirements:
· PHP 5 or higher
· Apache with mod_rewrite (optional)
· htaccess file support (optional)
Limitations:
· No login screens, no admin interface.
What's New in This Release: [ read full changelog ]
· A small update to allow html5 tags to be used alongside Markdown. Thanks to sparanoid for committing this fix.
· Major cleanups to stacey’s JSON support. These include, automatic stripping of any trailing commas from within the template and minification of the final rendered output.
· Content files can now have a named prefix. This means you can name your files anything.template-name.txt, where the anything. will be ignored. This means you can avoid having to pick through 20 text files named project.txt to find the one you’re looking for. Thanks to Lech Deregowski for sharing the idea.
· Can now selectively disable caching on a per-page basis thanks to michaelsmanley. if your page’s content file contains bypass_cache: true then that page will not be run through the caching system.
· foreach loops can now be selectively limited using the sytax foreach $collection[start:end] do. See the foreach documentation for more details.
· This release also fixes a bug which seemed to primarily affect MediaTemple sites, which would throw an Invalid argument supplied for foreach() error.
· It also fixes another bug where stacey would scan every folder on the same level as its index.php file. Now it only scans the folders that it requires. This will speed up sites that this bug affected pretty dramatically, especially mediatemple sites (who store their whole database within the main folder structure).