X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ftemplates%2Flang.handlebars;fp=src%2Ftemplates%2Flang.handlebars;h=26ee6da2d9d3f50ccc81822184660e738ac8b614;hb=36721667730b5d8aae5b6df304f69d96f2c1d21d;hp=0000000000000000000000000000000000000000;hpb=1278919858f8ba395d1f899f30e78a98e0c529ba;p=mkws-moved-to-github.git diff --git a/src/templates/lang.handlebars b/src/templates/lang.handlebars new file mode 100644 index 0000000..26ee6da --- /dev/null +++ b/src/templates/lang.handlebars @@ -0,0 +1,19 @@ +{{! +Language selection widget + +languages + code - two character language identifier + selected - exists for the current language + url - url to switch to this language +}} +{{#each languages}} + {{~#if selected~}} + {{code}} + {{~else~}} + {{code}} + {{~/if~}} + {{#unless last}} + | + {{/unless}} +{{/each}} +