diff options
| author | rr- | 2017-10-01 21:46:53 +0200 |
|---|---|---|
| committer | rr- | 2017-10-01 21:48:00 +0200 |
| commit | 1c4c5c5f91dbce7234796daddbb74923638659e7 (patch) | |
| tree | 1e621ec97c8455613303df066e4d74612f6f1dd0 /client/html/posts_page.tpl | |
| parent | 253e28c1b5e6757057c0dd36a11fd5063e07ff79 (diff) | |
remove tags.json
Diffstat (limited to 'client/html/posts_page.tpl')
| -rw-r--r-- | client/html/posts_page.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/html/posts_page.tpl b/client/html/posts_page.tpl index 895de55..6f0665c 100644 --- a/client/html/posts_page.tpl +++ b/client/html/posts_page.tpl @@ -4,7 +4,7 @@ <% for (let post of ctx.response.results) { %> <li data-post-id='<%= post.id %>'> <a class='thumbnail-wrapper <%= post.tags.length > 0 ? "tags" : "no-tags" %>' - title='@<%- post.id %> (<%- post.type %>) Tags: <%- post.tags.map(tag => '#' + tag).join(' ') || 'none' %>' + title='@<%- post.id %> (<%- post.type %>) Tags: <%- post.tags.map(tag => '#' + tag.names[0]).join(' ') || 'none' %>' href='<%= ctx.canViewPosts ? ctx.getPostUrl(post.id, ctx.parameters) : '' %>'> <%= ctx.makeThumbnail(post.thumbnailUrl) %> <span class='type' data-type='<%- post.type %>'> |