Bastian Venthur c952c574b7 Don't use internal templates anymore.
Blag will throw an error if a template is not found locally. The error
message contains an explanation for the user on where to get the missing
templates.

Quickstart will generate templates for the user in the working
directory.

Updated tests appropriately.
2023-06-01 13:35:33 +02:00
2023-04-16 10:37:06 +02:00
2023-04-16 10:49:06 +02:00
2022-12-09 20:57:11 +01:00
2022-09-01 19:03:07 +02:00
2021-03-21 15:10:58 +01:00
2018-07-14 22:02:54 +02:00
2023-04-16 10:32:04 +02:00
2022-06-09 21:22:13 +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
Description
Add footnotes and strikethru to https://github.com/venthur/blag
Readme 840 KiB
Languages
Python 74%
CSS 17.4%
HTML 6.4%
Makefile 2.2%