czx
This commit is contained in:
parent
8c1ac90b10
commit
0677106b21
10 changed files with 24 additions and 31 deletions
|
@ -197,7 +197,7 @@ class Submission(Base):
|
|||
@property
|
||||
@lazy
|
||||
def permalink(self):
|
||||
if self.club: return f"/post/{self.id}"
|
||||
if self.club: return f"{SITE_FULL}/post/{self.id}"
|
||||
|
||||
output = self.title.lower()
|
||||
|
||||
|
@ -210,7 +210,7 @@ class Submission(Base):
|
|||
|
||||
if not output: output = '-'
|
||||
|
||||
return f"/post/{self.id}/{output}"
|
||||
return f"{SITE_FULL}/post/{self.id}/{output}"
|
||||
|
||||
@property
|
||||
@lazy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue