@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