Merge pull request #748 from Simounet/feature/web-app-manifest

manifest.json added for webapp declaration
This commit is contained in:
daniel 2019-01-23 19:28:35 -07:00 committed by GitHub
commit 10ac905887
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 0 deletions

20
public/manifest.json Normal file
View File

@ -0,0 +1,20 @@
{
"name": "PixelFed",
"short_name": "PixelFed",
"start_url": ".",
"display": "standalone",
"background_color": "#f5f8fa",
"description": "Federated Image Sharing",
"icons": [
{
"src": "img/favicon.png",
"type": "image/png",
"sizes": "153x152"
},
{
"src": "img/pixelfed-icon-color.svg",
"type": "image/svg",
"sizes": "50x50"
}
]
}

View File

@ -10,6 +10,7 @@
<meta name="mobile-web-app-capable" content="yes">
<title>{{ $title ?? config('app.name', 'Laravel') }}</title>
<link rel="manifest" href="/manifest.json">
<meta property="og:site_name" content="{{ config('app.name', 'pixelfed') }}">
<meta property="og:title" content="{{ $title ?? config('app.name', 'pixelfed') }}">