aboutsummaryrefslogtreecommitdiff
path: root/util/tmpl/term.html
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-04-18 19:59:56 -0700
committerAlex Yatskov <alex@foosoft.net>2016-04-18 19:59:56 -0700
commit24957748918403a387fbae47f593001ce361891a (patch)
treee8c881a0097567d4459281a976f85cb162d17d8d /util/tmpl/term.html
parentc4e35fbf54a9cd80e27d600d47b24b1afdfeca6d (diff)
Better tag rendering
Diffstat (limited to 'util/tmpl/term.html')
-rw-r--r--util/tmpl/term.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/tmpl/term.html b/util/tmpl/term.html
index abcbb215..e97104f1 100644
--- a/util/tmpl/term.html
+++ b/util/tmpl/term.html
@@ -15,7 +15,7 @@
{{#if tags}}
<div class="tags">
{{#each tags}}
- <span class="tag" title="{{desc}}">{{@key}}</span>
+ <span class="tag {{#if class}}tag-{{class}}{{else}}tag-default{{/if}}" title="{{desc}}">{{@key}}</span>
{{/each}}
</div>
{{/if}}