Use pathto() on the genindex URL to make it relative.

This commit is contained in:
Chris Johns
2019-02-14 20:04:28 +11:00
parent 603731cda8
commit f7384cc2e2
15 changed files with 1 additions and 32 deletions

View File

@@ -6,7 +6,7 @@
{% endblock %}
{% block menu %}
{{ super() }}
<a class="reference internal" href="genindex.html">Index</a>
<a class="reference internal" href="{{ pathto("genindex") }}"><b>Index</b></a>
{% endblock %}
{# Custom CSS overrides #}
{% set css_files = ['_static/my-styles.css'] %}