well that was fast

calepin is nice, but it seems it’s not really supported anymore.

So I ventured to run pelican myself on sdf. Alas the VHOST and DNS memberships don’t offer much in the flexibility department. Reading on the webs looks like most people (markdown bloggers) gravitate towards jekyll and even octopress. So here I am. I had to convert my posts from scriptog.am / calepin / pelican format to something with a YAML front matter.

This worked:

#!/bin/bash
# Mac OS X .. ymmv
 
for i in $1/*.md; do
    sed -i '' -e 's/Tags:/tags:/' \
    -e 's/Title:/title:/' \
    -e 's/Date:/date:/' \
    -e '/title:/i\'$'\n''---' \
    -e '/title:/i\'$'\n''layout: single' \
    -e '/tags:/a\'$'\n''---' "$i"
done