Fixes #10 - extension issue with newer Pelican version
This commit is contained in:
parent
7ee32eaa38
commit
0e640c745e
@ -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"""
|
||||
|
Loading…
Reference in New Issue
Block a user