remove ansibleFest banner (#72253) (#72266)

(cherry picked from commit 3ece57c01a)
This commit is contained in:
Sandra McCann 2020-10-23 11:27:35 -04:00 committed by GitHub
parent 3bd6daa4a4
commit b9c8b79d60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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">');