From 682993b7fc1fc7f8b7af0cb9a89404da26184de7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 25 Jun 2024 13:22:51 +0000 Subject: [PATCH] Add version to the warning headers (#7459) Signed-off-by: Fanit Kolchina (cherry picked from commit 33bb46caa8fb532460caeb6c8218bfe998799242) 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 8ba6bd4703..d4d40d8cc4 100755 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -165,9 +165,9 @@
{% if page.section == "opensearch" %} {% if site.doc_version == "supported" %} -

This is an earlier 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" %} -

This version of the OpenSearch documentation 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 %}