Merge pull request #11 from m3nu/master

Fixes #10 - extension issue with newer Pelican version
This commit is contained in:
joachimneu 2017-06-08 23:48:51 +02:00 committed by GitHub
commit 8bead9c483

View File

@ -8,7 +8,7 @@ class MarkdownYAMLReader(MarkdownReader):
def __init__(self, *args, **kwargs):
super(MarkdownYAMLReader, self).__init__(*args, **kwargs)
self.extensions.append(MetaYamlExtension())
self.settings['MARKDOWN']['extensions'].append(MetaYamlExtension())
def _parse_metadata(self, meta):
"""Return the dict containing document metadata"""