From d07e5e375087009603efcac67253fd520552cc92 Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Mon, 18 Jan 2021 17:18:03 +0100
Subject: [PATCH] [web] Added anchor to bugfixes downloads and provide compare
 link.

---
 web/layouts/section/releases.html | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/web/layouts/section/releases.html b/web/layouts/section/releases.html
index 7d03ecdf797..e810a273603 100644
--- a/web/layouts/section/releases.html
+++ b/web/layouts/section/releases.html
@@ -47,10 +47,12 @@
     <hr>
     {{ range first 1 .Data.Pages }}
     {{ $vtag := (print "v" .Params.tag ) }}
-    <h1 id="latest">Current release with bug-fixes: {{ .Params.tag }}</h1>
+    <h1 id="bugfixes">Current release with bug-fixes: {{ .Params.tag }}</h1>
     <p>
       Here you can find the last released version ({{ .Params.tag }}) of OpenGeoSys
-      <a href="https://gitlab.opengeosys.org/ogs/ogs/-/tree/{{ $vtag }}"> enhanced with bug-fixes</a>.
+      <a href="https://gitlab.opengeosys.org/ogs/ogs/-/compare/{{ .Params.tag }}...{{ $vtag }}">
+        enhanced with bug-fixes
+      </a>.
       We recommend to use this version for production.
     </p>
     <div class="bg-green-50 py-1 px-4 rounded-lg shadow mb-12">
-- 
GitLab