From 34b6c9ffb5749c7a4e13546fc64b21f66d541dc1 Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Tue, 14 Feb 2017 11:46:45 +0100
Subject: [PATCH] [web] Added navigation info.

---
 web/config.toml                               | 24 ++++++++++++++++++-
 web/content/about.md                          |  5 ++++
 .../elliptic/groundwater-flow-neumann.md      |  5 ++++
 .../devguide/getting-started/introduction.md  |  6 ++++-
 .../devguide/getting-started/prerequisites.md |  6 +++--
 5 files changed, 42 insertions(+), 4 deletions(-)

diff --git a/web/config.toml b/web/config.toml
index 510a24f0118..8531560b1c1 100644
--- a/web/config.toml
+++ b/web/config.toml
@@ -7,7 +7,29 @@ pygmentsstyle = 'friendly'
 enableGitInfo = true
 
 [params.sharingicons]
-   hide = true
+  hide = true
 
 [taxonomies]
 news = "news"
+
+# Main menu
+[[menu.main]]
+  name = "News"
+  url = "/news/"
+  weight = 1
+# Menu entry defined in about.md
+[[menu.main]]
+  name = "Docs"
+  url = "/docs/"
+  identifier = "docs"
+  weight = 3
+
+# Devguide sidebar menu top-level categories
+[[menu.devguide]]
+  name = "Getting Started"
+  identifier = "getting-started"
+
+# Benchmarks sidebar top-level categories
+[[menu.benchmarks]]
+  name = "Elliptic"
+  identifier = "elliptic"
diff --git a/web/content/about.md b/web/content/about.md
index bb8371e651c..e56fd45f15a 100644
--- a/web/content/about.md
+++ b/web/content/about.md
@@ -3,6 +3,11 @@ title = "About"
 author = "Lars Bilke"
 date = "2017-01-13T14:24:23+01:00"
 
+[menu]
+    [menu.main]
+        name = "About"
+        url = "/about/"
+        weight = 2
 +++
 
 See [web/README.md](https://github.com/ufz/ogs/blob/master/web/README.md) for getting started on developing this site!
diff --git a/web/content/docs/benchmarks/elliptic/groundwater-flow-neumann.md b/web/content/docs/benchmarks/elliptic/groundwater-flow-neumann.md
index a61ee862ae2..db091f21952 100644
--- a/web/content/docs/benchmarks/elliptic/groundwater-flow-neumann.md
+++ b/web/content/docs/benchmarks/elliptic/groundwater-flow-neumann.md
@@ -4,6 +4,11 @@ author = "Dmitri Naumov"
 title = "Groundwater flow (Neumann)"
 
 aliases = [ "/docs/benchmarks/" ] # First benchmark page
+
+[menu]
+  [menu.benchmarks]
+    parent = "elliptic"
+    weight = 0
 +++
 
 ## Equations
diff --git a/web/content/docs/devguide/getting-started/introduction.md b/web/content/docs/devguide/getting-started/introduction.md
index 3cbc512d951..31cc7762af4 100644
--- a/web/content/docs/devguide/getting-started/introduction.md
+++ b/web/content/docs/devguide/getting-started/introduction.md
@@ -4,8 +4,12 @@ title = "Welcome!"
 author = "Lars Bilke"
 weight = 1
 
-# next = "prerequisites.md"
 aliases = [ "/docs/devguide/" ] # First devguide page
+
+[menu]
+  [menu.devguide]
+    parent = "getting-started"
+    weight = 0
 +++
 
 In this help section you will find everything related to development. Please walk through the Getting Started-section **step by step**. At the end you will have the latest OGS source code, the OGS finite element simulator compiled and everything you need to start developing for OGS! This first section of the developer guide will give you just a brief introduction, make sure to read the more advanced topics after you have familiarized yourself with the basics.
diff --git a/web/content/docs/devguide/getting-started/prerequisites.md b/web/content/docs/devguide/getting-started/prerequisites.md
index 1bac2a916a8..6e7547b8b49 100644
--- a/web/content/docs/devguide/getting-started/prerequisites.md
+++ b/web/content/docs/devguide/getting-started/prerequisites.md
@@ -4,8 +4,10 @@ title = "Set Up Prerequisites"
 author = "Lars Bilke"
 weight = 2
 
-# back = "introduction.md"
-
+[menu]
+  [menu.devguide]
+    parent = "getting-started"
+    weight = 1
 +++
 
 ## Minimum requirements
-- 
GitLab