aboutsummaryrefslogtreecommitdiff
path: root/client/html/post_readonly_sidebar.tpl
diff options
context:
space:
mode:
authorrr-2016-06-22 23:12:34 +0200
committerrr-2016-06-23 00:15:25 +0200
commit1a75c61f658efd0df227b679f25c660f0b601715 (patch)
treecca406d7d31c3923d2325bc2354266eb54fb6b15 /client/html/post_readonly_sidebar.tpl
parent1c5f44a91c15865471735f79fb98036ad558de63 (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.tpl4
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) { %><!--

© 2015 - 2026 Jakob L. Kreuze