xref: /DragonOS/docs/_templates/versions.html (revision c635d8a9cfe25bc11779f323ef0c7d7a0f597d4a)
1*c635d8a9SLoGin{%- if current_version %}
2*c635d8a9SLoGin<div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions">
3*c635d8a9SLoGin  <span class="rst-current-version" data-toggle="rst-current-version">
4*c635d8a9SLoGin    <span class="fa fa-book"> Other Versions</span>
5*c635d8a9SLoGin    v: {{ current_version.name }}
6*c635d8a9SLoGin    <span class="fa fa-caret-down"></span>
7*c635d8a9SLoGin  </span>
8*c635d8a9SLoGin  <div class="rst-other-versions">
9*c635d8a9SLoGin    {%- if versions.tags %}
10*c635d8a9SLoGin    <dl>
11*c635d8a9SLoGin      <dt>Tags</dt>
12*c635d8a9SLoGin      {%- for item in versions.tags %}
13*c635d8a9SLoGin      <dd><a href="{{ item.url }}">{{ item.name }}</a></dd>
14*c635d8a9SLoGin      {%- endfor %}
15*c635d8a9SLoGin    </dl>
16*c635d8a9SLoGin    {%- endif %}
17*c635d8a9SLoGin    {%- if versions.branches %}
18*c635d8a9SLoGin    <dl>
19*c635d8a9SLoGin      <dt>Branches</dt>
20*c635d8a9SLoGin      {%- for item in versions.branches %}
21*c635d8a9SLoGin      <dd><a href="{{ item.url }}">{{ item.name }}</a></dd>
22*c635d8a9SLoGin      {%- endfor %}
23*c635d8a9SLoGin    </dl>
24*c635d8a9SLoGin    {%- endif %}
25*c635d8a9SLoGin  </div>
26*c635d8a9SLoGin</div>
27*c635d8a9SLoGin{%- endif %}
28