Skip to content

Commit

Permalink
properly fix #1689 by removing updated
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed May 5, 2015
1 parent c92fd45 commit a403a21
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGES.txt
@@ -1,6 +1,9 @@
New in master New in master
============= =============


Features
--------

Bugfixes Bugfixes
-------- --------


Expand Down
8 changes: 3 additions & 5 deletions nikola/post.py
Expand Up @@ -897,10 +897,10 @@ def get_metadata_from_meta_file(path, config=None, lang=None):
# a 1-file post. # a 1-file post.
return get_metadata_from_file(path, config, lang), newstylemeta return get_metadata_from_file(path, config, lang), newstylemeta
else: else:
while len(meta_data) < 8: while len(meta_data) < 7:
meta_data.append("") meta_data.append("")
(title, slug, date, updated, tags, link, description, _type) = [ (title, slug, date, tags, link, description, _type) = [
x.strip() for x in meta_data][:8] x.strip() for x in meta_data][:7]


meta = {} meta = {}


Expand All @@ -910,8 +910,6 @@ def get_metadata_from_meta_file(path, config=None, lang=None):
meta['slug'] = slug meta['slug'] = slug
if date: if date:
meta['date'] = date meta['date'] = date
if updated:
meta['updated'] = updated
if tags: if tags:
meta['tags'] = tags meta['tags'] = tags
if link: if link:
Expand Down

0 comments on commit a403a21

Please sign in to comment.