+1
-4
src/templates/post.html
+1
-4
src/templates/post.html
···
17
17
<p><em>likes: @{app.get_net_likes_for_post(post.id)}</em></p>
18
18
<p><em>posted at: @post.posted_at</em></p>
19
19
20
-
@if ctx.is_logged_in()
20
+
@if ctx.is_logged_in() && !user.automated
21
21
<p><a href="/post/@{post.id}/reply">reply</a></p>
22
-
@end
23
-
24
-
@if ctx.is_logged_in()
25
22
<br>
26
23
<div>
27
24
<button onclick="like(@post.id)">