This commit is contained in:
Aevann1 2022-01-30 15:40:11 +02:00
parent 40a08186bd
commit 88d635e03d
6 changed files with 11 additions and 11 deletions

View file

@ -228,7 +228,7 @@ class Comment(Base):
@property
@lazy
def shortlink_context(self):
return f"/comment/{self.id}?context=9#context"
return f"/comment/{self.id}?context=8#context"
@property
@lazy
@ -239,10 +239,10 @@ class Comment(Base):
@property
@lazy
def permalink(self):
if self.post and self.post.club: return f"{SITE_FULL}/comment/{self.id}?context=9#context"
if self.post and self.post.club: return f"{SITE_FULL}/comment/{self.id}?context=8#context"
if self.post: return f"{self.post.permalink}/{self.id}?context=9#context"
else: return f"{SITE_FULL}/comment/{self.id}?context=9#context"
if self.post: return f"{self.post.permalink}/{self.id}?context=8#context"
else: return f"{SITE_FULL}/comment/{self.id}?context=8#context"
@property
@lazy