restoring the RTD section. Downloads section to still be above versions section

This commit is contained in:
nishant-sachdeva 2021-11-30 00:12:52 +05:30
parent 3dd8285cc8
commit bd399e37e3

View File

@ -1,11 +1,7 @@
{# Add rst-badge after rst-versions for small badge style. #} {# Add rst-badge after rst-versions for small badge style. #}
<div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions"> <div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions">
<span class="rst-current-version" data-toggle="rst-current-version"> <span class="rst-current-version" data-toggle="rst-current-version">
{% for type, url in downloads %} <span class="fa fa-book fa-element"> RTD </span>
{% if type == 'PDF' %}
<a href="{{ url }}">{{ type }}</a>
{% endif %}
{% endfor %}
<span class="fa fa-element"> <span class="fa fa-element">
<input class="container_toggle" type="checkbox" id="switch" name="mode"> <input class="container_toggle" type="checkbox" id="switch" name="mode">