yomichan/tmpl/term-definition.html
2017-01-08 18:39:59 -08:00

17 lines
406 B
HTML

{{#if tags}}
<div class="term-tags">
{{#each tags}}
<span class="tag tag-{{category}}" title="{{notes}}">{{name}}</span>
{{/each}}
</div>
{{/if}}
{{#if glossary.[1]}}
<ul class="term-glossary-group">
{{#each glossary}}
<li><span class="term-glossary-item">{{.}}</span></li>
{{/each}}
</ul>
{{else}}
<div class="term-glossary-group term-glossary-item">{{glossary.[0]}}</div>
{{/if}}