Skip to main content

blog-aware, static site generator

Project description


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

blag is named after the blag of the webcomic xkcd.


  • 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
  • Integrated devserver
  • Available on PyPI

blag runs on Linux, Mac and Windows and requires Python >= 3.8


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


$ pip install blag                  # 1. install blag
$ blag quickstart                   # 2. create a new site
$ vim content/        # 3. create some content
$ blag build                        # 4. build the website

Project details

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.1.0.tar.gz (115.9 kB view hashes)

Uploaded source

Built Distribution

blag-2.1.0-py3-none-any.whl (120.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page