Skip to content

Commit c92fd45

Browse files
committedMay 5, 2015
Fix #1689
1 parent 3f3a051 commit c92fd45

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed
 

‎CHANGES.txt

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
New in master
2+
=============
3+
4+
Bugfixes
5+
--------
6+
7+
* Fix very old metadata format support (Issue #1689)
8+
19
New in v7.4.0
210
=============
311

‎nikola/post.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -897,10 +897,10 @@ def get_metadata_from_meta_file(path, config=None, lang=None):
897897
# a 1-file post.
898898
return get_metadata_from_file(path, config, lang), newstylemeta
899899
else:
900-
while len(meta_data) < 7:
900+
while len(meta_data) < 8:
901901
meta_data.append("")
902902
(title, slug, date, updated, tags, link, description, _type) = [
903-
x.strip() for x in meta_data][:7]
903+
x.strip() for x in meta_data][:8]
904904

905905
meta = {}
906906

0 commit comments

Comments
 (0)
Please sign in to comment.