Skip to content
Permalink
Browse files

Sort keys in tag cloud

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Sep 26, 2015
1 parent 81820b5 commit 449b8731e94663e518ba6d7e7a5c5a5dc63fe87f
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/plugins/task/tags.py
@@ -172,7 +172,7 @@ def write_tag_data(data):
"""Write tag data into JSON file, for use in tag clouds."""
utils.makedirs(os.path.dirname(output_name))
with open(output_name, 'w+') as fd:
json.dump(data, fd)
json.dump(data, fd, sort_keys=True)

if self.site.config['WRITE_TAG_CLOUD']:
task = {

0 comments on commit 449b873

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