more on pointers in integer variables
[web.git] / personal / _plugins / categories.rb
index 4d08693c9ef574150d198c2f395ff834252ac660..83fef6e3625fef4227a2bd832da23c1349aa5776 100644 (file)
@@ -11,7 +11,7 @@ module Jekyll
       self.read_yaml(File.join(base, '_layouts'), layout)
       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: '
+      category_title_prefix = site.config['blog']['title'] + ": "
       self.data['title'] = "#{category_title_prefix}#{category.capitalize}"
     end
   end