sdf
This commit is contained in:
parent
40a08186bd
commit
88d635e03d
6 changed files with 11 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue