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
- Good looking default theme:
- 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.10
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-2.3.2.tar.gz
(116.9 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-2.3.2-py3-none-any.whl
(120.5 kB
view details)
File details
Details for the file blag-2.3.2.tar.gz.
File metadata
- Download URL: blag-2.3.2.tar.gz
- Upload date:
- Size: 116.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
522d35b9b72e87bd21fe3c559ff285797e14edf06dd8981b3b60359839483fc5
|
|
| MD5 |
5e0898da1226ac2e8fcdbb40f2869dce
|
|
| BLAKE2b-256 |
ad72002e763a754bcc3c79a6667eaa9f190845fdc315a9194d7f8c4c2f684702
|
File details
Details for the file blag-2.3.2-py3-none-any.whl.
File metadata
- Download URL: blag-2.3.2-py3-none-any.whl
- Upload date:
- Size: 120.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
921d9b9d064f39f405c911f479efe3da344918795ef97f4745cda159562f335c
|
|
| MD5 |
60931a61721ec019ee1fcbe68a138a4c
|
|
| BLAKE2b-256 |
c362d5bc3a3cfaba3f7d94ab75d83ca8dcad5fc80c175375d0fa3912531f07c6
|