Merge pull request #264 from adamgoose/patch-1

Correcting Social Metadata Links
This commit is contained in:
Julian Prieber 2022-12-11 13:38:33 +01:00 committed by GitHub
commit ca1c32f1bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@ return $path;}
<!-- This shows a preview for title, description and avatar image of users profiles if shared on social media sites -->
<!-- Facebook Meta Tags -->
<meta property="og:url" content="{{ url('') }}/@littlelink_name">
<meta property="og:url" content="{{ url('') }}/{{ "@" . $littlelink_name }}">
<meta property="og:type" content="website">
<meta property="og:title" content="{{ $userinfo->name }}">
<meta property="og:description" content="{{ $userinfo->littlelink_description }}">
@ -61,8 +61,8 @@ return $path;}
<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta property="twitter:domain" content="{{ url('') }}/@littlelink_name">
<meta property="twitter:url" content="{{ url('') }}/@littlelink_name">
<meta property="twitter:domain" content="{{ url('') }}/{{ "@" . $littlelink_name }}">
<meta property="twitter:url" content="{{ url('') }}/{{ "@" . $littlelink_name }}">
<meta name="twitter:title" content="{{ $userinfo->littlelink_name }}">
<meta name="twitter:description" content="{{ $userinfo->littlelink_description }}">
@if(file_exists(base_path("img/$littlelink_name" . ".png" )))
@ -324,4 +324,4 @@ function get_operating_system() {
@if(theme('enable_custom_code') == "true" and theme('enable_custom_body_end') == "true" and env('ALLOW_CUSTOM_CODE_IN_THEMES') == 'true')@include($GLOBALS['themeName'] . '.extra.custom-body-end')@endif
</body>
</html>
</html>