Skip to content

Commit a34a8d8

Browse files
committed
add translate logo, make link work for subpages
1 parent bc64db8 commit a34a8d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

_includes/navbar.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,13 @@
8585
{% comment %} Add dropdown for language {% endcomment %}
8686
<li class="dropdown">
8787
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
88+
<img src="https://upload.wikimedia.org/wikipedia/commons/d/d7/Google_Translate_logo.svg" alt="Google Translate logo" height="15"/>
8889
EN
8990
<span class="caret"></span></a>
9091
<ul class="dropdown-menu">
9192
{% for lang in site.other_languages %}
9293
<li>
93-
<a class="dropdown-item" href="https://translate.google.com/translate?hl=jp&sl=en&tl={{ lang }}&u=https%3A%2F%2Fcommonwl.org%2Fuser_guide&edit-text=&act=url" title="{{ inst[0] }}">
94+
<a class="dropdown-item" href="https://translate.google.com/translate?hl=jp&sl=en&tl={{ lang }}&u=https%3A%2F%2Fwww.commonwl.org%2Fuser_guide{{page.url}}&edit-text=&act=url" title="{{ inst[0] }}">
9495
{{ lang | upcase }}
9596
</a>
9697
</li>

0 commit comments

Comments
 (0)