Making a gitlab-ci for the pelican site

So I've had this pelican site for .. ehm.. $time ..

First .gitlab-ci.yml was easy, just use the basic stuff from examples, but then I needed some extra stuff.

Had to make a requirements.txt to add a few basic python packages (which pulls in an extra dusin).

requirements.txt:

pelican …
more ...

blockdiags nwdiag embedded in markdown

So after doing a bit of configuration and installation:

sudo apt install -y blockdiag nwdiag apt-utils git python-pip graphviz python-blockdiag
cp -R ../pelican-plugins/liquid_tags plugins/

Doing some config:

PLUGIN_PATHS = ['plugins']
PLUGINS = ['i18n_subsites','neighbors','tag_cloud','post_revision','post_stats','liquid_tags.graphviz','liquid_tags.diag']

It was time to try it out with something that …

more ...

Getting Pelican Plugins working

So, I tried earlier to use bootstrap3 as a theme, more acurately, I tried messing around with themse from Pelican Themes, only very themes worked so in desperation I started reading some documentation, and it always seemed to simple..

Tweak the pelicanconf.py, and it just works.. also bootstrap3 needs …

more ...

Trying something "new"

So many components in a wordpress site that it's just scary, and I've had most of them kind of blow up from time to time.

First of all there's the mysql backend that doesn't really run on state of the art hardware, to say the least, sometimes it's just not …

more ...