sarga theme

This commit is contained in:
merdan 2023-02-24 15:25:29 +05:00
parent 451ee5b597
commit 3c206eea73
1 changed files with 13 additions and 1 deletions

View File

@ -22,14 +22,26 @@
@section('head') @section('head')
@if (isset($homeSEO))
@isset($metaTitle)
<meta name="title" content="{{ $metaTitle }}" />
@endisset
@isset($metaDescription)
<meta name="description" content="{{ $metaDescription }}" />
@endisset
@isset($metaKeywords)
<meta name="keywords" content="{{ $metaKeywords }}" />
@endisset
@endif
@endsection @endsection
@section('content-wrapper') @section('content-wrapper')
{!! view_render_event('bagisto.shop.home.content.before') !!} {!! view_render_event('bagisto.shop.home.content.before') !!}
@if (! is_null($channel->home_page_content)) @if (! is_null($channel->home_page_content))
{!! DbView::make($channel)->field('home_page_content')->with(['sliderData' => $sliderData])->render() !!}
@else @else
@include('shop::home.slider', ['sliderData' => $sliderData]) @include('shop::home.slider', ['sliderData' => $sliderData])
@include('shop::home.featured-products') @include('shop::home.featured-products')