25 lines
904 B
Markdown
25 lines
904 B
Markdown
# 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)
|
|
from filters import add_lightboxes, add_sidenotes
|
|
|
|
JINJA_FILTERS = {'add_lightboxes': add_lightboxes,
|
|
'add_sidenotes': add_sidenotes}
|
|
|
|
## 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.
|