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

manifest.json added for webapp declaration
pull/797/head
daniel 6 years ago committed by GitHub
commit 10ac905887
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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"
}
]
}

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

Loading…
Cancel
Save