|
4 | 4 | <meta charset="utf-8"> |
5 | 5 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
6 | 6 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
7 | | - <meta name="author" content="{!! env('APP_AUTHOR') !!}"> |
8 | | - <meta name="keywords" content="{!! env('APP_KEYWORDS') !!}"> |
9 | | - <meta name="description" content="{!! isset($HTMLDescription) ? $HTMLDescription : env('APP_DESCRIPTION') !!}"/> |
| 7 | + <meta name="author" content="{{ config('app.author') }}"> |
| 8 | + <meta name="keywords" content="{{ config('app.keywords') }}"> |
| 9 | + <meta name="description" content="{{ isset($HTMLDescription) ? $HTMLDescription : config('app.description') }}"/> |
10 | 10 |
|
11 | 11 | <meta property="og:type" name="og:type" content="website"/> |
12 | | - <meta property="og:site_name" content="{{ env('APP_TITLE') }}" /> |
| 12 | + <meta property="og:site_name" content="{{ config('app.title') }}"/> |
13 | 13 | <meta property="og:url" name="og:url" content="{{ Request::url() }}"/> |
14 | | - <meta property="og:caption" name="og:caption" content="{{ env('APP_URL') }}"/> |
15 | | - <meta property="fb:app_id" name="fb:app_id" content="{{ env('FACEBOOK_APP_ID') }}"/> |
16 | | - <meta property="og:title" name="og:title" content="{{ isset($HTMLTitle) ? $HTMLTitle : env('APP_TITLE') }}"> |
17 | | - <meta property="og:description" name="og:description" content="{!! isset($HTMLDescription) ? $HTMLDescription : env('APP_DESCRIPTION') !!}"> |
18 | | - <meta property="og:image" name="og:image" content="{{ env('APP_URL') }}{{ isset($HTMLImage) ? $HTMLImage : 'images/logo.png' }}"> |
| 14 | + <meta property="og:caption" name="og:caption" content="{{ config('app.url') }}"/> |
| 15 | + <meta property="fb:app_id" name="fb:app_id" content="{{ config('app.facebook_id') }}"/> |
| 16 | + <meta property="og:title" name="og:title" content="{{ isset($HTMLTitle) ? $HTMLTitle : config('app.title') }}"> |
| 17 | + <meta property="og:description" name="og:description" content="{{ isset($HTMLDescription) ? $HTMLDescription : config('app.description') }}"> |
| 18 | + <meta property="og:image" name="og:image" content="{{ config('app.url') }}{{ isset($HTMLImage) ? $HTMLImage : 'images/logo.png' }}"> |
19 | 19 |
|
20 | | - <title>{{ isset($HTMLTitle) ? $HTMLTitle : env('APP_TITLE') }}</title> |
| 20 | + <title>{{ isset($HTMLTitle) ? $HTMLTitle : config('app.title') }}</title> |
21 | 21 |
|
22 | 22 | <link rel="shortcut icon" type="image/ico" href="/favicon.ico"> |
23 | 23 |
|
24 | 24 | {{-- google font --}} |
25 | | - @if(env('APP_ENV') != 'local') |
| 25 | + @if(config('app.env') != 'local') |
26 | 26 | @endif |
27 | 27 |
|
28 | 28 | {{-- stylesheet --}} |
|
31 | 31 |
|
32 | 32 | <body> |
33 | 33 | {{-- facebook root --}} |
34 | | - @if(env('APP_ENV') != 'local') |
| 34 | + @if(config('app.env') != 'local') |
35 | 35 | @include('partials.facebook') |
36 | 36 | @endif |
37 | 37 |
|
|
60 | 60 | {{-- page specific scripts --}} |
61 | 61 | @yield('scripts') |
62 | 62 |
|
63 | | - @if(env('APP_ENV') != 'local') |
| 63 | + @if(config('app.env') != 'local') |
64 | 64 | @include('partials.google_analytics') |
65 | 65 | @endif |
66 | 66 | </body> |
|
0 commit comments