summaryrefslogtreecommitdiff
path: root/util/tmpl/kanji.html
blob: 0e5c8573ac92f144f6d198bf8b7425a8c0dae440 (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
<div class="definition">
    <div class="kanji">{{character}}</div>

    <div class="readings">
        <dl>
            {{#if kunyomi}}
            <dt>Kunyomi</dt>
            {{#each kunyomi}}
            <dd>{{.}}</dd>
            {{/each}}
            {{/if}}

            {{#if onyomi}}
            <dt>Onyomi</dt>
            {{#each onyomi}}
            <dd>{{.}}</dd>
            {{/each}}
            {{/if}}
        </dl>
    </div>

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