Skip to main content

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

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.3.1.tar.gz (116.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blag-2.3.1-py3-none-any.whl (120.4 kB view details)

Uploaded Python 3

File details

Details for the file blag-2.3.1.tar.gz.

File metadata

  • Download URL: blag-2.3.1.tar.gz
  • Upload date:
  • Size: 116.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for blag-2.3.1.tar.gz
Algorithm Hash digest
SHA256 c90e2b592118e1e8c87aaab911a514bb302702edadd22e36ea56daecbcbb9c53
MD5 0588255b8f320751a11b4b9f98fd483c
BLAKE2b-256 ade1c116cb86f6b8d26473ec8650de7056386a46b918ee78bbb27e478e67f4e3

See more details on using hashes here.

File details

Details for the file blag-2.3.1-py3-none-any.whl.

File metadata

  • Download URL: blag-2.3.1-py3-none-any.whl
  • Upload date:
  • Size: 120.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for blag-2.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b0a1e2d113a07d689e1a3a710f9abeea0f085c9389c60b93e8ac7ac792817870
MD5 fd996f83b6e5a80610fb16f6a527d1dd
BLAKE2b-256 16034a29a0f55598c3beaa51d4d23b936a4b3ae74f7a87b669f48e7c8f3cd64a

See more details on using hashes here.

Supported by

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