Commit 1e194a2e authored by Andrii Salnikov's avatar Andrii Salnikov

fixing navigation links on master page as well

parent fb90de24
Pipeline #4644 passed with stages
in 2 minutes and 58 seconds
......@@ -2,7 +2,7 @@
{% if theme_extra_nav_links %}
<ul>
{% for text in theme_extra_nav_links %}
<li class="toctree-l1"><a href="{{ pathto(master_doc) }}#{{ text|lower|replace(" ", "-") }}">{{ text }}</a></li>
<li class="toctree-l1"><a href="{{ pathto(master_doc) | replace('#', '')}}#{{ text|lower|replace(" ", "-") }}">{{ text }}</a></li>
<br/>
{% endfor %}
</ul>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment