From 8c409de4dc7dd88d1cdb9db3abb2cb7d62a90752 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20St=C3=B6r?= Date: Sat, 18 May 2024 07:24:21 +0200 Subject: [PATCH 1/2] Add edit-this-page for SNAPSHOT Rather than only displaying the edit-this-page link for the latest release, we also display it for the "main" version i.e. the latest SNAPSHOT. --- _layouts/guides.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/guides.html b/_layouts/guides.html index e7e8518e24d..4116ae2116e 100644 --- a/_layouts/guides.html +++ b/_layouts/guides.html @@ -52,7 +52,7 @@
- {% if docversion == 'latest' %} + {% if docversion == 'latest' or version == 'main' %} Edit this Page {% endif %}

{{page.title}} {{page.docversion}}

From 118dac09f036d378700b674a571a80274c137a9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20St=C3=B6r?= Date: Sat, 18 May 2024 08:07:23 +0200 Subject: [PATCH 2/2] Use correct version variable --- _layouts/guides.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_layouts/guides.html b/_layouts/guides.html index 4116ae2116e..ebfef518042 100644 --- a/_layouts/guides.html +++ b/_layouts/guides.html @@ -52,7 +52,7 @@
- {% if docversion == 'latest' or version == 'main' %} + {% if docversion == 'latest' or docversion == 'main' %} Edit this Page {% endif %}

{{page.title}} {{page.docversion}}