projects
/
web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rust post: tune wording
[web.git]
/
personal
/
_plugins
/
categories.rb
diff --git
a/personal/_plugins/categories.rb
b/personal/_plugins/categories.rb
index 69375dac3b699f1d73bfca2af598b155a33ee6a6..1da0fe11edfff565202d8d2b13fcf03730b801ce 100644
(file)
--- a/
personal/_plugins/categories.rb
+++ b/
personal/_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|