summaryrefslogtreecommitdiff
path: root/util/tmpl
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-04-13 18:55:31 -0700
committerAlex Yatskov <alex@foosoft.net>2016-04-13 18:55:31 -0700
commit18720aa150734ac1888ca560c6e840d4ce25d00e (patch)
tree400fbc31c5da86e794a63e74a5c688ed910c0da4 /util/tmpl
parentc198a0f91942b8016b272c8a5fad609c1ff18ef1 (diff)
Show definitions as lists
Diffstat (limited to 'util/tmpl')
-rw-r--r--util/tmpl/term.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/util/tmpl/term.html b/util/tmpl/term.html
index e46e9d5b..3713e1e8 100644
--- a/util/tmpl/term.html
+++ b/util/tmpl/term.html
@@ -1,3 +1,9 @@
<div class="yomichan-def-expression">{{expression}}</div>
{{#if reading}}<div class="yomichan-def-reading">{{reading}}</div>{{/if}}
-<div class="yomichan-def-glossary">{{glossary}}</div>
+<div class="yomichan-def-glossary">
+ <ol>
+ {{#each glossary}}
+ <li>{{.}}</li>
+ {{/each}}
+ </ol>
+</div>