mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
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:
|
if content:
|
||||||
content = typogrify_wrapper(content)
|
content = typogrify_wrapper(content)
|
||||||
|
|
||||||
|
if 'title' in metadata:
|
||||||
metadata['title'] = typogrify_wrapper(metadata['title'])
|
metadata['title'] = typogrify_wrapper(metadata['title'])
|
||||||
|
|
||||||
if 'summary' in metadata:
|
if 'summary' in metadata:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue