aboutsummaryrefslogtreecommitdiff
path: root/util/tmpl/defs.html
diff options
context:
space:
mode:
Diffstat (limited to 'util/tmpl/defs.html')
-rw-r--r--util/tmpl/defs.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/util/tmpl/defs.html b/util/tmpl/defs.html
index fe40dfe3..553a8c62 100644
--- a/util/tmpl/defs.html
+++ b/util/tmpl/defs.html
@@ -1,7 +1,9 @@
{{#each defs}}
<div class="yomichan-def">
- <span class="yomichan-def-expression">{{expression}}</span>
- <span class="yomichan-def-reading">{{reading}}</span>
- <span class="yomichan-def-glossary">{{glossary}}</span>
+ <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>
{{/each}}