diff --git a/resources/views/littlelink.blade.php b/resources/views/littlelink.blade.php index 52f3c2e..1717e0b 100644 --- a/resources/views/littlelink.blade.php +++ b/resources/views/littlelink.blade.php @@ -5,20 +5,18 @@
-{{-- Mastodon rel="me" link --}} +{{-- Fediverse rel="me" links --}} +@php + $relMe = "mastodon, firefish"; + $relMeList = explode(', ', $relMe); +@endphp + @foreach($links as $link) - @if($link->name === "mastodon") + @if(in_array($link->name, $relMeList)) @endif @endforeach -{{-- Firefish rel="me" link --}} -@foreach($links as $link) - @if($link->name === "firefish") - - @endif -@endforeach - littlelink_description }}"> @@ -89,7 +87,7 @@ if($customBackgroundExists == true){ @endif @endif - + @@ -105,7 +103,7 @@ if($customBackgroundExists == true){ @else @endif - + @@ -126,7 +124,7 @@ if($customBackgroundExists == true){ {{-- --}} - @include('layouts.fonts') + @include('layouts.fonts') @if(file_exists(base_path("assets/linkstack/images/").findFile('favicon'))) @@ -272,7 +270,7 @@ if($customBackgroundExists == true){@if(env('ALLOW_USER_HTML') === true){!! $info->littlelink_description !!}@else{{ $info->littlelink_description }}@endif