55<head >
66 <meta charset =" utf-8" >
77
8- {{-- Mastodon rel="me" link --}}
9- @foreach ($links as $link )
10- @if ($link -> name === " mastodon" )
11- <link href =" {{ $link -> link } }" rel =" me" >
12- @endif
13- @endforeach
8+ {{-- Fediverse rel="me" links --}}
9+ @php
10+ $relMe = " mastodon, firefish" ;
11+ $relMeList = explode (' , ' , $relMe );
12+ @endphp
1413
15- {{-- Firefish rel="me" link --}}
1614@foreach ($links as $link )
17- @if ($link -> name === " firefish " )
15+ @if (in_array ( $link -> name , $relMeList ) )
1816 <link href =" {{ $link -> link } }" rel =" me" >
1917 @endif
2018@endforeach
21-
19+
2220<?php
2321// Theme Config
2422if (! function_exists (' theme' )) {
@@ -58,7 +56,7 @@ function themeAsset($path){
5856 @endif
5957
6058@if (env (' CUSTOM_META_TAGS' ) == ' true' )
61- @include (' layouts.meta' )
59+ @include (' layouts.meta' )
6260@else
6361 <meta name =" description" content =" {{ $userinfo -> littlelink_description } }" >
6462 <meta name =" author" content =" {{ $userinfo -> name } }" >
@@ -89,7 +87,7 @@ function themeAsset($path){
8987 </style >
9088@endif
9189@endif
92-
90+
9391<!-- #### BEGIN Meta Tags social media preview images ####-->
9492 <!-- This shows a preview for title, description and avatar image of users profiles if shared on social media sites -->
9593
@@ -105,7 +103,7 @@ function themeAsset($path){
105103 @else
106104 <meta property =" og:image" content =" {{ asset (' assets/linkstack/images/logo.svg' ) } }" >
107105 @endif
108-
106+
109107 <!-- Twitter Meta Tags -->
110108 <meta name =" twitter:card" content =" summary_large_image" >
111109 <meta property =" twitter:domain" content =" {{ url (' ' ) } } /{{ " @" . $littlelink_name } }" >
@@ -126,7 +124,7 @@ function themeAsset($path){
126124 {{-- <script>{!! file_get_contents(base_path("assets/external-dependencies/fontawesome.js")) !!}</script> --}}
127125 <style >{!! str_replace (' ../' , ' studio/' , file_get_contents (base_path (" assets/external-dependencies/fontawesome.css" ))) ! !} </style >
128126
129- @include (' layouts.fonts' )
127+ @include (' layouts.fonts' )
130128 <style >{!! file_get_contents (base_path (" assets/linkstack/css/normalize.css" )) ! !} </style >
131129 <style >{!! file_get_contents (base_path (" assets/linkstack/css/animate.css" )) ! !} </style >
132130 @if (file_exists (base_path (" assets/linkstack/images/" ). findFile (' favicon' )) )
@@ -272,7 +270,7 @@ function themeAsset($path){
272270 <!-- Short Bio -->
273271 <style >.description-parent * {margin-bottom : 1em ;}.description-parent {padding-bottom : 30px ;} </style >
274272 <center ><div class =" fadein description-parent" ><p class =" fadein" >@if (env (' ALLOW_USER_HTML' ) === true ){!! $info -> littlelink_description ! !}@else {{ $info -> littlelink_description } }@endif </p ></div ></center >
275-
273+
276274 <!-- Icons -->
277275 @php $icons = DB:: table (' links' )-> where (' user_id' , $userinfo -> id )-> where (' button_id' , 94 )-> get (); @endphp
278276 @if (count ($icons ) > 0 )
@@ -283,7 +281,7 @@ function themeAsset($path){
283281 </div >
284282 @endif
285283
286- @endforeach
284+ @endforeach
287285
288286 <!-- Buttons -->
289287 @php $initial = 1 ; @endphp
@@ -344,12 +342,12 @@ function themeAsset($path){
344342@endforeach
345343
346344 @include (' layouts.footer' )
347-
345+
348346 </div >
349347 </div >
350348 </div >
351349
352350@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
353351
354352</body >
355- </html >
353+ </html >
0 commit comments