Skip to content

Commit

Permalink
fix: use link to index files in sidebar to support direct docset link…
Browse files Browse the repository at this point in the history
…ing without redirects
  • Loading branch information
hydrosquall committed Feb 4, 2024
1 parent 355327b commit e548734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/_layouts/page_submenu.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<br>
{% else %}
<li class="sidebar-nav-item"><a {% if link.url == url %}aria-current="page"{% endif %}
href="{{site.baseurl}}{{layout.base}}{% if link.url != 'index' %}{{link.url}}.html{% endif %}" title="{{link.title}}">{{link.text}}
href="{{site.baseurl}}{{layout.base}}{{link.url}}.html" title="{{link.title}}">{{link.text}}
</a></li>
{% if link.sub-sidebar %}
<ul class="sub-sub-nav">
Expand Down

0 comments on commit e548734

Please sign in to comment.