From fe0f4543c1b3a28f872b8a303dcd0f7aa823b872 Mon Sep 17 00:00:00 2001
From: Thomas Skowron
Date: Tue, 29 Nov 2016 19:01:12 +0000
Subject: [PATCH] Add tab icon for safari/touchbar
Closes #1382
---
app/assets/images/tab-icon.svg | 8 ++++++++
app/views/layouts/_head.html.erb | 1 +
2 files changed, 9 insertions(+)
create mode 100644 app/assets/images/tab-icon.svg
diff --git a/app/assets/images/tab-icon.svg b/app/assets/images/tab-icon.svg
new file mode 100644
index 000000000..5e8bb3119
--- /dev/null
+++ b/app/assets/images/tab-icon.svg
@@ -0,0 +1,8 @@
+
+
\ No newline at end of file
diff --git a/app/views/layouts/_head.html.erb b/app/views/layouts/_head.html.erb
index 118100df6..8830a8692 100644
--- a/app/views/layouts/_head.html.erb
+++ b/app/views/layouts/_head.html.erb
@@ -18,6 +18,7 @@
<%= favicon_link_tag "favicon-96x96.png", :rel => "icon", :sizes => "96x96", :type => "image/png" %>
<%= favicon_link_tag "android-chrome-192x192.png", :rel => "icon", :sizes => "192x192", :type => "image/png" %>
<%= favicon_link_tag "favicon-16x16.png", :rel => "icon", :sizes => "16x16", :type => "image/png" %>
+ <%= tag("link", { :rel => "mask-icon", :href => asset_path("tag-icon.svg"), :color => "#7ebc6f" }) %>
<%= tag("link", { :rel => "manifest", :href => asset_path("manifest.json") }) %>
<%= tag("meta", { :name => "msapplication-config", :content => asset_path("browserconfig.xml") }) %>
<%= tag("meta", { :name => "msapplication-TileColor", :content => "#00a300" }) %>
--
2.39.5
|