Fixed bug
Fixed social preview image displaying on littlelink page
This commit is contained in:
parent
50f838f555
commit
51c16a2d00
|
@ -17,8 +17,6 @@
|
||||||
<meta property="og:description" content="{{ $userinfo->littlelink_description }}">
|
<meta property="og:description" content="{{ $userinfo->littlelink_description }}">
|
||||||
@if(file_exists(base_path("img/$littlelink_name" . ".png" )))
|
@if(file_exists(base_path("img/$littlelink_name" . ".png" )))
|
||||||
<meta property="og:image" content="{{ asset("img/$littlelink_name" . ".png") }}">
|
<meta property="og:image" content="{{ asset("img/$littlelink_name" . ".png") }}">
|
||||||
@elseif(file_exists(base_path("littlelink/images/avatar.png" )))
|
|
||||||
<img class="rounded-avatar" src="{{ asset('littlelink/images/avatar.png') }}" srcset="{{ asset('littlelink/images/avatar@2x.png 2x') }}" width="100px" height="100px">
|
|
||||||
@else
|
@else
|
||||||
<meta property="og:image" content="{{ asset('littlelink/images/logo.svg') }}">
|
<meta property="og:image" content="{{ asset('littlelink/images/logo.svg') }}">
|
||||||
@endif
|
@endif
|
||||||
|
|
Loading…
Reference in New Issue