Skip to content

Commit

Permalink
Merge pull request #264 from adamgoose/patch-1
Browse files Browse the repository at this point in the history
Correcting Social Metadata Links
  • Loading branch information
JulianPrieber authored Dec 11, 2022
2 parents ef2ea18 + 4faffd5 commit ca1c32f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions resources/views/littlelink.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function themeAsset($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 }}">
Expand All @@ -61,8 +61,8 @@ function themeAsset($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" )))
Expand Down Expand Up @@ -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>

0 comments on commit ca1c32f

Please sign in to comment.