Fix wrong summary class name construction

This commit is contained in:
TAKAHASHI Shuuji 2024-05-27 19:43:46 +09:00
parent 024b01a144
commit 1f2597ff4e
No known key found for this signature in database
GPG key ID: F15C887632129F5E

View file

@ -460,7 +460,7 @@ class Post(StatorModel):
"""
if not self.summary:
return ""
return "summary-{self.id}"
return f"summary-{self.id}"
@property
def stats_with_defaults(self):