diff options
| author | rr- <rr-@sakuya.pl> | 2017-01-20 21:51:04 +0100 |
|---|---|---|
| committer | rr- <rr-@sakuya.pl> | 2017-01-21 00:13:35 +0100 |
| commit | 1acceb941d84775cdeb0019bdfbdd63e9e125982 (patch) | |
| tree | be63eb2e886763f822af765a0d4214645fec55f8 /client/html/posts_page.tpl | |
| parent | 6714f05b49f314fe27e977b5555cb6c6cd6b1e17 (diff) | |
client: refactor linking and routing
Print all links through new uri.js component
Refactor the router to use more predictable parsing
Fix linking to entities with weird names (that contain slashes, + etc.)
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 e6e5612..9c9f7ef 100644 --- a/client/html/posts_page.tpl +++ b/client/html/posts_page.tpl @@ -5,7 +5,7 @@ <li> <a class='thumbnail-wrapper <%= post.tags.length > 0 ? "tags" : "no-tags" %>' title='@<%- post.id %> (<%- post.type %>) Tags: <%- post.tags.map(tag => '#' + tag).join(' ') || 'none' %>' - href='<%= ctx.canViewPosts ? ctx.getPostUrl(post.id, ctx.parameters) : "" %>'> + href='<%= ctx.canViewPosts ? ctx.getPostUrl(post.id, ctx.parameters) : '' %>'> <%= ctx.makeThumbnail(post.thumbnailUrl) %> <span class='type' data-type='<%- post.type %>'> <%- post.type %> |