forked from 00dani/lemoncurry
Actually, let the entry title extend to 100 chars if it wants
This commit is contained in:
parent
d2b7ed5d02
commit
9df4cb1eca
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class Entry(ModelMeta, models.Model):
|
||||||
def title(self):
|
def title(self):
|
||||||
if self.name:
|
if self.name:
|
||||||
return self.name
|
return self.name
|
||||||
return shorten(self.paragraphs[0], width=50, placeholder='…')
|
return shorten(self.paragraphs[0], width=100, placeholder='…')
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def excerpt(self):
|
def excerpt(self):
|
||||||
|
|
Loading…
Reference in a new issue