summaryrefslogtreecommitdiff
path: root/oslosphinx/theme/openstack/layout.html
diff options
context:
space:
mode:
Diffstat (limited to 'oslosphinx/theme/openstack/layout.html')
-rw-r--r--oslosphinx/theme/openstack/layout.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/oslosphinx/theme/openstack/layout.html b/oslosphinx/theme/openstack/layout.html
index ab8e7db..c3878eb 100644
--- a/oslosphinx/theme/openstack/layout.html
+++ b/oslosphinx/theme/openstack/layout.html
@@ -34,9 +34,10 @@
{%- if other_versions %}
<h3>{{ _('Other Versions') }}</h3>
<ul class="this-page-menu">
- {%- for ver in other_versions: %}
- <li><a href="/{{ver}}" rel="nofollow">{{ ver }}</a></li>
- {%- endfor %}
+ <li><a href="{{ pathto(master_doc) }}" rel="nofollow">Current</a></li>
+ {%- for ver in other_versions: %}
+ <li><a href="{{ pathto(ver, 1) }}" rel="nofollow">{{ ver }}</a></li>
+ {%- endfor %}
</ul>
{%- endif %}
{%- endblock %}