From 021461cf85301fdedeeeafc6693a6fab4a3d3a1a Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Mon, 3 Dec 2018 14:11:34 +0100 Subject: [PATCH] Provide a link to stable version of documentation Signed-off-by: Morris Jobke --- _shared_assets/themes/nextcloud_com/layout.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/_shared_assets/themes/nextcloud_com/layout.html b/_shared_assets/themes/nextcloud_com/layout.html index fc013d397..f0fa33226 100644 --- a/_shared_assets/themes/nextcloud_com/layout.html +++ b/_shared_assets/themes/nextcloud_com/layout.html @@ -79,6 +79,22 @@ + +{% if project == "Nextcloud 10 Server Administration Manual" %} +
You are reading an outdated version of this documentation. Please check out the latest version of the server administration manual.
+{% else %} +{% if project == "Nextcloud 10 User Manual" %} +
You are reading an outdated version of this documentation. Please check out the latest version of the user manual.
+{% else %} +{% if project == "Nextcloud Developer Manual" %} +
You are reading an outdated version of this documentation. Please check out the latest version of the developer manual.
+{% endif %} +{% endif %} +{% endif %} + {% endmacro %} {% if theme_bootstrap_version == "3" %}