Skip to content

Commit

Permalink
fix: make link back to homepage stays on current language
Browse files Browse the repository at this point in the history
  • Loading branch information
tillywoodfield committed Nov 6, 2024
1 parent 3ee34ae commit a7e890b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iati_sphinx_theme/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ <h2 class="iati-mobile-nav__label">Menu</h2>
</div>
<ul>
<li class="iati-mobile-nav__item">
<a href="/" class="iati-mobile-nav__link">{{ _(project) }}</a>
<a href="{{ pathto('', 1) }}" class="iati-mobile-nav__link">{{ _(project) }}</a>
</li>
</ul>
<ul>
Expand Down Expand Up @@ -74,7 +74,7 @@ <h2 class="iati-mobile-nav__label">Menu</h2>
<nav>
<ul class="iati-tool-nav">
<li>
<a href="/" class="iati-tool-nav-link">{{ _(project) }}</a>
<a href="{{ pathto('', 1) }}" class="iati-tool-nav-link">{{ _(project) }}</a>
</li>
</ul>
</nav>
Expand Down

0 comments on commit a7e890b

Please sign in to comment.