Skip to content

Commit

Permalink
hack to make docutils site build
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto Alsina committed May 30, 2017
1 parent bfecd81 commit dde5cda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/plugins/compile/rest/__init__.py
Expand Up @@ -92,7 +92,7 @@ def read_metadata(self, post, file_metadata_regexp=None, unslugify_titles=False,
name = name.lower()

meta[name] = value
if '$' in meta['date']:
if '$' in meta.get('date', ''):
meta['date'] = '1/1/1990'
return meta

Expand Down

0 comments on commit dde5cda

Please sign in to comment.