From: Ralf Jung Date: Mon, 12 Oct 2015 12:11:01 +0000 (+0200) Subject: fix research page X-Git-Url: https://git.ralfj.de/web.git/commitdiff_plain/860f317515838546fab7f5f47b154192f3b52d9d?ds=inline;hp=8f56133dcadef940f6868fe72f1a6d696ac1d994 fix research page --- diff --git a/ralf/_plugins/categories.rb b/ralf/_plugins/categories.rb index 69375da..1da0fe1 100644 --- a/ralf/_plugins/categories.rb +++ b/ralf/_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| diff --git a/research/_config.yml b/research/_config.yml index 868f8be..18ca2bc 100644 --- a/research/_config.yml +++ b/research/_config.yml @@ -7,7 +7,7 @@ defaults: - scope: path: "" # all files in the project values: - layout: "default" + layout: "page" # Build settings markdown: kramdown