Skip to content

Commit 209a1e6

Browse files
author
azuchi
committed
Fix navigation link
1 parent 927a2a8 commit 209a1e6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

_includes/_navigation.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,17 @@
3232
{% endif %}
3333
{% endfor %}
3434
{% assign posts=site.posts | where:"name", page.name | sort: 'path' %}
35+
{% assign releases=site.releases | where:"name", page.name | sort: 'path' %}
3536

3637
<li id="langselect" class="lang">
3738
<select onchange="window.location=this.value;">
3839
<option value="{{ post.url }}">{{ site.data.languages[page.lang] }}</option>
3940
{% for post in posts %}
4041
{% if post.lang != page.lang %}<option value="{{ post.url }}">{{ site.data.languages[post.lang] }}</option>{% endif %}
4142
{% endfor %}
43+
{% for release in releases %}
44+
{% if release.lang != page.lang %}<option value="{{ release.url }}">{{ site.data.languages[release.lang] }}</option>{% endif %}
45+
{% endfor %}
4246
</select>
4347
</li>
4448
<!--<li class="lang">-->

0 commit comments

Comments
 (0)