diff options
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}} |