posts tagged with ruby

Generating sitemaps with Jekyll

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.

Auto-create Jekyll category and tag pages

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.

to top