Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: getnikola/nikola
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3f3a051690f7
Choose a base ref
...
head repository: getnikola/nikola
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a403a2161991
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on May 5, 2015

  1. Fix #1689

    ralsina committed May 5, 2015

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c92fd45 View commit details
  2. properly fix #1689 by removing updated

    Signed-off-by: Chris Warrick <kwpolska@gmail.com>
    Kwpolska committed May 5, 2015

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a403a21 View commit details
Showing with 12 additions and 3 deletions.
  1. +11 −0 CHANGES.txt
  2. +1 −3 nikola/post.py
11 changes: 11 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
New in master
=============

Features
--------

Bugfixes
--------

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

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

4 changes: 1 addition & 3 deletions nikola/post.py
Original file line number Diff line number Diff line change
@@ -899,7 +899,7 @@ def get_metadata_from_meta_file(path, config=None, lang=None):
else:
while len(meta_data) < 7:
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][: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: