Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
monero-project
monero-site
Commits
519c24a7
Unverified
Commit
519c24a7
authored
Feb 18, 2015
by
Riccardo Spagni
Browse files
fixed live tile colour handling
parent
436b54b9
Changes
2
Show whitespace changes
Inline
Side-by-side
_config.yml
View file @
519c24a7
...
...
@@ -11,3 +11,6 @@ exclude: ["README.md"]
paginate
:
10
paginate_path
:
blog/page:num/
# Windows live tiles config
ie_tile_color
:
505050
\ No newline at end of file
_plugins/jekyll-live-tiles.rb
View file @
519c24a7
...
...
@@ -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"
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment