aboutsummaryrefslogtreecommitdiff
path: root/util/tmpl/kanji.html
blob: 603872ae139978b134a42573cdad596263934aa6 (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
27
28
29
30
31
<div class="definition">
    <div class="kanji-info kanji-glyph">{{character}}</div>

    {{#if glossary}}
    <dl class="kanji-info">
        <dt>Meanings</dt>
        {{#each glossary}}
        <dd>{{.}}</dd>
        {{/each}}
    </dl>
    {{/if}}

    {{#if kunyomi}}
    <dl class="kanji-info">
        <dt>Kun</dt>
        {{#each kunyomi}}
        <dd>{{.}}</dd>
        {{/each}}
    </dl>
    {{/if}}

    {{#if onyomi}}
    <dl class="kanji-info">
        <dt>On</dt>
        {{#each onyomi}}
        <dd>{{.}}</dd>
        {{/each}}
    </dl>
    {{/if}}
</div>
</div>