From b7f4bba88632efb38f6ae1367b4f2985966d3488 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 26 Sep 2025 18:06:17 +0000 Subject: [PATCH] Include latest in the URL of the older version warnings (#11049) Signed-off-by: Fanit Kolchina (cherry picked from commit c5a643e0d9266a4faff56444a4d593f70ca24737) Signed-off-by: github-actions[bot] --- _layouts/default.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index be3ac843cea..0f1e1ae4954 100755 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -230,9 +230,9 @@
{% if page.section == "opensearch" %} {% if site.doc_version == "supported" %} -

You're viewing version {{site.opensearch_major_minor_version}} of the OpenSearch documentation. For the latest version, see the current documentation. For information about OpenSearch version maintenance, see Release Schedule and Maintenance Policy.

+

You're viewing version {{site.opensearch_major_minor_version}} of the OpenSearch documentation. For the latest version, see the current documentation. For information about OpenSearch version maintenance, see Release Schedule and Maintenance Policy.

{% elsif site.doc_version == "unsupported" %} -

You're viewing version {{site.opensearch_major_minor_version}} of the OpenSearch documentation. This version is no longer maintained. For the latest version, see the current documentation. For information about OpenSearch version maintenance, see Release Schedule and Maintenance Policy.

+

You're viewing version {{site.opensearch_major_minor_version}} of the OpenSearch documentation. This version is no longer maintained. For the latest version, see the current documentation. For information about OpenSearch version maintenance, see Release Schedule and Maintenance Policy.

{% endif %} {% endif %} {% if site.heading_anchors != false %}