fds
This commit is contained in:
parent
0677106b21
commit
0919de3032
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ class Comment(Base):
|
||||||
def permalink(self):
|
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=9#context"
|
||||||
|
|
||||||
if self.post: return f"{SITE_FULL}{self.post.permalink}/{self.id}?context=9#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"
|
else: return f"{SITE_FULL}/comment/{self.id}?context=9#context"
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue