Skip to content

Commit

Permalink
Merge branch 'i22-logo-link' into 'main'
Browse files Browse the repository at this point in the history
Make the navbar logo link to torproject.org/<locale>

Closes #22

See merge request tpo/web/lego!58
  • Loading branch information
opsyne committed May 17, 2022
2 parents 5bd5f94 + 6cb9538 commit baa04f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="container-fluid bg-dark">
<nav class="navbar no-background navbar-expand-lg navbar-dark bg-dark p-4">
{% endif %}
<a class="navbar-brand" href="{{ '/'|url(alt=this.alt) }}">
<a class="navbar-brand" href="{{ 'https://torproject.org/{}/'.format(this.alt) }}">
<img alt="{{ 'The Tor Project' }}" src="{{ '/static/images/[email protected]'|asseturl }}" >
<span class="sr-only">Tor Logo</span>
</a>
Expand Down

0 comments on commit baa04f5

Please sign in to comment.