This commit is contained in:
Aevann1 2022-02-17 09:12:38 +02:00
parent 35c3453a24
commit d603fcf33c
2 changed files with 9 additions and 9 deletions

View file

@ -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