mirror of
https://github.com/seigler/dash-docs
synced 2025-07-28 02:06:13 +00:00
Layout: Split Base Layout
This commit is contained in:
parent
02243f6d2a
commit
6bfb8849dd
14 changed files with 100 additions and 100 deletions
5
_includes/layout/base/head-language-select.html
Normal file
5
_includes/layout/base/head-language-select.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
{% comment %} This file is licensed under the MIT License (MIT) available on http://opensource.org/licenses/MIT. {% endcomment %} <div id="langselect" class="langselect"><select onchange="window.location=this.value;">
|
||||
{% for lang in site.langsorder %}{% assign active = ''%}{% if lang == page.lang %}{% assign active = ' selected="selected"'%}{% endif %}
|
||||
<option value="/{{ lang }}/{% translate {{page.id}} url {{lang}} %}"{{ active }}>{{ site.langs[lang] }}</option>
|
||||
{% endfor %}
|
||||
</select></div>
|
Loading…
Add table
Add a link
Reference in a new issue