[2.5] Add Eol banner to all pages (#59810)

* add eol banner (#59254)

(cherry picked from commit 00699735e9)
pull/68862/head
Sandra McCann 5 years ago committed by Alicia Cozine
parent ab16969416
commit 4f5084d9d2

@ -0,0 +1,4 @@
{# Creates a banner at the top of the page for EOL versions. #}
<div id='banner' class='Admonition caution'>
<p>You are reading an unmaintained version of the Ansible documentation. Unmaintained Ansible versions can contain unfixed security vulnerabilities (CVE). Please upgrade to a maintained version. See <a href="https://docs.ansible.com/ansible/latest/index.html">the latest Ansible documentation</a>.</p>
</div>

@ -237,6 +237,8 @@
</div> -->
{% include "breadcrumbs.html" %}
{% include "ansible_eol_banner.html" %}
<div id="page-content">
{% block body %}{% endblock %}
</div>

Loading…
Cancel
Save