From 8ae2b23660501aaa23965315b1a4c926dd39c49c Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 24 Feb 2022 14:50:02 +0200 Subject: [PATCH] fdsf --- files/classes/comment.py | 4 ++-- files/templates/comments.html | 4 ++-- files/templates/header.html | 2 +- files/templates/privacy.html | 2 +- files/templates/sidebar_Drama.html | 2 +- files/templates/submission.html | 4 ++-- files/templates/submission_listing.html | 4 ++-- 7 files changed, 11 insertions(+), 11 deletions(-) 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: