optimized canonical for filters category

pull/49/head
A1Gard 2 months ago
parent d43045d073
commit 3775fec3b4

@ -86,6 +86,9 @@
@if(\Illuminate\Support\Str::isUrl($category->canonical) ) @if(\Illuminate\Support\Str::isUrl($category->canonical) )
<link rel="canonical" href="{{$category->canonical}}" /> <link rel="canonical" href="{{$category->canonical}}" />
@endif @endif
@if(request()->has('meta') || request()->has('sort'))
<link rel="canonical" href="{{$category->webUrl()}}" />
@endif
@elseif(isset($clip)) @elseif(isset($clip))
{!! $clip->markup() !!} {!! $clip->markup() !!}
<meta property="og:title" content="{{$clip->title}}" /> <meta property="og:title" content="{{$clip->title}}" />

Loading…
Cancel
Save