Skip to content

Commit

Permalink
Merge pull request #19 from IATI/fix-homepage-link
Browse files Browse the repository at this point in the history
fix: make link back to homepage stay on current language
  • Loading branch information
tillywoodfield authored Nov 6, 2024
2 parents 3ee34ae + a7e890b commit f02cc65
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 f02cc65

Please sign in to comment.