diff --git a/plugins/category_generator.rb b/plugins/category_generator.rb index 77e06af..d4840a8 100644 --- a/plugins/category_generator.rb +++ b/plugins/category_generator.rb @@ -111,7 +111,17 @@ module Jekyll # Throw an exception if the layout couldn't be found. else - throw "No 'category_index' layout found." + raise <<-ERR + + +=============================================== + Error for category_generator.rb plugin +----------------------------------------------- + No 'category_index.hmtl' in source/_layouts/ + Perhaps you haven't installed a theme yet. +=============================================== + +ERR end end