(cherry picked from commit 3ece57c01a
)
This commit is contained in:
parent
3bd6daa4a4
commit
b9c8b79d60
1 changed files with 2 additions and 2 deletions
|
@ -14,10 +14,10 @@
|
||||||
current_url_path = window.location.pathname;
|
current_url_path = window.location.pathname;
|
||||||
if (startsWith(current_url_path, "/ansible/latest/") || startsWith(current_url_path, "/ansible/{{ latest_version }}/")) {
|
if (startsWith(current_url_path, "/ansible/latest/") || startsWith(current_url_path, "/ansible/{{ latest_version }}/")) {
|
||||||
// no banner for latest release
|
// no banner for latest release
|
||||||
// temp banner to advertise AnsibleFest
|
/* temp banner to advertise AnsibleFest
|
||||||
document.write('<div id="banner_id" class="admonition important">');
|
document.write('<div id="banner_id" class="admonition important">');
|
||||||
document.write('<p><a href="https://www.ansible.com/ansiblefest?sc_cid=7013a000002gyPxAAI">AnsibleFest</a> is going virtual with two days of expert speakers, live demos and hands-on labs Oct 13-14!</p>');
|
document.write('<p><a href="https://www.ansible.com/ansiblefest?sc_cid=7013a000002gyPxAAI">AnsibleFest</a> is going virtual with two days of expert speakers, live demos and hands-on labs Oct 13-14!</p>');
|
||||||
document.write('</div>');
|
document.write('</div>'); */
|
||||||
|
|
||||||
} else if (startsWith(current_url_path, "/ansible/devel/")) {
|
} else if (startsWith(current_url_path, "/ansible/devel/")) {
|
||||||
document.write('<div id="banner_id" class="admonition caution">');
|
document.write('<div id="banner_id" class="admonition caution">');
|
||||||
|
|
Loading…
Reference in a new issue