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
Release files for blag 2.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| blag-2.3.3.tar.gz | 116.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| blag-2.3.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 236.1 kB
Release files / blag-2.3.3.tar.gz
| Download URL | blag-2.3.3.tar.gz |
|---|---|
| Size | 116.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a3172e3ab14d622e2356c67afccc277cd4ebd3fb4a946340a800a5dc7441d67
|
|
BLAKE2b-256 checksum How to use checksums |
6d0da89759a294b0b33fa0b1579098086afe90c4f3c47911647f4983858c7ff8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / blag-2.3.3-py3-none-any.whl
| Download URL | blag-2.3.3-py3-none-any.whl |
|---|---|
| Size | 119.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
423e96439fe26854dcb3ba5792f45f9a4b378aa384e2306d9543019a2c0e759d
|
|
BLAKE2b-256 checksum How to use checksums |
f3ad984c1a20993e4265205a2052a02a2458af9d149b5373231e03102b1b3a0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|