@if(isset($report['results'][$name]))
@include('reports.partials.status')
{{ __('Title') }}
@if($report['results'][$name]['passed'])
{{ __('The title tag is perfect.') }}
{{ $report['results'][$name]['value'] }}
@else @foreach($report['results'][$name]['errors'] as $error => $details)
@if($error == 'missing') {{ __('The title tag is missing or empty.') }} @endif @if($error == 'length') {{ __('The title tag must be between :min and :max characters.', ['min' => $details['min'], 'max' => $details['max']]) }}
{{ __('The current title has :value characters.', ['value' => mb_strlen($report['results'][$name]['value'])]) }}
@endif @if($error == 'too_many') {{ __('Only one title tag should be present on the webpage.') }} @endif
@endforeach @endif
{{ __('The title tag is the HTML element that specifies the title of the webpage.') }} {{ __('The title tag is displayed at the top of your browser, in the search results, as well as in the bookmarks bar.') }}
@endif