1
0

Fix web app manifests

This commit is contained in:
Eugen Rochko 2016-11-04 14:19:58 +01:00
parent 2463c72006
commit 4ea13d8dc9
3 changed files with 6 additions and 6 deletions

View File

@ -5,10 +5,10 @@
%meta{:name => 'viewport', :content => 'width=device-width, initial-scale=1'}/ %meta{:name => 'viewport', :content => 'width=device-width, initial-scale=1'}/
%meta{'http-equiv' => 'X-UA-Compatible', :content => 'IE=edge'}/ %meta{'http-equiv' => 'X-UA-Compatible', :content => 'IE=edge'}/
%link{:rel => "apple-touch-icon", :sizes => "180x180", :href => "/assets/apple-touch-icon.png"}/ %link{:rel => "apple-touch-icon", :sizes => "180x180", :href => "/apple-touch-icon.png"}/
%link{:rel => "manifest", :href => "/assets/manifest.json"}/ %link{:rel => "manifest", :href => "/manifest.json"}/
%meta{:name => "msapplication-config", :content => "/assets/browserconfig.xml"}/ %meta{:name => "msapplication-config", :content => "/browserconfig.xml"}/
%meta{:name => "theme-color", :content => "#ffffff"}/ %meta{:name => "theme-color", :content => "#2b90d9"}/
%title %title
= "#{yield(:page_title)} - " if content_for?(:page_title) = "#{yield(:page_title)} - " if content_for?(:page_title)

View File

@ -2,7 +2,7 @@
<browserconfig> <browserconfig>
<msapplication> <msapplication>
<tile> <tile>
<square150x150logo src="/assets/mstile-150x150.png"/> <square150x150logo src="/mstile-150x150.png"/>
<TileColor>#2b5797</TileColor> <TileColor>#2b5797</TileColor>
</tile> </tile>
</msapplication> </msapplication>

View File

@ -3,7 +3,7 @@
"description": "Mastodon is a free, open-source social network server.", "description": "Mastodon is a free, open-source social network server.",
"icons": [ "icons": [
{ {
"src": "\/assets\/android-chrome-192x192.png", "src": "\/android-chrome-192x192.png",
"sizes": "192x192", "sizes": "192x192",
"type": "image\/png" "type": "image\/png"
} }