Skip to content
Permalink
Browse files

properly fix #1689 by removing `updated`

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed May 5, 2015
1 parent c92fd45 commit a403a21619911b6363f3cf0838682eb2a78c1555
Showing with 6 additions and 5 deletions.
  1. +3 −0 CHANGES.txt
  2. +3 −5 nikola/post.py
@@ -1,6 +1,9 @@
New in master
=============

Features
--------

Bugfixes
--------

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

meta = {}

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

0 comments on commit a403a21

Please sign in to comment.
You can’t perform that action at this time.