blag is a blog-aware, static site generator -- it uses Markdown and is written in Python. https://blag.readthedocs.io
  • Python 74.1%
  • CSS 17.4%
  • HTML 6.3%
  • Makefile 2.2%
Find a file
2025-11-29 17:12:24 +01:00
.github Bump actions/checkout from 5 to 6 2025-11-24 14:44:26 +00:00
blag Added footnotes 2025-11-04 09:06:47 +01:00
debian bumped changelogs 2025-04-27 11:49:08 +02:00
docs Added changelog to docs 2024-08-26 10:04:57 +02:00
tests Added footnotes 2025-11-04 09:06:47 +01:00
.gitignore replaced sphinx with mkdocs 2023-06-16 11:53:17 +02:00
.readthedocs.yaml fixed makefile and readthedocs 2025-07-18 09:24:29 +02:00
CHANGELOG.md Added footnotes 2025-11-04 09:06:47 +01:00
LICENSE tons of stuff 2018-07-14 22:02:54 +02:00
Makefile fixed makefile and readthedocs 2025-07-18 09:24:29 +02:00
MANIFEST.in added MANIFEST.in 2023-07-13 10:21:54 +02:00
mkdocs.yml Added changelog to docs 2024-08-26 10:04:57 +02:00
pyproject.toml remove requirements.txt and requirements-dev.txt 2025-07-18 09:24:26 +02:00
README.md Added footnotes 2025-11-04 09:06:47 +01:00

blag

blag is a blog-aware, static site generator, written in Python.

blag is named after the blag of the webcomic xkcd.

Features

  • Write content in Markdown
  • Good looking default theme: Blag Screenshot
  • Theming support using Jinja2 templates
  • Generation of Atom feeds for blog content
  • Fenced code blocks and syntax highlighting using Pygments
  • Markdown footnotes
  • 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