This commit is contained in:
Aevann1 2022-01-28 23:44:32 +02:00
parent 3f3131ebad
commit 8561fda19f
4 changed files with 11 additions and 6 deletions

View file

@ -224,6 +224,11 @@ class Comment(Base):
def shortlink(self):
return f"/comment/{self.id}#context"
@property
@lazy
def shortlink_context(self):
return f"/comment/{self.id}?context=9#context"
@property
@lazy
def author_name(self):