Last updated:
0 purchases
pelicangesetze 0.1.0
Pelican plugin for py-gesetze
pelican-gesetze links german legal norms, dependency-free & GDPR-friendly.
Installation
It's available from PyPi using a package manager of your choice:
# Using 'pip'
pip install pelican-gesetze
# Using 'poetry'
poetry add pelican-gesetze
Getting started
Using pelican-gesetze is straightforward: After installing it, the jinja filter gesetzify is available:
<p class="content">
{{ page.content | gesetzify }}
</p>
Configuration
The following settings need to be prepended by GESETZE_ to work, eg for enabling full title attributes, define GESETZE_TITLE_ATTRIBUTE = 'full' in your settings (most likely pelicanconf.py).
Setting
Type
Default
Description
DRIVER_ORDER
`list
str`
['gesetze', 'dejure', 'buzer', 'lexparency']
TITLE_ATTRIBUTE
`str
False`
False
CUSTOM_ATTRIBUTES
dict
{"target": "_blank"}
Defines HTML attribute defaults
For more information, see here.
Roadmap
Update README.md
Add tests
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.