Skip to content

Commit

Permalink
feat(template): use variable for mask-icon color
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Oct 16, 2015
1 parent 2560253 commit be3d208
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions _app/_data/curtana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,7 @@ colorful_list: false
# Show email subscription link in footer
# Default: false
subscription: false

# Primary color (Safari mask-icon)
# Default #ff00b4
primary_color: '#ff00b4'
2 changes: 1 addition & 1 deletion _app/_includes/themes/curtana/includes/top.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{% endif %}

<!-- Pinned icon for Safari -->
<link rel="mask-icon" href="{{ '/favicon.svg' | prepend: site.base }}" color="#ff00b4">
<link rel="mask-icon" href="{{ '/favicon.svg' | prepend: site.base }}" color="{{ site.primary_color }}">

<!-- Main CSS -->
<link rel="stylesheet" href="{{ '/css/app.css?assets-inline' | prepend: amsf_theme_assets }}">
Expand Down

0 comments on commit be3d208

Please sign in to comment.