Skip to content

Commit

Permalink
this does not fix anything
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jul 11, 2015
1 parent d683518 commit 695c98b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nikola/plugins/task/galleries.py
Expand Up @@ -543,7 +543,7 @@ def url_from_path(p):
},
})
context['photo_array'] = photo_array
context['photo_array_json'] = json.dumps(photo_array)
context['photo_array_json'] = json.dumps(photo_array, sort_keys=True)
self.site.render_template(template_name, output_name, context)

def gallery_rss(self, img_list, dest_img_list, img_titles, lang, permalink, output_path, title):
Expand Down
3 changes: 2 additions & 1 deletion nikola/utils.py
Expand Up @@ -540,7 +540,8 @@ def __call__(self, task, values):

def __repr__(self):
return "Change with config: {0}".format(json.dumps(self.config,
cls=CustomEncoder))
cls=CustomEncoder,
sort_keys=True))


def get_theme_path(theme, _themes_dir='themes'):
Expand Down

0 comments on commit 695c98b

Please sign in to comment.