mn
This commit is contained in:
parent
35c3453a24
commit
d603fcf33c
2 changed files with 9 additions and 9 deletions
|
@ -233,14 +233,14 @@ class Comment(Base):
|
|||
|
||||
@property
|
||||
@lazy
|
||||
def author_name(self):
|
||||
if self.ghost: return '👻'
|
||||
else: return self.author.username
|
||||
def permalink(self):
|
||||
return f"{SITE_FULL}{self.sl}"
|
||||
|
||||
@property
|
||||
@lazy
|
||||
def permalink(self):
|
||||
return f"{SITE_FULL}/comment/{self.id}?context=8#context"
|
||||
def author_name(self):
|
||||
if self.ghost: return '👻'
|
||||
else: return self.author.username
|
||||
|
||||
@property
|
||||
@lazy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue