Fix doc versioning sidebar

This commit is contained in:
Griatch 2022-11-15 20:56:04 +01:00
parent a452434ba8
commit 42ba6eccbf

View file

@ -4,11 +4,10 @@
{%- for item in versions %}
<li><a href="{{ item.url }}">{{ item.release }} ({{ item.name }} branch)</a></li>
{%- endfor %}
{% if legacy_versions %} <ul>
{%- for item in legacy_versions %}
<li><a href="{{ item.url }}">{{ item.release }} ({{ item.name }} branch)</a></li>
{%- endfor %}
{%- endif %}
</ul>
{% if legacy_versions %} <ul>
{%- for item in legacy_versions %}
<li><a href="{{ item.url }}">{{ item.release }} ({{ item.name }} branch)</a></li>
{%- endfor %}
</ul>
{% endif %}
{% endif %}