From a89d883236564e666fb7b448d40588c8def79eaa Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Thu, 6 Jun 2019 16:47:40 +0200
Subject: [PATCH] [web] Fixed Hugo warnings.

---
 web/config.toml                     | 1 +
 web/layouts/partials/header.html    | 2 +-
 web/layouts/partials/page-info.html | 2 +-
 web/layouts/section/section.html    | 0
 4 files changed, 3 insertions(+), 2 deletions(-)
 create mode 100644 web/layouts/section/section.html

diff --git a/web/config.toml b/web/config.toml
index f71c3399d2e..c1172ba6a8b 100644
--- a/web/config.toml
+++ b/web/config.toml
@@ -8,6 +8,7 @@ pygmentsstyle = 'friendly'
 enableGitInfo = true
 canonifyURLs = true
 staticDir = ["dist", "static"]
+disableKinds = ["taxonomyTerm"]
 
 [params]
   alert = ""
diff --git a/web/layouts/partials/header.html b/web/layouts/partials/header.html
index 359c14845db..ca5ccb83d6f 100644
--- a/web/layouts/partials/header.html
+++ b/web/layouts/partials/header.html
@@ -4,7 +4,7 @@
 <head>
   <meta charset="utf-8">
   <meta name="viewport" content="width=device-width, initial-scale=1">
-  {{ .Hugo.Generator }}
+  {{ hugo.Generator }}
 
   <meta name="description" content="OpenGeoSys">
   <meta name="author" content="OpenGeoSys Community">
diff --git a/web/layouts/partials/page-info.html b/web/layouts/partials/page-info.html
index bfc02c5d8ee..0008543a5ba 100644
--- a/web/layouts/partials/page-info.html
+++ b/web/layouts/partials/page-info.html
@@ -1,6 +1,6 @@
 <div class="mt-20 text-sm text-grey-darker">
     <p>This article was written by {{ .Params.Author }}. If you are missing something or you find an error please <a href="mailto:ogs-devs@googlegroups.com">let us know</a>.
-        Generated with <a href="https://gohugo.io">Hugo</a> {{ .Hugo.Version }}. Last revision: {{ .Lastmod.Format "January 2, 2006" }} {{ if .IsPage }}<em>
+        Generated with <a href="https://gohugo.io">Hugo</a> {{ hugo.Version }}. Last revision: {{ .Lastmod.Format "January 2, 2006" }} {{ if .IsPage }}<em>
             {{ with .GitInfo }}
                 <br>
                 Commit: {{ .Subject }} <a href="https://github.com/ufz/ogs/commit/{{ .AbbreviatedHash }}">{{ .AbbreviatedHash }}</a>
diff --git a/web/layouts/section/section.html b/web/layouts/section/section.html
new file mode 100644
index 00000000000..e69de29bb2d
-- 
GitLab