made some changes to link

This commit is contained in:
ppsn 2023-04-05 20:39:10 +03:00
parent 2ac1466231
commit f56ec2fb2f
2 changed files with 2 additions and 1 deletions

View File

@ -97,4 +97,4 @@
a(href="/unsave/" + link.id + "/?rk=" + redis_key + "&b=" + back_url + "") unsave
else
a(href="/save/" + link.id + "/?rk=" + redis_key + "&b=" + back_url + "") save
a(href="https://www.reddit.com" + link.permalink) open in reddit.com
a(href=("https://www.reddit.com" + link.permalink) target="_blank" title="Open in Reddit (new tab)") [R↗]

View File

@ -87,6 +87,7 @@ html
a(href="/unsave/" + post.id + "/?rk=" + redis_key + "&b=" + back_url + "") unsave
else
a(href="/save/" + post.id + "/?rk=" + redis_key + "&b=" + back_url + "") save
a(href=("https://www.reddit.com" + link.permalink) target="_blank" title="Open in Reddit (new tab)") [R↗]
if post.crosspost.is_crosspost === true
.crosspost
.title