projects
/
mkws-moved-to-github.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Rework "Assembling Pazpar2 URLs" from two notes to a section.
[mkws-moved-to-github.git]
/
src
/
templates
/
lang.handlebars
1
{{!
2
Language selection widget
3
4
languages
5
code - two character language identifier
6
selected - exists for the current language
7
url - url to switch to this language
8
}}
9
{{#each languages}}
10
{{~#if selected~}}
11
<span>{{code}}</span>
12
{{~else~}}
13
<a href="{{{url}}}">{{code}}</a>
14
{{~/if~}}
15
{{#unless @last}}
16
|
17
{{/unless}}
18
{{/each}}
19