summaryrefslogtreecommitdiff
path: root/util/tmpl/term.html
blob: 1aa12d9ebd3327d96b4997d406d917cc60b2b0e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{{#if reading}}
<div class="expression"><ruby>{{expression}}<rt>{{reading}}</rt></ruby></div>
{{else}}
<div class="expression">{{expression}}</div>
{{/if}}

{{#if rules}}
<div class="rules">
    {{#each rules}}
    {{.}}
    {{#unless @last}}
    &raquo;
    {{/unless}}
    {{/each}}
    &raquo;
    {{source}}
</div>
{{/if}}

<div class="glossary">
    <ol>
        {{#each glossary}}
        <li><span>{{.}}</span></li>
        {{/each}}
    </ol>
</div>