diff --git a/themes/default/pages/single.blade.php b/themes/default/pages/single.blade.php index 39ca7145..c7931983 100644 --- a/themes/default/pages/single.blade.php +++ b/themes/default/pages/single.blade.php @@ -4,14 +4,106 @@ @section('keywords', $page->description->meta_keywords) @section('description', $page->description->meta_description) +@push('header') + + + +@endpush + @section('content') -
-
-
- {!! $page_format['content'] !!} +
+
+
+
+

{{ $page->description->title }}

+
+ {{ __('page_category.author') }}: {{ $page->author }} + {{ __('page_category.created_at') }}: {{ $page->created_at }} + {{ __('page_category.views') }}: {{ $page->views }} +
+ {!! $page_format['content'] !!} + + + @if ($products) +
+
+
{{ __('admin/product.product_relations') }}
+
+
+
+ @foreach ($products as $item) +
+ @include('shared.product', ['product' => $item]) +
+ @endforeach +
+
+
+
+
+
+
+
+ @endif +
+
+ + @if ($page->category) +
+
+
+
{{ __('product.category') }}
+
+
+ +
+
+
+ @endif
@endsection + +@push('add-scripts') + +@endpush \ No newline at end of file