update menu plugin to work with Jekyll 3.0
[web.git] / ralf / _plugins / categories.rb
index 1da0fe11edfff565202d8d2b13fcf03730b801ce..65776d72b067790e98677386f8df0f52c70ac1e9 100644 (file)
@@ -9,7 +9,7 @@ module Jekyll
 
       self.process(@name)
       self.read_yaml(File.join(base, '_layouts'), layout)
-      self.data['category'] = category
+      self.data['category'] = category # this tells the site template to add a link to the RSS feed
 
       category_title_prefix = site.config['blog']['category_title_prefix'] || 'Category: '
       self.data['title'] = "#{category_title_prefix}#{category.capitalize}"