From e6819468d50781caa5a23e4752d8286f6f90ca25 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..4aa2b9af5 100644 --- a/_shared_assets/themes/nextcloud_com/layout.html +++ b/_shared_assets/themes/nextcloud_com/layout.html @@ -79,6 +79,22 @@ + +{% if project == "Nextcloud 9 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 9 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" %}