diff options
author | siikamiika <siikamiika@users.noreply.github.com> | 2017-10-11 09:18:55 +0300 |
---|---|---|
committer | siikamiika <siikamiika@users.noreply.github.com> | 2017-10-11 09:18:55 +0300 |
commit | 4fb983a70cd02c0c0126a26e70d40261d5b2a51d (patch) | |
tree | 5811191bc6974b8c2813abd5d944e0b1661df4f4 /tmpl | |
parent | e1c5d7a401f1f974da1bedd8600524d982c2c7de (diff) |
add termTags
The dictionary tags field can now have a '\t' in it, and it is used to
separate tags associated with definitions and terms.
Diffstat (limited to 'tmpl')
-rw-r--r-- | tmpl/terms.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tmpl/terms.html b/tmpl/terms.html index cc0f600e..72bf9824 100644 --- a/tmpl/terms.html +++ b/tmpl/terms.html @@ -80,6 +80,14 @@ </div> {{/if}} + {{#if termTags}} + <div> + {{#each termTags}} + <span class="label label-default tag-{{category}}" title="{{notes}}">{{name}}</span> + {{/each}} + </div> + {{/if}} + {{#if frequencies}} <div> {{#each frequencies}} |