diff options
author | siikamiika <siikamiika@users.noreply.github.com> | 2017-10-12 09:59:09 +0300 |
---|---|---|
committer | siikamiika <siikamiika@users.noreply.github.com> | 2017-10-12 09:59:09 +0300 |
commit | 8d660e282911ffb5d7b504784a3c09f13b164953 (patch) | |
tree | 1f6b46ab54ab39d341b82ca701d64842f97da753 /tmpl | |
parent | 6523b77ca13ebbc02cc9a4586a83a9d0ec29807d (diff) |
add compact tags
Diffstat (limited to 'tmpl')
-rw-r--r-- | tmpl/terms.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tmpl/terms.html b/tmpl/terms.html index 72bf9824..e037c544 100644 --- a/tmpl/terms.html +++ b/tmpl/terms.html @@ -1,4 +1,11 @@ {{#*inline "definition"}} +{{#if tags}} +<div> + {{#each tags}} + <span class="label label-default tag-{{category}}" title="{{notes}}">{{name}}</span> + {{/each}} +</div> +{{/if}} {{#if only}} <div> ( @@ -8,13 +15,6 @@ only) </div> {{/if}} -{{#if tags}} -<div> - {{#each tags}} - <span class="label label-default tag-{{category}}" title="{{notes}}">{{name}}</span> - {{/each}} -</div> -{{/if}} {{#if glossary.[1]}} <ul> {{#each glossary}} |