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.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-2.1.0.tar.gz (115.9 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.1.0-py3-none-any.whl (120.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: blag-2.1.0.tar.gz
  • Upload date:
  • Size: 115.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for blag-2.1.0.tar.gz
Algorithm Hash digest
SHA256 2a4444ace6c25add8421cf18e9301c86511def90d09431190407da285152d238
MD5 8136d3129854c216241d6bc1192a09ca
BLAKE2b-256 ce99034b9a77f1dd01de53ad5a3e7b714a711796d4edaa8766034487646c7eb2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: blag-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 120.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for blag-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b1cd846ae00fde61f54bffba41933e41add5f5a249594fd9bd4075bb0e98fc7e
MD5 99f65733f2f7fef1b14b83d656ee5183
BLAKE2b-256 107fe6783942f42a69bb29d3e4f71b37fa49407082d436b27ea8f7b39df9d7ea

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