Seraph
A static blog generator inspired by hyde, with jinja2 template and Markdown support.
Now, you can get it from PyPI:
pip install Seraph
Basic Usage
The basic file structure has benn built inside the package.
- site.yaml
- source
- posts [FILES inside...]
- templates [FILES inside...]
- build
- styles [FILES inside...]
It should be pointed out that the default styles folder is in the "build/" which is the outputed site folder.
Firstly, you may like to have an initial site:
Seraph --init [DIR]
To build your site, enter the folder of your site, just type it:
Seraph --build
And there it is. Also, With --local
option you can ignore the root setted in site.yaml and build in local mode for testing.
Template
The template is powered by jinja2.
More information: