home » zplus/freepost.git
Author zPlus <zplus@peers.community> 2018-07-23 05:44:05
Committer zPlus <zplus@peers.community> 2018-07-23 05:44:05
Commit c321d99 (patch)
Tree a129392
Parent(s)

Replace hrefs links with jinja jinja url() function. modified: freepost/templates/homepage.html


commits diff: f7e041c..c321d99
1 file changed, 2 insertions, 2 deletionsdownload


Diffstat
-rwxr-xr-x freepost/templates/homepage.html 4

Diff options
View
Side
Whitespace
Context lines
Inter-hunk lines
+2/-2 M   freepost/templates/homepage.html
index 527a76d..b150470
old size: 4K - new size: 4K
@@ -53,7 +53,7 @@
53 53 {{ vote ('post', post, user) }}
54 54
55 55 <em class="username">
56 - <a href="post/{{ post.hashId }}">
56 + <a href="{{ url ('post', hash_id=post.hashId) }}">
57 57 <time title="{{ post.created|title }}" datetime="{{ post.created|datetime }}">
58 58 {{ post.created|ago }}
59 59 </time>
@@ -64,7 +64,7 @@
64 64 {{ post.username }}
65 65 </a>
66 66
67 - <a href="post/{{ post.hashId }}#comments">
67 + <a href="{{ url ('post', hash_id=post.hashId) }}#comments">
68 68 {% if post.commentsCount > 0 %}
69 69 {{ post.commentsCount }} comments
70 70 {% else %}