about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen <eugen@zeonfederated.com>2016-11-02 17:41:32 +0100
committerGitHub <noreply@github.com>2016-11-02 17:41:32 +0100
commit77045d088608eec16548a0dfb693a6307881048d (patch)
tree26181e12c375d346bd0a570ff5c71587d0569d31 /app
parente7723ab6625d3cd48b44ddbd340854ea960706f6 (diff)
parentbc1dba22c51e48ec6680e48cb2792513404b810f (diff)
Merge pull request #130 from fhemberger/feature/manifest
Add touch icons for Chrome, iOS and Windows 10
Diffstat (limited to 'app')
-rw-r--r--app/views/layouts/application.html.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index 89c7b14c4..3ec743768 100644
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -5,6 +5,11 @@
     %meta{:name => 'viewport', :content => 'width=device-width, initial-scale=1'}/
     %meta{'http-equiv' => 'X-UA-Compatible', :content => 'IE=edge'}/
 
+    %link{:rel => "apple-touch-icon", :sizes => "180x180", :href => "/assets/apple-touch-icon.png"}/
+    %link{:rel => "manifest", :href => "/assets/manifest.json"}/
+    %meta{:name => "msapplication-config", :content => "/assets/browserconfig.xml"}/
+    %meta{:name => "theme-color", :content => "#ffffff"}/
+
     %title
       = "#{yield(:page_title)} - " if content_for?(:page_title)
       Mastodon