mirror of
https://github.com/venthur/blag.git
synced 2025-11-25 12:42:41 +00:00
d0c246a6c32f765dbffd0e77c2a4f4dc7004cefc
Some checks failed
/ test (ubuntu-latest, 3.10) (push) Failing after 1m12s
/ mypy (push) Failing after 1m9s
/ test-release (push) Failing after 1m21s
/ test (ubuntu-latest, 3.11) (push) Failing after 1m14s
/ test (ubuntu-latest, 3.12) (push) Failing after 1m19s
/ test (ubuntu-latest, 3.13) (push) Failing after 1m24s
/ lint (push) Failing after 1m19s
/ test (macos-latest, 3.10) (push) Has been cancelled
/ test (macos-latest, 3.11) (push) Has been cancelled
/ test (macos-latest, 3.12) (push) Has been cancelled
/ test (macos-latest, 3.13) (push) Has been cancelled
/ test (windows-latest, 3.10) (push) Has been cancelled
/ test (windows-latest, 3.11) (push) Has been cancelled
/ test (windows-latest, 3.12) (push) Has been cancelled
/ test (windows-latest, 3.13) (push) Has been cancelled
Bump actions/setup-python from 5 to 6
blag
blag is a blog-aware, static site generator, written in Python.
- an example "deployment" can be found here
- online documentation is available on https://readthedocs.org.
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.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
Description
Languages
Python
74.1%
CSS
17.4%
HTML
6.3%
Makefile
2.2%