|
8 | 8 | 4. [API](4-API.md) |
9 | 9 | 5. [Extras](5-Extras.md) |
10 | 10 |
|
11 | | -> Coming Soon ... |
| 11 | + |
| 12 | +```php |
| 13 | +<?php |
| 14 | + |
| 15 | +return [ |
| 16 | + |
| 17 | + /* ----------------------------------------------------------------- |
| 18 | + | Title |
| 19 | + | ----------------------------------------------------------------- |
| 20 | + */ |
| 21 | + |
| 22 | + 'title' => [ |
| 23 | + 'default' => 'Default Title', |
| 24 | + 'site-name' => config('app.name', 'My Application'), |
| 25 | + 'separator' => '-', |
| 26 | + 'first' => true, |
| 27 | + 'max' => 55, |
| 28 | + ], |
| 29 | + |
| 30 | + /* ----------------------------------------------------------------- |
| 31 | + | Description |
| 32 | + | ----------------------------------------------------------------- |
| 33 | + */ |
| 34 | + |
| 35 | + 'description' => [ |
| 36 | + 'default' => 'Default description', |
| 37 | + 'max' => 155, |
| 38 | + ], |
| 39 | + |
| 40 | + /* ----------------------------------------------------------------- |
| 41 | + | Keywords |
| 42 | + | ----------------------------------------------------------------- |
| 43 | + */ |
| 44 | + |
| 45 | + 'keywords' => [ |
| 46 | + 'default' => [ |
| 47 | + // |
| 48 | + ], |
| 49 | + ], |
| 50 | + |
| 51 | + /* ----------------------------------------------------------------- |
| 52 | + | Miscellaneous |
| 53 | + | ----------------------------------------------------------------- |
| 54 | + */ |
| 55 | + |
| 56 | + 'misc' => [ |
| 57 | + 'canonical' => true, |
| 58 | + 'robots' => config('app.env') !== 'production', // Tell robots not to index the content if it's not on production |
| 59 | + 'default' => [ |
| 60 | + 'viewport' => 'width=device-width, initial-scale=1', // Responsive design thing |
| 61 | + 'author' => '', // https://plus.google.com/[YOUR PERSONAL G+ PROFILE HERE] |
| 62 | + 'publisher' => '', // https://plus.google.com/[YOUR PERSONAL G+ PROFILE HERE] |
| 63 | + ], |
| 64 | + ], |
| 65 | + |
| 66 | + /* ----------------------------------------------------------------- |
| 67 | + | Webmaster Tools |
| 68 | + | ----------------------------------------------------------------- |
| 69 | + */ |
| 70 | + |
| 71 | + 'webmasters' => [ |
| 72 | + 'google' => '', |
| 73 | + 'bing' => '', |
| 74 | + 'alexa' => '', |
| 75 | + 'pinterest' => '', |
| 76 | + 'yandex' => '', |
| 77 | + ], |
| 78 | + |
| 79 | + /* ----------------------------------------------------------------- |
| 80 | + | Open Graph |
| 81 | + | ----------------------------------------------------------------- |
| 82 | + */ |
| 83 | + |
| 84 | + 'open-graph' => [ |
| 85 | + 'enabled' => true, |
| 86 | + 'prefix' => 'og:', |
| 87 | + 'type' => 'website', |
| 88 | + 'title' => 'Default Open Graph title', |
| 89 | + 'description' => 'Default Open Graph description', |
| 90 | + 'site-name' => '', |
| 91 | + 'properties' => [ |
| 92 | + // |
| 93 | + ], |
| 94 | + ], |
| 95 | + |
| 96 | + /* ----------------------------------------------------------------- |
| 97 | + | Twitter |
| 98 | + | ----------------------------------------------------------------- |
| 99 | + | Supported card types : 'app', 'gallery', 'photo', 'player', 'product', 'summary', 'summary_large_image'. |
| 100 | + */ |
| 101 | + |
| 102 | + 'twitter' => [ |
| 103 | + 'enabled' => true, |
| 104 | + 'prefix' => 'twitter:', |
| 105 | + 'card' => 'summary', |
| 106 | + 'site' => 'Username', |
| 107 | + 'title' => 'Default Twitter Card title', |
| 108 | + 'metas' => [ |
| 109 | + // |
| 110 | + ], |
| 111 | + ], |
| 112 | + |
| 113 | + /* ----------------------------------------------------------------- |
| 114 | + | Analytics |
| 115 | + | ----------------------------------------------------------------- |
| 116 | + */ |
| 117 | + |
| 118 | + 'analytics' => [ |
| 119 | + 'google' => '', // UA-XXXXXXXX-X |
| 120 | + ], |
| 121 | + |
| 122 | +]; |
| 123 | +``` |
0 commit comments