A static website generator
Project description
Blog
This is a simple static site generator. It traverses through a source directory of markdown files and creates a destination directory with equivalent HTML files.
Markdown In -> HTML Out
Installation
$ python3.7 -m venv venv
$ source venv/bin/activate
$ pip install blog
Usage
(venv) $ python -m blog build /path/to/source-dir /path/to/build-dir
Simple by design
- Nothing smart is done around friendly URLs / generating folders with
index.html
files- If you want an
index.html
file, create anindex.md
file in your source directory
- If you want an
- There is no database
- There is no configuration (for now)
Need something more complex?
- Consider using Hugo, Gatsby, Django, writing your own server
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
blog-0.1.1.tar.gz
(8.6 kB
view details)
Built Distribution
blog-0.1.1-py3-none-any.whl
(22.5 kB
view details)
File details
Details for the file blog-0.1.1.tar.gz
.
File metadata
- Download URL: blog-0.1.1.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.15+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0872ffafe5f561a347248018a08919fed627e27a498f8a5cb6ee6a046288d26 |
|
MD5 | 9618956254b8c41372c002fb232834b7 |
|
BLAKE2b-256 | 879cb1bfb278082a730da302b08f6675deda605c75a1b657eb30261b626e3d5f |
File details
Details for the file blog-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: blog-0.1.1-py3-none-any.whl
- Upload date:
- Size: 22.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.15+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7466affe470d969671d1818d554ef6842f51b3129ebf03fe6356dbf168958aca |
|
MD5 | 261c67b089dc8f3ab6dfc90592cbf805 |
|
BLAKE2b-256 | 6fd19a561d234a9c08724dc1fdf2c4dcd13c3e7c8bb7348890a19b69f73a870e |