Skip to content

obestwalter/obestwalter.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d240783 · Mar 28, 2022
Dec 14, 2019
Dec 14, 2019
Nov 17, 2019
Mar 28, 2022
May 15, 2020
May 16, 2020
Nov 10, 2019
Mar 28, 2022
Nov 1, 2019
May 16, 2020
Nov 18, 2019
Nov 10, 2019
Mar 28, 2022
Feb 17, 2017
Nov 12, 2019
Nov 10, 2019
Nov 12, 2019
Nov 17, 2019

Repository files navigation

Sources for my personal website

If you just want to read - this might look better: https://oliver.bestwalter.de.

Clone this project with submodules

3rd party packages in packages are git submodules, so cloning this repo completely means:

$ git clone --recurse-submodules <url of this repo>

add submodules later after normal clone:

$ git submodule update --init.

update submodules:

$ git submodule update --remote <repo name>

add new plugin:

$ git submodule add <repo url>
$ git commit -am 'add <repo name>
$ git push origin master

Lektor development 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 to be make it easier to debug and modify.

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

task automation

All things worth doing are accessible via tox:

$ tox -av

shows what's on offer

Acknowledgements

notes

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

sass problems?

When getting LoadError: cannot load such file -- rb-fsevent run:

gem install rb-fsevent

css is a wondrous thing

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