fix research page
authorRalf Jung <post@ralfj.de>
Mon, 12 Oct 2015 12:11:01 +0000 (14:11 +0200)
committerRalf Jung <post@ralfj.de>
Mon, 12 Oct 2015 12:11:01 +0000 (14:11 +0200)
personal/_plugins/categories.rb
research/_config.yml

index 69375dac3b699f1d73bfca2af598b155a33ee6a6..1da0fe11edfff565202d8d2b13fcf03730b801ce 100644 (file)
@@ -20,6 +20,7 @@ module Jekyll
     safe true
 
     def generate(site)
     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|
       dir = site.config['blog']['category_dir'] || 'categories'
       if site.layouts.key? 'category_index'
         site.categories.each_key do |category|
index 868f8be0ce1de01b7a8585f186d3f69719e0727f..18ca2bc32b22e50d42fb2ddd7dfbd96c0de8fa4e 100644 (file)
@@ -7,7 +7,7 @@ defaults:
   - scope:
         path: "" # all files in the project
     values:
   - scope:
         path: "" # all files in the project
     values:
-        layout: "default"
+        layout: "page"
 
 # Build settings
 markdown: kramdown
 
 # Build settings
 markdown: kramdown