aboutsummaryrefslogtreecommitdiff
path: root/util/tmpl
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-04-16 11:41:33 -0700
committerAlex Yatskov <alex@foosoft.net>2016-04-16 11:41:33 -0700
commitccf545919054be4dc2aa9efdc7cd914c867775a8 (patch)
tree221cd925729c0bb7be161c023339410b623b9ff6 /util/tmpl
parent80da71148a4b0607b2ba026588f42554c73e9a25 (diff)
WIP
Diffstat (limited to 'util/tmpl')
-rw-r--r--util/tmpl/term.html15
1 files changed, 10 insertions, 5 deletions
diff --git a/util/tmpl/term.html b/util/tmpl/term.html
index 1aa12d9e..870b463c 100644
--- a/util/tmpl/term.html
+++ b/util/tmpl/term.html
@@ -7,16 +7,21 @@
{{#if rules}}
<div class="rules">
{{#each rules}}
- {{.}}
- {{#unless @last}}
- &raquo;
- {{/unless}}
+ {{.}} {{#unless @last}}&laquo;{{/unless}}
{{/each}}
- &raquo;
+ &laquo;
{{source}}
</div>
{{/if}}
+{{#if tags}}
+<div class="tags">
+ {{#each tags}}
+ {{.}}{{#unless @last}},{{/unless}}
+ {{/each}}
+</div>
+{{/if}}
+
<div class="glossary">
<ol>
{{#each glossary}}