diff options
Diffstat (limited to 'tmpl/term.html')
-rw-r--r-- | tmpl/term.html | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/tmpl/term.html b/tmpl/term.html index a6ae2d26..59ac80df 100644 --- a/tmpl/term.html +++ b/tmpl/term.html @@ -15,27 +15,15 @@ <div class="term-expression">{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}</div> {{/if}} + {{#if reasons}} <div class="term-reasons"> {{#each reasons}} <span class="reasons">{{.}}</span> {{#unless @last}}«{{/unless}} {{/each}} </div> - - <div class="term-tags"> - {{#each tags}} - <span class="tag tag-{{category}}" title="{{notes}}">{{name}}</span> - {{/each}} - </div> + {{/if}} <div class="term-glossary"> - {{#if glossary.[1]}} - <ol> - {{#each glossary}} - <li><span class="term-glossary-item">{{.}}</span></li> - {{/each}} - </ol> - {{else}} - <p>{{glossary.[0]}}</p> - {{/if}} + {{> term-definition.html}} </div> </div> |