summaryrefslogtreecommitdiff
path: root/tmpl/term-definition.html
blob: 03356a59953c423cfbfb7b91a71205e2a5e24ed5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{{#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}}