forked from github/pelican
Merge pull request #1964 from rr-/patch-1
Fix typogrifying objects without title
This commit is contained in:
commit
6232241ef1
1 changed files with 2 additions and 0 deletions
|
|
@ -545,6 +545,8 @@ class Readers(FileStampDataCacher):
|
|||
|
||||
if content:
|
||||
content = typogrify_wrapper(content)
|
||||
|
||||
if 'title' in metadata:
|
||||
metadata['title'] = typogrify_wrapper(metadata['title'])
|
||||
|
||||
if 'summary' in metadata:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue