yomichan/util/tmpl/term.html
2016-04-15 22:33:13 -07:00

23 lines
423 B
HTML

{{#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}} &laquo; {{/unless}}
{{/each}}
</div>
{{/if}}
<div class="glossary">
<ol>
{{#each glossary}}
<li><span>{{.}}</span></li>
{{/each}}
</ol>
</div>