... | ... |
@@ -111,7 +111,17 @@ module Jekyll |
111 | 111 |
|
112 | 112 |
# Throw an exception if the layout couldn't be found. |
113 | 113 |
else |
114 |
- throw "No 'category_index' layout found." |
|
114 |
+ raise <<-ERR |
|
115 |
+ |
|
116 |
+ |
|
117 |
+=============================================== |
|
118 |
+ Error for category_generator.rb plugin |
|
119 |
+----------------------------------------------- |
|
120 |
+ No 'category_index.hmtl' in source/_layouts/ |
|
121 |
+ Perhaps you haven't installed a theme yet. |
|
122 |
+=============================================== |
|
123 |
+ |
|
124 |
+ERR |
|
115 | 125 |
end |
116 | 126 |
end |
117 | 127 |
|