base versioning configuration

This commit is contained in:
Lucy Cifferello
2021-11-18 08:59:18 -07:00
parent 8bbaeaca42
commit a140307ca3
4 changed files with 35 additions and 22 deletions

View File

@@ -1,8 +1,15 @@
{% if versions %}
<h3>{{ _('Versions') }}</h3>
<h3>{{ _('Branches') }}</h3>
<ul>
{%- for item in versions %}
<li><a href="{{ item.url }}">{{ item.name }}</a></li>
{%- endfor %}
{%- for item in versions.branches %}
<li><a href="{{ item.url }}">{{ item.name }}</a></li>
{%- endfor %}
</ul>
{% endif %}
<h3>{{ _('Tags') }}</h3>
<ul>
{%- for item in versions.tags %}
<li><a href="{{ item.url }}">{{ item.name }}</a></li>
{%- endfor %}
</ul>
{% endif %}
<h1>*testing versions*</h1>