diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-04-17 19:06:57 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-04-17 19:06:57 -0700 |
commit | d5170414af9287143a9906fd81fde49318be4617 (patch) | |
tree | 27764bde977e1e17c36543f3f53d1b29b0584f74 /util | |
parent | de268e73a613b963ea982f34ca7439d57694facd (diff) |
Adding kanji links
Diffstat (limited to 'util')
-rw-r--r-- | util/tmpl/term.html | 4 |
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}} |