From 84ad66683a7f1e54945db6720f994f09acbea1e7 Mon Sep 17 00:00:00 2001 From: rbmaerte Date: Thu, 27 Feb 2020 20:23:33 +0100 Subject: [PATCH 1/2] Create stuver.erb --- content/stuver.erb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 content/stuver.erb diff --git a/content/stuver.erb b/content/stuver.erb new file mode 100644 index 0000000..057d695 --- /dev/null +++ b/content/stuver.erb @@ -0,0 +1,5 @@ +--- +title: Stuver +head: "" +--- +Ga naar de website van de Gentse Studentenraad. From 080ef404fbdd90d409a8c50708f431eff2cce233 Mon Sep 17 00:00:00 2001 From: rbmaerte Date: Thu, 27 Feb 2020 20:25:33 +0100 Subject: [PATCH 2/2] Allow for extra head content --- layouts/default.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/default.erb b/layouts/default.erb index 54264ac..b80bfa7 100644 --- a/layouts/default.erb +++ b/layouts/default.erb @@ -3,9 +3,10 @@ Durf Doen! - <%= item[:titel] || item.identifier.without_ext.split('/').last %> + <%= raw item[:head] %> <%= render '/partials/navbar.*' %> <%= yield %> - \ No newline at end of file +