/
View dependency graph
Depends on
- dh-python (dh-python, dh-sequence-python3, pybuild-plugin-pyproject)
- feedgenerator (python3-feedgenerator)
- jinja2 (python3-jinja2)
- mkdocs-material (mkdocs-material)
- mkdocstrings-python-handlers (mkdocstrings-python-handlers)
- pygments (python3-pygments)
- pytest (python3-pytest)
- python-markdown (python3-markdown)
- python-mkdocs (mkdocs)
- python-pytest-cov (python3-pytest-cov)
- python3-defaults (python3-all)
- setuptools (python3-setuptools)
- debhelper-compat
README (full)
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
| dir | .github/ |
| dir | .ruff_cache/ |
| dir | blag/ |
| dir | debian/ |
| dir | docs/ |
| dir | tests/ |
| file | .gitignore |
| file | .readthedocs.yaml |
| file | CHANGELOG.md |
| file | LICENSE |
| file | MANIFEST.in |
| file | Makefile |
| file | README.md |
| file | mkdocs.yml |
| file | pyproject.toml |
| file | requirements-dev.txt |
| file | requirements.txt |