aboutsummaryrefslogtreecommitdiff
path: root/client/html/home.tpl
diff options
context:
space:
mode:
authorrr-2017-01-20 21:51:04 +0100
committerrr-2017-01-21 00:13:35 +0100
commit1acceb941d84775cdeb0019bdfbdd63e9e125982 (patch)
treebe63eb2e886763f822af765a0d4214645fec55f8 /client/html/home.tpl
parent6714f05b49f314fe27e977b5555cb6c6cd6b1e17 (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/home.tpl')
-rw-r--r--client/html/home.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/html/home.tpl b/client/html/home.tpl
index f1d9b1c..1e51b12 100644
--- a/client/html/home.tpl
+++ b/client/html/home.tpl
@@ -8,7 +8,7 @@
<%= ctx.makeTextInput({name: 'search-text', placeholder: 'enter some tags'}) %>
<input type='submit' value='Search'/>
<span class=sep>or</span>
- <a href='/posts'>browse all posts</a>
+ <a href='<%- ctx.formatClientLink('posts') %>'>browse all posts</a>
</form>
<% } %>
<div class='post-info-container'></div>

© 2015 - 2026 Jakob L. Kreuze