summaryrefslogtreecommitdiff
path: root/tmpl/term-definition.html
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl/term-definition.html')
-rw-r--r--tmpl/term-definition.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/tmpl/term-definition.html b/tmpl/term-definition.html
new file mode 100644
index 00000000..03356a59
--- /dev/null
+++ b/tmpl/term-definition.html
@@ -0,0 +1,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}}