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 deletions
—
download
Diffstat
Diff options
+2/-2
M freepost/templates/homepage.html
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
|
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 %}
|