From 76c5b2fd8663ae0f5b3b99d5092c08e643c05a70 Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Thu, 8 Nov 2018 11:10:10 +0100
Subject: [PATCH] [web] Added redirects for (old) keyword docs and license.

Tutorial books contain links to the old OGS-5 keyword documentation.
---
 netlify.toml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/netlify.toml b/netlify.toml
index 5e034541743..97adeac3d6b 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -32,3 +32,11 @@
     yarn --ignore-engines --ignore-optional --non-interactive
     pandoc-citeproc --bib2json ../Documentation/bibliography.bib > data/bibliography.json
     hugo -b $DEPLOY_PRIME_URL"""
+
+[[redirects]]
+  from = "/help/documentation"
+  to = "https://ogs5-keywords.netlify.com"
+
+[[redirects]]
+  from = "/project/license"
+  to = "https://github.com/ufz/ogs/blob/master/LICENSE.txt"
-- 
GitLab