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.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-2.2.1.tar.gz
(116.7 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.2.1-py3-none-any.whl
(120.7 kB
view details)
File details
Details for the file blag-2.2.1.tar.gz.
File metadata
- Download URL: blag-2.2.1.tar.gz
- Upload date:
- Size: 116.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ba179d61b72fd427dc3092d9cf822a2e548648e58aa85730ac0160f76783edd
|
|
| MD5 |
aa124453a14af03ddd1c6e7bd301e1f9
|
|
| BLAKE2b-256 |
6477d438fe6440611c29274189f44a36c6297209378a6f61ac95d2f2692d5eac
|
File details
Details for the file blag-2.2.1-py3-none-any.whl.
File metadata
- Download URL: blag-2.2.1-py3-none-any.whl
- Upload date:
- Size: 120.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
505913e89aa4d5c5c6c66dc89487b3f547fbba90c5935a9e287595ac4e7c5e38
|
|
| MD5 |
45f76f17360f30e79f0794d5d7edba2d
|
|
| BLAKE2b-256 |
d1a52b16b77397ec897027cc8a363cf30ec87f8982ae601b79e5c71b81034fc3
|