/ ‘patch/pelican_readers.patch’
This commit is contained in:
parent
a8116e3b3c
commit
ea28da51f8
1 changed files with 0 additions and 11 deletions
|
|
@ -15,14 +15,3 @@
|
|||
> 'Document title missing in file %s: '
|
||||
> 'Ensure exactly one top level section',
|
||||
> source_path)
|
||||
292,294c293,298
|
||||
<
|
||||
< metadata = self._parse_metadata(pub.document, source_path)
|
||||
< metadata.setdefault('title', parts.get('title'))
|
||||
---
|
||||
> title = parts.get('title')
|
||||
> if title:
|
||||
> metadata.setdefault('title', title)
|
||||
> metadata = self._parse_metadata(pub.document, source_path, nowarning_about_missing_title=False)
|
||||
> else
|
||||
> metadata = self._parse_metadata(pub.document, source_path, nowarning_about_missing_title=True)
|
||||
|
|
|
|||
Loading…
Reference in a new issue