Skip to main content

Simple static site generator.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blag-0.0.0.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

blag-0.0.0-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page