Skip to content
Snippets Groups Projects
Commit 77045d08 authored by Eugen's avatar Eugen Committed by GitHub
Browse files

Merge pull request #130 from fhemberger/feature/manifest

Add touch icons for Chrome, iOS and Windows 10
parents e7723ab6 bc1dba22
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
public/android-chrome-192x192.png

14.2 KiB

public/apple-touch-icon.png

11.5 KiB

<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/assets/mstile-150x150.png"/>
<TileColor>#2b5797</TileColor>
</tile>
</msapplication>
</browserconfig>
{
"name": "Mastodon",
"description": "Mastodon is a free, open-source social network server.",
"icons": [
{
"src": "\/assets\/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image\/png"
}
],
"theme_color": "#ffffff",
"display": "standalone",
"start_url": "/#/statuses/home"
}
public/mstile-150x150.png

6.75 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment