forked from github.com/blag
94b89d9f7611d92b8eb2243f294c899c2de6757a
this uses a markdown.treeprocessor as extension to get all html links from the resulting html document
sg.py -- a small static site generator
Installation
$ pip install sg.py
Usage
Populate directory with markdown files (they have to end with .markdown). You can also create arbitrarily nested subdirectories containing .markdown files.
Sg will go recursively through all directories not beginning with an underscore ("_") and convert the .markdown files into .html. The resulting HTML files will be saved into the _site directory, conserving the directory structure where the .markdown file was found.
Put your static content into _static. Files and subdirectories will be copied into _site without any modifications.
TODO
- document the YAML frontmatter
- enable layout selection by _layout_foo or so
Description
Languages
Python
74%
CSS
17.4%
HTML
6.4%
Makefile
2.2%