@php /* @var $getData */ $title = $getData->title; $text = $getData->text; $slug = $getData->slug; $identifier = $getData->slug; $created_at = $getData->created_at; $updated_at = $getData->updated_at; @endphp @extends('themes.'.config('smartekcms.themes.frontend').'.app', [ 'title' => $title, 'meta_description' => Illuminate\Support\Str::limit(strip_tags(htmlspecialchars_decode($text)), 156), 'published_time' => $created_at->format('c'), 'modified_time' => $updated_at->format('c'), 'identifier' => $slug, 'section' => trans('front.dynamicpage.pages'), 'cover_image' => $coverImage ?? $generalSettingsCoverImage, 'model_type' => 'dynamicpage', ]) @section('head') @endsection @section('content') {{ $getData->title }} {{ trans('front.general.home') }} {{ trans('front.dynamicpage.pages') }} {{ $getData->title }} @if($coverImage = $getData->getFirstMediaUrlTraitAttribute('cover', 'default')) @endif {{ $getData->title }} {!! $getData->text !!} @if($gallery = $getData->getMediaTraitAttribute('gallery')) @foreach($gallery as $k => $media) @endforeach @endif @endsection @section('js') @parent @endsection