Skip to content

Commit

Permalink
Fix #1689
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed May 5, 2015
1 parent 3f3a051 commit c92fd45
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGES.txt
@@ -1,3 +1,11 @@
New in master
=============

Bugfixes
--------

* Fix very old metadata format support (Issue #1689)

New in v7.4.0
=============

Expand Down
4 changes: 2 additions & 2 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.
return get_metadata_from_file(path, config, lang), newstylemeta
else:
while len(meta_data) < 7:
while len(meta_data) < 8:
meta_data.append("")
(title, slug, date, updated, tags, link, description, _type) = [
x.strip() for x in meta_data][:7]
x.strip() for x in meta_data][:8]

meta = {}

Expand Down

0 comments on commit c92fd45

Please sign in to comment.