Freyja Odinthrir freyjagp

blag (2.4.2)

Published 2025-09-11 00:06:35 +00:00 by freyjagp in freyjagp/blag

Installation

pip install --index-url  blag

About this package

blog-aware, static site generator

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
  • 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

Requirements

Requires Python: >=3.10
Details
PyPI
2025-09-11 00:06:35 +00:00
7
230 KiB
Assets (2)
Versions (3) View all
2.4.2 2025-09-11
2.4.1 2024-10-26
2.4.0 2024-09-06