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
  • 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.0.0.tar.gz (24.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-2.0.0-py3-none-any.whl (29.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for blag-2.0.0.tar.gz
Algorithm Hash digest
SHA256 57f0862ad70a54a6347a3031d45556111b846cf707707221a994e76bba817240
MD5 8f76904b0feba8a762b21f86785b6581
BLAKE2b-256 482741ac1d39d93411b2279418cf0e3ff7d799f39cdcfbc942e84ecadc8c22d1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for blag-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 13b4b90c838b877ab35a2b041f29745c6517c11ef627998173e739856381c612
MD5 ed9860b97fe91f891b7de53d7783ad8c
BLAKE2b-256 9f42c18626efbb813aba187229f6bc0fe90cc38998a034a1504b604c7dc5e913

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