@php $type = isset($type) && $type ? $type : "link"; @endphp @if($type === "link") {!! $title !!} @else {!! $title !!} @endif