This commit is contained in:
Aevann1 2022-02-24 14:50:02 +02:00
parent e021d3f958
commit 4cc85d7d61
7 changed files with 11 additions and 11 deletions

View file

@ -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