diff --git a/files/classes/comment.py b/files/classes/comment.py index 4ef281954..49c0e953e 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -224,12 +224,12 @@ class Comment(Base): @property @lazy def shortlink(self): - return f"{SITE_FULL}/comment/{self.id}#context" + return f"{self.post.permalink}/{self.id}#context" @property @lazy def sl(self): - return f"/comment/{self.id}?context=8#context" + return f"{self.post.shortlink}/{self.id}?context=8#context" @property @lazy diff --git a/files/templates/comments.html b/files/templates/comments.html index 63d7d8ed2..5d12c9477 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -466,7 +466,7 @@ Context - + {% if v %} @@ -664,7 +664,7 @@ Context - Copy link + Copy link {% if v %} Report diff --git a/files/templates/header.html b/files/templates/header.html index daa3ce9c3..e28b10e85 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -22,7 +22,7 @@ {% if SITE_NAME == 'Drama' %}
- 💖🌈 welcome to {{SITE}}: the official site for r/subredditdrama + 💖🌈 welcome to {{request.host}}: the official site for r/subredditdrama
{% endif %} diff --git a/files/templates/privacy.html b/files/templates/privacy.html index 90989b38c..923b4ed69 100644 --- a/files/templates/privacy.html +++ b/files/templates/privacy.html @@ -140,7 +140,7 @@

If you have any questions about this Privacy Policy, You can contact us: