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/3ff2a3432e47c6d7f4c17e1b9e5c93dc9e49f040?ds=inline fix research page --- diff --git a/personal/_plugins/categories.rb b/personal/_plugins/categories.rb index 69375da..1da0fe1 100644 --- 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| 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