It creates a static web site which can contain blog entries, and pages. The pages can be written as HTML code (only the content part of the page) or as Markdown.
As of now this directory structure is planned, some parts work already.
pagesorsources(or both) contain the pages, either HTML or Markdownpostscontains blog posts_config.ymlcontains site configuration_layoutscontains page templates- Makefile: controls sitegen
- any other directory without leading '_' or '.' characters are copied as is into its final place
As of now it's a bit different:
templates/currentcontains the themeassetssubdirectory contains theme files needs to be copied into_install/themedefault.tplis used to generate HTML files in_install
sourcecontains the.mdfiles to be processed
_sitewill be the location of the generated content_buildis the directory used for temporary files
As of now the generated pages are in _install instead of _site.
To initialize: sitegen.py init -d my-site; cd my-site
After initialization there will be a Makefile, which controls sitegen. As of now the dependency handling
is in that Makefile.
To generate files simply call make in the my-site directory.