Version 0.7b1
This is the new version of hyde under active development. Incomplete documentation can be found here. This should give a good understanding of the motivation behind this version. You can also take a look at the documentation source for a reference implementation.
Here is the initial announcement of the project.
To get the latest released version:
pip install hyde
For the current trunk:
pip install -e git://github.com/hyde/hyde.git#egg=hyde
The following command:
hyde -s ~/test_site create -l doc
will create a new hyde site using the test layout.
cd ~/test_site
hyde gen
cd ~/test_site
hyde serve
open http://localhost:8080
The server also regenerates on demand. As long as the server is running, you can make changes to your source and refresh the browser to view the changes.
- Support for multiple templates (although only
Jinja2
is currently implemented) - The different processor modules in the previous version are now replaced by a plugin object. This allows plugins to listen to events that occur during different times in the lifecycle and respond accordingly.
- Metadata: Hyde now supports hierarchical metadata. You can specify and override variables at the site, node or the page level and access them in the templates.
- Sorting: The sorter plugin provides rich sorting options that extend the object model.
- Syntactic Sugar: Because of the richness of the plugin infrastructure, hyde can
now provide additional syntactic sugar to make the content more readable. See
blockdown
andautoextend
plugin for examples.
- Documentation
- Default Layouts
- Django Support
- Plugins:
- Tags
- Atom / RSS
- Text Compressor (CSS, JS, HTML)
- Image optimizer