fdsf
This commit is contained in:
parent
e021d3f958
commit
4cc85d7d61
7 changed files with 11 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue