File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 32
32
{% endif %}
33
33
{% endfor %}
34
34
{% assign posts=site.posts | where:"name", page.name | sort: 'path' %}
35
+ {% assign releases=site.releases | where:"name", page.name | sort: 'path' %}
35
36
36
37
< li id ="langselect " class ="lang ">
37
38
< select onchange ="window.location=this.value; ">
38
39
< option value ="{{ post.url }} "> {{ site.data.languages[page.lang] }}</ option >
39
40
{% for post in posts %}
40
41
{% if post.lang != page.lang %}< option value ="{{ post.url }} "> {{ site.data.languages[post.lang] }}</ option > {% endif %}
41
42
{% 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 %}
42
46
</ select >
43
47
</ li >
44
48
<!--<li class="lang">-->
You can’t perform that action at this time.
0 commit comments