Merge pull request #11 from m3nu/master
Fixes #10 - extension issue with newer Pelican version
This commit is contained in:
commit
8bead9c483
@ -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