From e41b4051c7921eea0829fbaeed9268f559ef950d Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Tue, 10 Mar 2020 15:41:58 +0100
Subject: [PATCH] [web] Minor fixes.

---
 web/content/docs/_index.pandoc            | 2 +-
 web/layouts/partials/components/news.html | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/web/content/docs/_index.pandoc b/web/content/docs/_index.pandoc
index 8c286539084..0759efa0378 100644
--- a/web/content/docs/_index.pandoc
+++ b/web/content/docs/_index.pandoc
@@ -15,7 +15,7 @@ icon = "fal fa-laptop-code"
 
 [[sections]]
 name = "Benchmarks"
-url = "/docs/benchmarks/elliptic/groundwater-flow-dirichlet/"
+url = "/docs/benchmarks/elliptic/elliptic-dirichlet/"
 text = "Basic benchmarks are explained and input files are provided to get you started in using OGS."
 icon = "fal fa-rabbit-fast"
 
diff --git a/web/layouts/partials/components/news.html b/web/layouts/partials/components/news.html
index 5a61687e5dc..48d5595780b 100644
--- a/web/layouts/partials/components/news.html
+++ b/web/layouts/partials/components/news.html
@@ -27,8 +27,8 @@
 
 {{ define "latest-pages" }}
 <ul>
-{{ $pages := .Pages.ByLastmod.Reverse }}
-{{ range first 8 (where .Pages "CurrentSection.RelPermalink" "/docs/benchmarks/").ByLastmod.Reverse }}
+
+{{ range first 8 (where .Site.RegularPages "CurrentSection.RelPermalink" "/docs/benchmarks/").ByLastmod.Reverse }}
   <li>
     <!-- Two weeks -->
     <a href="{{ .Permalink }}">
-- 
GitLab