Jekyll provides a markdown language and plugin code to add extra capabilities to the system. There is documentation at the Jekyll site, this post is a list of the setup I’ve used and a reminder how to achieve some features.
plugins
Installed directly into the _plugins directory (and some installations into _includes). Cloned the original plugin repositories into my own bitbucket repository to allow some minor changes and experiments.
Uses a HTTP call to collect a content for use. Used to get the HTML content of the prepared postcards before including onto the page. See _layouts/front.html. The url is a full http address to the postcard eg http://kevin.moore.name/postcard/2009/MakeHuman.html
Creates multiple output from the one source post. Used in creating a ‘postcard’ as well as the main page for each post. Requires the post’s ‘layout’ YAML front matter to be a list and to have the ‘postcard’ layout added:
The ‘mid’ variable is via ‘copy link’ in Drive or in the URL when viewing the map in google maps. If this is provided the latitude/longitude is optional.
_includes/mapping.html utilises the plugin with a tag: