Skip to content

Commit 89bcdc9

Browse files
committed
Fix header logo link on 404 page (and other pages with no html lang)
1 parent 560f5a7 commit 89bcdc9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

_includes/header.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<header>
2-
<a href="/{{ page.lang }}/"><img src="/assets/logo.svg" width="225" alt="MapRoulette"/></a>
2+
<a href="{% if page.lang %}/{{ page.lang }}/{% else %}/{% endif %}">
3+
<img src="/assets/logo.svg" width="225" alt="MapRoulette"/>
4+
</a>
35
<div class="right">
46
<div id="docsearch"></div>
57
{% if page.variants.size > 1 %}

0 commit comments

Comments
 (0)