Another static site generator.
$ pip install gilbert
Create a gilbert project:
$ gilbert --root mysite init
Create page files in mysite/pages/
Render your site:
$ gilbert --root mysite render
Each project contains 4 directories:
These are templates available to Content Objects, using the
This is the hierarchy of pages to be rendered on the site.
This contains other content objects to be made available to all pages on the site to include in their templates.
This is where the site distributable content are rendered into.
Content objects are basically YAML files, with a single YAML document, optionally followed by additional raw content.
The default Content Object is
Data which simply provides access to the data in the YAML document.
Page content object is the default type for documents in the
pages/ collection. It will render using the template defined in its data, or the 'default.html' template.
Gilbert supports auto-discovered plugins. They simply need to be packages existing in the namespaced package 'gilbert.plugins'.
By default, the following Plugins are provided:
An extension of
Pagewhich renders its
Renders its content using SCSS