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.3.2.tar.gz
(10.3 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.3.2-py3-none-any.whl
(11.8 kB
view details)
File details
Details for the file blag-1.3.2.tar.gz.
File metadata
- Download URL: blag-1.3.2.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f27996ba5fd395e4d392ffbc8c1b4c9dee2c3a0f11382ec2989891db7e64cd8
|
|
| MD5 |
cac33687aab820ad77c52874fe13abc6
|
|
| BLAKE2b-256 |
d5fb131eb47bced9779b4c1538543c4a836f66698ef66fa3b4aeee243a6d0084
|
File details
Details for the file blag-1.3.2-py3-none-any.whl.
File metadata
- Download URL: blag-1.3.2-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7645c847a540d56ee9da83db72f7e40ef3193a2c9e4d7a9855714c19caef324c
|
|
| MD5 |
a7d6103d9a2a781231c6eae0fcab424e
|
|
| BLAKE2b-256 |
084a8a4eccf054e411577309477e9dea212f220e27a1483ad410605d9e5661d5
|