aboutsummaryrefslogtreecommitdiff
path: root/util/tmpl/kanji.html
blob: 0e85e966a072de43235a653b52963aff39e9e9db (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">{{character}}</div>

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

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

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