aboutsummaryrefslogtreecommitdiff
path: root/tmpl/term-grouped.html
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-01-08 18:39:59 -0800
committerAlex Yatskov <alex@foosoft.net>2017-01-08 18:39:59 -0800
commit67ca7adc4cabb79a87b51ebd9b112e641de31af9 (patch)
tree652ea04970a25f2f479cf71cbf9e9dbeedf794af /tmpl/term-grouped.html
parent53a8e9061c482400186c8b041be520a519795c07 (diff)
WIP
Diffstat (limited to 'tmpl/term-grouped.html')
-rw-r--r--tmpl/term-grouped.html19
1 files changed, 1 insertions, 18 deletions
diff --git a/tmpl/term-grouped.html b/tmpl/term-grouped.html
index ac15a126..0de22bb9 100644
--- a/tmpl/term-grouped.html
+++ b/tmpl/term-grouped.html
@@ -26,24 +26,7 @@
<div class="term-glossary">
<ol>
{{#each definitions}}
- <li>
- {{#if tags}}
- <div class="term-tags">
- {{#each tags}}
- <span class="tag tag-{{category}}" title="{{notes}}">{{name}}</span>
- {{/each}}
- </div>
- {{/if}}
- {{#if glossary.[1]}}
- <ul class="term-glossary-group">
- {{#each glossary}}
- <li><span class="term-glossary-item">{{.}}</span></li>
- {{/each}}
- </ul>
- {{else}}
- <div class="term-glossary-group term-glossary-item">{{glossary.[0]}}</div>
- {{/if}}
- </li>
+ <li>{{> term-definition.html}}</li>
{{/each}}
</ol>
</div>