1
0
mirror of https://github.com/venthur/blag.git synced 2025-11-25 12:42:41 +00:00

renamed old sg stuff to blag

This commit is contained in:
Bastian Venthur
2021-02-01 21:34:30 +01:00
parent e18e5f6aa1
commit 5f5a8af49b
12 changed files with 15 additions and 43 deletions

View File

@@ -1,27 +1,11 @@
# sg.py -- a small static site generator
# blag -- a simple, blog-aware static site generator
## Installation
```bash
$ pip install sg.py
$ pip install blag
```
## 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
TBD