diff --git a/docs/docsite/_themes/sphinx_rtd_theme/ansible_banner.html b/docs/docsite/_themes/sphinx_rtd_theme/ansible_banner.html
index 0f546f7da50..c07f0e06e13 100644
--- a/docs/docsite/_themes/sphinx_rtd_theme/ansible_banner.html
+++ b/docs/docsite/_themes/sphinx_rtd_theme/ansible_banner.html
@@ -13,15 +13,21 @@
// Create a banner if we're not the latest version
current_url_path = window.location.pathname;
if (startsWith(current_url_path, "/ansible/latest/") || startsWith(current_url_path, "/ansible/{{ latest_version }}/")) {
- // no banner for latest release
- /* temp banner to advertise AnsibleFest
+ document.write('
');
+ document.write('
You are reading the latest community version of the Ansible documentation. Red Hat subscribers, select 2.9 in the version selection to the left for the most recent Red Hat release.
');
+ document.write('
');
+
+ /* temp banner to advertise AnsibleFest
document.write('');
document.write('
AnsibleFest is going virtual with two days of expert speakers, live demos and hands-on labs Oct 13-14!
');
document.write('
'); */
-
+ } else if (startsWith(current_url_path, "/ansible/2.9/")) {
+ document.write('');
+ document.write('
You are reading the latest Red Hat released version of the Ansible documentation. Community users can use this, or select any version in version selection to the left, including latest for the most recent community version.
');
+ document.write('
');
} else if (startsWith(current_url_path, "/ansible/devel/")) {
document.write('');
- document.write('
You are reading the *devel* version of the Ansible documentation - this version is not guaranteed stable. Use the version selection to the left if you want the latest stable released version.
');
+ document.write('
You are reading the devel version of the Ansible documentation - this version is not guaranteed stable. Use the version selection to the left if you want the latest stable released version.
');
document.write('
');
} else {
document.write('');