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-1.0.1.tar.gz
(6.3 kB
view details)
Built Distribution
blog-1.0.1-py3-none-any.whl
(22.9 kB
view details)
File details
Details for the file blog-1.0.1.tar.gz
.
File metadata
- Download URL: blog-1.0.1.tar.gz
- Upload date:
- Size: 6.3 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 | 412b6812e8960d7db72195a14816c811a7ee36b7f0edb664fe40e6979fcd1e1e |
|
MD5 | 561eb501a53ba613f4121b5173b23bd0 |
|
BLAKE2b-256 | 91e2ddd6a41a2dabca627d8df4809abe4b8f377dc2dc94083af4a3a0195e5646 |
File details
Details for the file blog-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: blog-1.0.1-py3-none-any.whl
- Upload date:
- Size: 22.9 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 | 4d9a5728a495451aa0bfddc8b0c1c6cec36be7292762bf17282791d535c2c310 |
|
MD5 | 362eaad8d271b4cc14887d8ff39ea9ee |
|
BLAKE2b-256 | 893668b4bcb54e0e58f461cf46683cc2ada3f2fcb2d9601fb45c981ed4e37208 |