blag
blag is a blog-aware, static site generator, written in Python.
- an example "deployment" can be found here
- online documentation is available on https://readthedocs.org.
blag is named after the blag of the webcomic xkcd.
Features
- Write content in Markdown
- Theming support using Jinja2 templates
- Generation of Atom feeds for blog content
- Fenced code blocks and syntax highlighting using Pygments
- Integrated devserver
- Available on PyPI
blag runs on Linux, Mac and Windows and requires Python >= 3.8
Install
blag is available on PyPI, you can install it via:
$ pip install blag
On Debian or Ubuntu, you can also just install the Debian package:
$ sudo aptitude install blag
Quickstart
$ pip install blag # 1. install blag
$ blag quickstart # 2. create a new site
$ vim content/hello-world.md # 3. create some content
$ blag build # 4. build the website
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
blag-1.4.0.tar.gz
(11.0 kB
view details)
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
blag-1.4.0-py3-none-any.whl
(12.8 kB
view details)
File details
Details for the file blag-1.4.0.tar.gz.
File metadata
- Download URL: blag-1.4.0.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c27a05fb009b4b7cb86a2d2aaaf4f3606549fd21f73da8c3ef8fee981bdbee44
|
|
| MD5 |
980462ebcc67d642c2c2fe533f9ab498
|
|
| BLAKE2b-256 |
076eddaa725e6b73e22e99226ab550c24e38a7e56fa19b9aa0a381e8c74be85e
|
File details
Details for the file blag-1.4.0-py3-none-any.whl.
File metadata
- Download URL: blag-1.4.0-py3-none-any.whl
- Upload date:
- Size: 12.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d43888464d719b6123875c01443839bef406eb1638372937bd90903a9fe78f4
|
|
| MD5 |
f8973a16d041ab551b42ad69d1511681
|
|
| BLAKE2b-256 |
755762f9346eb46e29269c7774cb7783daa43113a2ab8d57335988a633634305
|