aboutsummaryrefslogtreecommitdiff
path: root/util/tmpl
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-04-17 19:06:57 -0700
committerAlex Yatskov <alex@foosoft.net>2016-04-17 19:06:57 -0700
commitd5170414af9287143a9906fd81fde49318be4617 (patch)
tree27764bde977e1e17c36543f3f53d1b29b0584f74 /util/tmpl
parentde268e73a613b963ea982f34ca7439d57694facd (diff)
Adding kanji links
Diffstat (limited to 'util/tmpl')
-rw-r--r--util/tmpl/term.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/tmpl/term.html b/util/tmpl/term.html
index 6c4d31ed..8c0e54ca 100644
--- a/util/tmpl/term.html
+++ b/util/tmpl/term.html
@@ -1,7 +1,7 @@
{{#if reading}}
-<div class="term"><ruby>{{expression}}<rt>{{reading}}</rt></ruby></div>
+<div class="term"><ruby>{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}<rt>{{reading}}</rt></ruby></div>
{{else}}
-<div class="term">{{expression}}</div>
+<div class="term">{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}</div>
{{/if}}
{{#if rules}}