diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-03-28 19:44:28 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-03-28 19:44:28 -0700 |
commit | a8c7a8602fff55df8279b9f56dfece875005a7fa (patch) | |
tree | 32dbe269d2ca9881b364ef7ded07122e8e5d1a9f /util/tmpl/defs.html | |
parent | 149e22baacf41ef18adf62b5e6e58d7942c5beb4 (diff) |
Use partials
Diffstat (limited to 'util/tmpl/defs.html')
-rw-r--r-- | util/tmpl/defs.html | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/util/tmpl/defs.html b/util/tmpl/defs.html index 553a8c62..2fcc4ea9 100644 --- a/util/tmpl/defs.html +++ b/util/tmpl/defs.html @@ -1,9 +1,6 @@ {{#each defs}} <div class="yomichan-def"> - <div class="yomichan-def-expression">{{expression}}</div> - {{#if reading}} - <div class="yomichan-def-reading">{{reading}}</div> - {{/if}} - <div class="yomichan-def-glossary">{{glossary}}</div> + {{> term.html}} + {{#unless @last}}<br>{{/unless}} </div> {{/each}} |