Improved error message for category_generator plugin. Addresses #116
This commit is contained in:
parent
745e8f77bb
commit
d774630d3e
@ -111,7 +111,17 @@ module Jekyll
|
|||||||
|
|
||||||
# Throw an exception if the layout couldn't be found.
|
# Throw an exception if the layout couldn't be found.
|
||||||
else
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user