summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-07-09 01:43:48 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-07-09 01:43:48 -0400
commitc4330d97b1f58870433538430c96a3747c0d0836 (patch)
treec15fccd50367d27b28b1e3dc4997a8a93c749a2e
parent6591485562ef590f27e3ddd3025adb8a30b8ca09 (diff)
downloadgitlab-ce-c4330d97b1f58870433538430c96a3747c0d0836.tar.gz
Add Windows 8 pinned site tile meta tags
-rw-r--r--app/assets/images/msapplication-tile.pngbin0 -> 6102 bytes
-rw-r--r--app/views/layouts/_head.html.haml4
2 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/images/msapplication-tile.png b/app/assets/images/msapplication-tile.png
new file mode 100644
index 00000000000..f8c5c8b28b4
--- /dev/null
+++ b/app/assets/images/msapplication-tile.png
Binary files differ
diff --git a/app/views/layouts/_head.html.haml b/app/views/layouts/_head.html.haml
index 64ae33619e6..a43b6d57c9c 100644
--- a/app/views/layouts/_head.html.haml
+++ b/app/views/layouts/_head.html.haml
@@ -26,6 +26,10 @@
= favicon_link_tag 'touch-icon-iphone-retina.png', rel: 'apple-touch-icon', sizes: '120x120'
= favicon_link_tag 'touch-icon-ipad-retina.png', rel: 'apple-touch-icon', sizes: '152x152'
+ -# Windows 8 pinned site tile
+ %meta{name: 'msapplication-TileImage', content: image_url('msapplication-tile.png')}
+ %meta{name: 'msapplication-TileColor', content: '#554488'}
+
= yield :meta_tags
= render 'layouts/google_analytics' if extra_config.has_key?('google_analytics_id')