Fixed default Meta Tags
This commit is contained in:
parent
4fc63f2a59
commit
8a81e3c169
|
@ -20,7 +20,7 @@
|
||||||
<meta property="og:url" content="{{ url('') }}">
|
<meta property="og:url" content="{{ url('') }}">
|
||||||
<meta property="og:type" content="website">
|
<meta property="og:type" content="website">
|
||||||
<meta property="og:title" content="{{env('APP_NAME')}}">
|
<meta property="og:title" content="{{env('APP_NAME')}}">
|
||||||
<meta property="og:description" content="{{ strip_tags($message->home_message) }}">
|
<meta property="og:description" content='@if($message->home_message == "default"){!!strip_tags(__('messages.HOME.MESSAGE'))!!}@else{!!$message->home_message!!}@endif'>
|
||||||
@if(file_exists(base_path("assets/linkstack/images/").findFile('avatar')))
|
@if(file_exists(base_path("assets/linkstack/images/").findFile('avatar')))
|
||||||
<meta property="og:image" content="{{ asset('assets/linkstack/images/'.findFile('avatar')) }}">
|
<meta property="og:image" content="{{ asset('assets/linkstack/images/'.findFile('avatar')) }}">
|
||||||
@else
|
@else
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
<meta property="twitter:domain" content="{{ url('') }}">
|
<meta property="twitter:domain" content="{{ url('') }}">
|
||||||
<meta property="twitter:url" content="{{ url('') }}">
|
<meta property="twitter:url" content="{{ url('') }}">
|
||||||
<meta name="twitter:title" content="{{env('APP_NAME')}}">
|
<meta name="twitter:title" content="{{env('APP_NAME')}}">
|
||||||
<meta name="twitter:description" content="{{ strip_tags($message->home_message) }}">
|
<meta name="twitter:description" content='@if($message->home_message == "default"){!!strip_tags(__('messages.HOME.MESSAGE'))!!}@else{!!$message->home_message!!}@endif'>
|
||||||
@if(file_exists(base_path("assets/linkstack/images/").findFile('avatar')))
|
@if(file_exists(base_path("assets/linkstack/images/").findFile('avatar')))
|
||||||
<meta name="twitter:image" content="{{ asset('assets/linkstack/images/'.findFile('avatar')) }}">
|
<meta name="twitter:image" content="{{ asset('assets/linkstack/images/'.findFile('avatar')) }}">
|
||||||
@else
|
@else
|
||||||
|
|
Loading…
Reference in New Issue