Skip to content
Permalink
Browse files

lint

  • Loading branch information
ralsina committed Jun 6, 2017
1 parent 0630374 commit fbf41c26695c528e94cbff820fd83eb19aab0d1b
Showing with 3 additions and 3 deletions.
  1. +3 −2 nikola/nikola.py
  2. +0 −1 nikola/plugins/compile/html.py
@@ -965,8 +965,9 @@ def __init__(self, **config):
if config.get('METADATA_FORMAT', 'nikola').lower() == 'pelican':
if 'markdown.extensions.meta' not in config.get('MARKDOWN_EXTENSIONS', []) \
and 'markdown' in self.config['COMPILERS']:
utils.LOGGER.warn('To use the pelican metadata format you need to add '
'"markdown.extensions.meta" to your MARKDOWN_EXTENSIONS setting.')
utils.LOGGER.warn(
'To use the pelican metadata format you need to add '
'"markdown.extensions.meta" to your MARKDOWN_EXTENSIONS setting.')

# We use one global tzinfo object all over Nikola.
try:
@@ -111,4 +111,3 @@ def read_metadata(self, post, file_metadata_regexp=None, unslugify_titles=False,
metadata[k] = tag.get('content', '')
map_metadata(metadata, 'html_metadata', self.site.config)
return metadata

0 comments on commit fbf41c2

Please sign in to comment.