From 54d15e2e8b91c53cd4e5d6147baf9adf871d3b55 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 12 Oct 2015 14:11:01 +0200 Subject: [PATCH 1/1] fix research page --- personal/_plugins/categories.rb | 1 + research/_config.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- 2.30.2