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/54d15e2e8b91c53cd4e5d6147baf9adf871d3b55?ds=sidebyside 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