aboutsummaryrefslogtreecommitdiff
path: root/tmpl/query-parser.html
blob: 818650e6bf781a82592021db1cbf12de64ee5d7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{{~#*inline "term"~}}
{{~#if preview~}}
<span class="query-parser-term-preview">
{{~else~}}
<span class="query-parser-term">
{{~/if~}}
{{~#each this~}}
{{> part }}
{{~/each~}}
</span>
{{~/inline~}}

{{~#*inline "part"~}}
{{~#if raw~}}
{{text}}
{{~else~}}
<ruby>{{text}}<rt>{{reading}}</rt></ruby>
{{~/if~}}
{{~/inline~}}

{{~#each terms~}}
{{> term preview=../preview }}
{{~/each~}}