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
- 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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
blag-1.3.0.tar.gz
(10.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
blag-1.3.0-py3-none-any.whl
(11.1 kB
view details)
File details
Details for the file blag-1.3.0.tar.gz.
File metadata
- Download URL: blag-1.3.0.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.0 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a96b74eeb6ea2c7b8f59c96049d8dcc910609734f663b9c57572932815b2d88e
|
|
| MD5 |
c86711c92bd0b36b95fa46f1a9af9138
|
|
| BLAKE2b-256 |
92162e979f14a8eb7afbe45cd62b5234d7e5951f0df87218837c8c40d9ab21e6
|
File details
Details for the file blag-1.3.0-py3-none-any.whl.
File metadata
- Download URL: blag-1.3.0-py3-none-any.whl
- Upload date:
- Size: 11.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.0 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a95c8dbedbf2c8a7ba9cab2cac6f12fa95af9a06559f4d3ae37360d67b4ba74a
|
|
| MD5 |
e652a3d0263800551e68ec66cefc0f6f
|
|
| BLAKE2b-256 |
508b3f9093554e2b09cdfccf3f1ec7ec2a51459f9d8dc21fa2c4ae93d33aee17
|