@php $post ??= []; $titleSlug = str(data_get($post, 'title'))->slug(); $price = data_get($post, 'price_formatted'); $picturesSliderPath = 'post.show.inc.pictures-slider.'; $defaultPicturesSlider = 'swiper-horizontal'; $picturesSlider = $picturesSliderPath . config('settings.single.pictures_slider', $defaultPicturesSlider); @endphp @if (view()->exists($picturesSlider)) @includeFirst([config('larapen.core.customizedViewPath') . $picturesSlider, $picturesSlider]) @else @php $defaultPicturesSlider = $picturesSliderPath . $defaultPicturesSlider; @endphp @if (view()->exists($defaultPicturesSlider)) @includeFirst([config('larapen.core.customizedViewPath') . $defaultPicturesSlider, $defaultPicturesSlider]) @endif @endif @section('after_styles') @parent @if (config('lang.direction') == 'rtl') @endif @endsection @section('after_scripts') @parent @endsection