1
0
mirror of https://github.com/venthur/blag.git synced 2025-11-25 12:42:41 +00:00
Bastian Venthur 641f0ed94e Added some extra tests:
* test for static files
* generated files
* archive
* atom feed
* tags and tags-archive
2022-08-07 21:11:41 +02:00
2022-06-09 21:44:27 +02:00
2022-07-01 12:44:23 +02:00
2022-06-29 21:27:55 +02:00
2022-06-28 21:02:51 +02:00
2022-08-07 21:11:41 +02:00
2021-03-21 15:10:58 +01:00
2022-08-03 21:36:40 +02:00
2018-07-14 22:02:54 +02:00
2022-06-09 21:22:13 +02:00
2021-03-22 09:30:14 +01:00
2021-10-06 13:18:37 +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
  • 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
Languages
Python 74.1%
CSS 17.4%
HTML 6.3%
Makefile 2.2%