Unverified Commit 519c24a7 authored by Riccardo Spagni's avatar Riccardo Spagni
Browse files

fixed live tile colour handling

parent 436b54b9
...@@ -10,4 +10,7 @@ markdown: kramdown ...@@ -10,4 +10,7 @@ markdown: kramdown
exclude: ["README.md"] exclude: ["README.md"]
paginate: 10 paginate: 10
paginate_path: blog/page:num/ paginate_path: blog/page:num/
\ No newline at end of file
# Windows live tiles config
ie_tile_color: 505050
\ No newline at end of file
...@@ -41,7 +41,11 @@ module Jekyll ...@@ -41,7 +41,11 @@ module Jekyll
def generate_config(site) def generate_config(site)
# Configs # Configs
tile_color = site.config["ie_tile_color"] || "#000000" if site.config["ie_tile_color"]
tile_color = "\##{site.config["ie_tile_color"]}"
else
tile_color = "#000000"
end
frequency = site.config["ie_frequency"] || 1440 frequency = site.config["ie_frequency"] || 1440
tile_small = site.config["ie_tile_small"] tile_small = site.config["ie_tile_small"]
tile_medium = site.config["ie_tile_medium"] tile_medium = site.config["ie_tile_medium"]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment