CSS Python HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
content
databags
models
packages
templates
utils
.gitignore
LICENSE
README.md
obestwalter.lektorproject
requirements.txt
setup.py
tox.ini

README.md

My personal website (src)

Installation

The officially recommended way is weird and the way lektor deals with plugins is extra weird. I work from a local lektor clone with my own little server wrapper. That makes it easily debuggable and I can always use the hot new shit.

$ cd /path/to/here
$ pip install tox
$ tox -e dev

CLI helpers to do stuff

My minimalistic CLI to draft, publish, deploy, etc.

$ ob

Pygments bug

The inbuilt pygments plugin has a bug (creates wrong class name 'highlight' instead of 'hll'). For now I use my own stylesheet with adapted class name.

Hint: list themes with pygmentize -L and generate css files with pygmentize -S <theme name> -f html > <file name>.css

Acknowledgements

Legalese

Code is under MIT license and content is CC BY-NC-SA 4.0. If code is integrated that has a different license the license is included in the source here and their license apply.

code license content license