It’s always a good idea to include a
sitemap.xml file for your site to help sites like Google track you and appropriately suggest page results in searches. There are a couple of Jekyll plugins that generate this file for you automatically (here and here), but I didn’t like the ouput I was getting.
I wrote a simple Jekyll plugin that allows you to quickly add Font Awesome icons to your posts and pages. Feel free to copy the code snippet below to your
_plugins directory in your Jekyll site, or you can view the source gist here - font-awesome.rb.
In this post, I’d like to shamelessly plug my first open source community project sublime-jekyll - a Sublime Text package for easier Jekyll site creation. I created this out of a personal need for better syntax highlighting of YAML front-matter in markdown and HTML files, as well as template tag completions (since I always forget to close my opening template tags).
One of the things that Jekyll makes super simple is the use of categories and tags. However, being able to filter by and generate pages for specific categories and tags is a little more challenging. Coming from more of a Python background, I wasn’t thrilled to learn that in order to do this I would have to write a custom generator plugin in Ruby (a language I don’t know very well at all). This post outlines how I created my plugin in case someone else finds this helpful in the future.
Here are some helpful fish functions I’ve added to my configuration to make dealing with the terminal easier.