Simple static site generator.
Project description
# sg.py – a small static site generator
## Installation
`bash $ 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sg.py-1.2.1.tar.gz.
File metadata
- Download URL: sg.py-1.2.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0beec76ac3aacc5334509063565c38070bb97fb50f9921a9672e5b55cc9b6a1
|
|
| MD5 |
31370f086774a8ea4237c6fb70b55d0a
|
|
| BLAKE2b-256 |
58e5bc0fdc5a9d1f83ad5c82e7defb4827c732b9dd7f56dac275afacd94b5cc4
|
File details
Details for the file sg.py-1.2.1-py3-none-any.whl.
File metadata
- Download URL: sg.py-1.2.1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8c67666389f16984229e8f103dca0ec2d26cbb5901731033ba1029091318625
|
|
| MD5 |
694ba8e639eb2109e68daa354b23422a
|
|
| BLAKE2b-256 |
7d7ce1342257d97bce1086555ddb8114fabbcb11ee83124d7f352b2afc25000f
|