Skip to content
/ sg Public

A small, static website generator written in Python.

License

Notifications You must be signed in to change notification settings

venthur/sg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A small, static website generator written in Python.

Resources

License

Stars

Watchers

Forks

Packages

No packages published