Skip to content

Commit 99b4f0d

Browse files
committed
Fix opengraph data
1 parent da7336a commit 99b4f0d

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

config/seotools.php

+9-7
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
'defaults' => [
1313
'title' => 'NativePHP', // set false to total remove
1414
'titleBefore' => false, // Put defaults.title before page title, like 'It's Over 9000! - Dashboard'
15-
'description' => 'Turn your Laravel app into a desktop app', // set false to total remove
15+
'description' => 'Turn your Laravel apps into native desktop and mobile apps', // set false to total remove
1616
'separator' => ' - ',
1717
'keywords' => [],
1818
'canonical' => false, // Set to null or 'full' to use Url::full(), set to 'current' to use Url::current(), set false to total remove
@@ -37,12 +37,14 @@
3737
* The default configurations to be used by the opengraph generator.
3838
*/
3939
'defaults' => [
40-
'title' => 'Herd', // set false to total remove
41-
'description' => 'Launch Laravel faster than ever before.', // set false to total remove
42-
'url' => false, // Set null for using Url::current(), set false to total remove
40+
'title' => 'NativePHP', // set false to total remove
41+
'description' => 'Build native applications, with the tools you already know.', // set false to total remove
42+
'url' => null, // Set null for using Url::current(), set false to total remove
4343
'type' => false,
4444
'site_name' => false,
45-
'images' => [],
45+
'images' => [
46+
asset('img/og.png'),
47+
],
4648
],
4749
],
4850
'twitter' => [
@@ -59,8 +61,8 @@
5961
* The default configurations to be used by the json-ld generator.
6062
*/
6163
'defaults' => [
62-
'title' => 'Herd', // set false to total remove
63-
'description' => 'Launch Laravel faster than ever before.', // set false to total remove
64+
'title' => 'NativePHP', // set false to total remove
65+
'description' => 'Build native applications, with the tools you already know.', // set false to total remove
6466
'url' => false, // Set to null or 'full' to use Url::full(), set to 'current' to use Url::current(), set false to total remove
6567
'type' => 'WebPage',
6668
'images' => [],

public/img/og.png

61.4 KB
Loading

resources/views/welcome.blade.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1">
66

77
<title>NativePHP | Baking Delicious Native Apps</title>
8-
8+
{!! OpenGraph::generate() !!}
9+
{!! Twitter::generate() !!}
910
<!-- Fonts -->
1011
<link rel="preconnect" href="https://fonts.bunny.net">
1112
<link

0 commit comments

Comments
 (0)