@php /** * Docs * * Functions * Translatable string: __t(VALUE); * Get resource source: asset(PATH); * Get template parts: get_template_part('template-parts.NAME TEMPLATE', null or subname, [args...]); * * Guide * Blade docs: https://laravel.com/docs/10.x/blade * */ @endphp @extends('app') @section('content') @php $current_language = LaravelLocalization::getCurrentLocale(); $page_class = [ 'pages-wrap', 'page-id-' . $template->get_id() ]; $layout = $template->get_layout(); if($layout == 'extended' ){ $page_class[] = 'pages-wrap-extended'; } if($layout == 'fullextended' ){ $page_class[] = 'pages-wrap-fullextended'; } @endphp
@if($template->get_view_title())

{{$template->get_title($current_language, true)}}

@endif @if($template->get_view_content() && $template->get_view_content_position() == 'before_builder')
{!! $template->get_content($current_language, true) !!}
@endif @if($template->get_view_builder())
@get_template_part('page.pages.parts.row', null, ['builder' => $template->get_builder()])
@endif @if($template->get_view_content() && $template->get_view_content_position() == 'after_builder')
{!! $template->get_content($current_language, true) !!}
@endif
@endsection