From 2c7ab06e8ae2140b970e9caa2d07129d1cbf66eb Mon Sep 17 00:00:00 2001 From: Rien Date: Wed, 3 May 2017 15:50:27 +0200 Subject: [PATCH 1/3] Fix elo email --- data/bestuur.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/bestuur.yaml b/data/bestuur.yaml index de39dc2..87a76c3 100644 --- a/data/bestuur.yaml +++ b/data/bestuur.yaml @@ -17,7 +17,7 @@ - rol: Event manager naam: Eloïse Piret - mail: pr@zeus.ugent.be + mail: event@zeus.ugent.be - rol: Projectmanager naam: Feliciaan De Palmenaer From 80a13b0172609b2ee7a7ef5cd082ac8dc3d474eb Mon Sep 17 00:00:00 2001 From: Rien Date: Wed, 3 May 2017 15:50:41 +0200 Subject: [PATCH 2/3] Fix elo email From 6c6814f69ab8c4ce95c9e560213893b1878b01c1 Mon Sep 17 00:00:00 2001 From: Rien Maertens Date: Wed, 3 May 2017 23:08:15 +0200 Subject: [PATCH 3/3] Add check if blogpost has attribute --- lib/helpers/preprocess.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/helpers/preprocess.rb b/lib/helpers/preprocess.rb index 4a6a1ee..546197c 100644 --- a/lib/helpers/preprocess.rb +++ b/lib/helpers/preprocess.rb @@ -8,6 +8,7 @@ module PreprocessHelper def update_blog_attributes @items.find_all('/blog/**/*').each do |i| + raise "#{i.identifier} doesn't have 'created_at'" unless i[:created_at] i.update_attributes( # Tag all posts with article (for Blogging helper) kind: 'article',