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

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

Uploaded Source

Built Distribution

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

blag-1.3.1-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: blag-1.3.1.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.5

File hashes

Hashes for blag-1.3.1.tar.gz
Algorithm Hash digest
SHA256 e7b664f252c99df71ba5675868d93ee528a9b3d9e5147b5b25c767584df71847
MD5 d7114167e871b2d73690f66627cedfa6
BLAKE2b-256 3449c435c617c68cb1538d2603ee9bf8cf19e1b3cd59011675acdbcbf94b6fb6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: blag-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.5

File hashes

Hashes for blag-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 88239b49c1d4d9e7228cdea8867cd9f0198795fbfcb650283f2898f07f350c5e
MD5 7225aee04bdcccaabef9b81a54fd5040
BLAKE2b-256 c83001fd34c46fd1e09dd8fd1d11493de4f9c592e71c1d9de4434f2f51a42088

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 Sentry Error logging StatusPage Status page