diff options
| author | rr- | 2016-06-22 23:12:34 +0200 |
|---|---|---|
| committer | rr- | 2016-06-23 00:15:25 +0200 |
| commit | 1a75c61f658efd0df227b679f25c660f0b601715 (patch) | |
| tree | cca406d7d31c3923d2325bc2354266eb54fb6b15 /client/html/post_readonly_sidebar.tpl | |
| parent | 1c5f44a91c15865471735f79fb98036ad558de63 (diff) | |
client/tags: fix tag categories with spaces
Diffstat (limited to 'client/html/post_readonly_sidebar.tpl')
| -rw-r--r-- | client/html/post_readonly_sidebar.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/html/post_readonly_sidebar.tpl b/client/html/post_readonly_sidebar.tpl index 0922e26..6866216 100644 --- a/client/html/post_readonly_sidebar.tpl +++ b/client/html/post_readonly_sidebar.tpl @@ -50,14 +50,14 @@ --><% for (let tag of ctx.post.tags) { %><!-- --><li><!-- --><% if (ctx.canViewTags) { %><!-- - --><a href='/tag/<%= tag %>' class='tag-<%= ctx.getTagCategory(tag) %>'><!-- + --><a href='/tag/<%= tag %>' class='<%= ctx.makeCssName(ctx.getTagCategory(tag), 'tag') %>'><!-- --><i class='fa fa-tag'></i><!-- --><% } %><!-- --><% if (ctx.canListPosts) { %><!-- --></a><!-- --><% } %><!-- --><% if (ctx.canListPosts) { %><!-- - --><a href='/posts/text=<%= tag %>' class='tag-<%= ctx.getTagCategory(tag) %>'><!-- + --><a href='/posts/text=<%= tag %>' class='<%= ctx.makeCssName(ctx.getTagCategory(tag), 'tag') %>'><!-- --><% } %><!-- --><%= tag %><!-- --><% if (ctx.canListPosts) { %><!-- |