Tag: python

Getting Lost in Rabbit Holes

Rabbit Holes

In retrospect, I should have known there was going to be a problem. It seemed like such a simple thing, after all. I just wanted to switch to YAML to define my post front matter. YAML, which stands for YAML Ain’t Markup Language, has a very simple job: it provides a structure for keyed data (or metadata) that is human readable and portable1. Even more importantly, my markdown editor (Typora) has this neat little feature that lets me set up a YAML front matter section right in the post. It is a nice little bonus in what is, already, a gorgeous markdown editor.

The Python Markdown processor that Pelican uses doesn’t require YAML, but I prefer it for cross-compatibility with other platforms and processors (pandoc, Jekyll, etc). Luckily, there was a YAML plugin already designed for Pelican, so I decided to check it out. I won’t deny that I was a bit dubious about the plugin. It has been quite a while since it was updated. Nevertheless, I added it to my config and set it to build.

And crashed.

I expect this from time to time. One of the real joys of working with open …


© Geoffrey Gimse. Built using Pelican. Except where noted, all photos are my own. Other images used on this site are in the Public Domain and available from Openclipart, or have been purchased for use via The Noun Project.