Skip to content
Permalink
Browse files

Fixing order for other metadata.

  • Loading branch information
felixfontein committed Jan 18, 2015
1 parent 8bcba85 commit 83cb02003ecdfc4f30352af1f1211b27f3e50911
Showing with 3 additions and 2 deletions.
  1. +3 −2 nikola/utils.py
@@ -35,6 +35,7 @@
import io
import locale
import logging
import natsort
import os
import re
import json
@@ -1241,8 +1242,8 @@ def write_metadata(data):
pass

# Leftover metadata (user-specified/non-default).
for k, v in data.items():
meta.append(f.format(k, v))
for k in natsort.natsorted(list(data.keys())):
meta.append(f.format(k, data[k]))

meta.append('')

0 comments on commit 83cb020

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