undefinedbehavior-website/README.md

24 lines
833 B
Markdown
Raw Normal View History

2022-08-28 18:56:24 +02:00
# undefinedbehavior-website
Content for [undefinedbehavior.de](undefinedbehavior.de).
## Deployment
Clone the repository and generate the website using `pelican content -s publishconf.py`.
Refer to the [pelican documentation](https://docs.getpelican.com/en/latest/settings.html "Settings - Pelican") for details on how to configure pelican.
## Filters
In order to use sidenotes and lightboxes, add `filters.py` as custom jinja filters to your `pelicanconf.py`:
from sys import path
from os import curdir
path.append(curdir)
2023-10-24 14:19:59 +02:00
from filters import add_sidenotes
2022-08-28 18:56:24 +02:00
2023-10-24 14:19:59 +02:00
JINJA_FILTERS = {'add_sidenotes': add_sidenotes}
2022-08-28 18:56:24 +02:00
## License
Most content on this site is licensed unter the [CC-BY-NC](https://creativecommons.org/licenses/by-nc/4.0/ "Creative Commons - Attribution-NonCommercial 4.0 International") license.