1
0
mirror of https://github.com/venthur/blag.git synced 2025-11-25 12:42:41 +00:00
Bastian Venthur d0c246a6c3
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
Merge pull request #300 from venthur/dependabot/github_actions/actions/setup-python-6
Bump actions/setup-python from 5 to 6
2025-09-11 10:06:27 +02:00
2025-04-27 11:49:08 +02:00
2025-04-27 11:49:08 +02:00
2024-08-26 10:04:57 +02:00
2025-04-24 14:03:47 +02:00
2023-06-16 11:53:17 +02:00
2025-07-18 09:30:38 +02:00
2018-07-14 22:02:54 +02:00
2025-07-18 09:24:29 +02:00
2023-07-13 10:21:54 +02:00
2024-08-26 10:04:57 +02:00

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
Languages
Python 74.1%
CSS 17.4%
HTML 6.3%
Makefile 2.2%