aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/tmpl/term.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/util/tmpl/term.html b/util/tmpl/term.html
index 3713e1e8..56854499 100644
--- a/util/tmpl/term.html
+++ b/util/tmpl/term.html
@@ -1,5 +1,9 @@
+{{#if reading}}
+<div class="yomichan-def-expression"><ruby>{{expression}}<rt>{{reading}}</rt></ruby></div>
+{{else}}
<div class="yomichan-def-expression">{{expression}}</div>
-{{#if reading}}<div class="yomichan-def-reading">{{reading}}</div>{{/if}}
+{{/if}}
+
<div class="yomichan-def-glossary">
<ol>
{{#each glossary}}