Layout: Split Base Layout

This commit is contained in:
David A. Harding 2015-06-27 21:35:41 -04:00
parent 02243f6d2a
commit 6bfb8849dd
No known key found for this signature in database
GPG key ID: 4B29C30FF29EC4B7
14 changed files with 100 additions and 100 deletions

View 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>