Fixes #10 - extension issue with newer Pelican version

This commit is contained in:
Manu 2017-06-08 14:37:24 +08:00
parent 7ee32eaa38
commit 0e640c745e

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"""