Skip to main content

blog-aware, static site generator

Project description

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

Project details


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

Uploaded Source

Built Distribution

blag-2.3.3-py3-none-any.whl (119.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: blag-2.3.3.tar.gz
  • Upload date:
  • Size: 116.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for blag-2.3.3.tar.gz
Algorithm Hash digest
SHA256 5a3172e3ab14d622e2356c67afccc277cd4ebd3fb4a946340a800a5dc7441d67
MD5 57d20da9fbc903b9b3d0d9af396158a2
BLAKE2b-256 6d0da89759a294b0b33fa0b1579098086afe90c4f3c47911647f4983858c7ff8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: blag-2.3.3-py3-none-any.whl
  • Upload date:
  • Size: 119.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for blag-2.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 423e96439fe26854dcb3ba5792f45f9a4b378aa384e2306d9543019a2c0e759d
MD5 0121d417f6b1287aaaa84ff8a23a42ca
BLAKE2b-256 f3ad984c1a20993e4265205a2052a02a2458af9d149b5373231e03102b1b3a0c

See more details on using hashes here.

Supported by

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