diff --git a/_config.yml b/_config.yml index 1c826bdf..35d504cd 100644 --- a/_config.yml +++ b/_config.yml @@ -10,4 +10,7 @@ markdown: kramdown exclude: ["README.md"] paginate: 10 -paginate_path: blog/page:num/ \ No newline at end of file +paginate_path: blog/page:num/ + +# Windows live tiles config +ie_tile_color: 505050 \ No newline at end of file diff --git a/_plugins/jekyll-live-tiles.rb b/_plugins/jekyll-live-tiles.rb index c7475344..4bff229f 100644 --- a/_plugins/jekyll-live-tiles.rb +++ b/_plugins/jekyll-live-tiles.rb @@ -41,7 +41,11 @@ module Jekyll def generate_config(site) # 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 tile_small = site.config["ie_tile_small"] tile_medium = site.config["ie_tile_medium"]