X-Git-Url: https://git.ralfj.de/web.git/blobdiff_plain/2af997a3ebc742057551ac0de6e750fe728326eb..13948f7acae4033767c1a2936916b73ab08d6a4c:/ralf/_plugins/categories.rb?ds=sidebyside diff --git a/ralf/_plugins/categories.rb b/ralf/_plugins/categories.rb index 69375da..1da0fe1 100644 --- a/ralf/_plugins/categories.rb +++ b/ralf/_plugins/categories.rb @@ -20,6 +20,7 @@ module Jekyll safe true def generate(site) + return if site.config['blog'].nil? dir = site.config['blog']['category_dir'] || 'categories' if site.layouts.key? 'category_index' site.categories.each_key do |category|