Skip to content

Commit

Permalink
Sort tileimages
Browse files Browse the repository at this point in the history
  • Loading branch information
da2x committed Aug 11, 2015
1 parent 8bc3543 commit 45b42dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion v7/windows_live_tiles/windows_live_tiles.plugin
Expand Up @@ -4,7 +4,7 @@ Module = windows_live_tiles

[Documentation]
Author = Daniel Aleksandersen
Version = 0.5
Version = 1.0
Website = https://www.aeyoun.com/projects/nikola/
Description = Generates tile images and Live Tiles for Windows 8.1 and 10.

2 changes: 1 addition & 1 deletion v7/windows_live_tiles/windows_live_tiles.py
Expand Up @@ -170,7 +170,7 @@ def generate_browserconfig(self, output_name, windows_live_tiles, notification_c
tilecolor = "#ff80aa"

tiles = ""
for tiletemplate, tileimage in windows_live_tiles["tileimages"].items():
for tiletemplate, tileimage in sorted(windows_live_tiles["tileimages"].items()):
tiles += '<{tiletemplate} src="{tileimage}"/>\n '.format(tiletemplate=tiletemplate, tileimage=urljoin(self.site.config["BASE_URL"], tileimage))

browserconfig = """<?xml version="1.0" encoding="utf-8"?>
Expand Down

0 comments on commit 45b42dd

Please sign in to comment.