19 lines
514 B
PHP
19 lines
514 B
PHP
@extends('stylist-theme-saasland::layouts.app')
|
|
|
|
@php
|
|
$title = $siteTitle;
|
|
$description = $siteDescription;
|
|
$hero = true;
|
|
$pageKey = 'home';
|
|
$contentRenderer = app(\Modules\Content\Services\PageRenderer::class);
|
|
$hasComposition = $contentRenderer->hasComposition($pageKey);
|
|
@endphp
|
|
|
|
@section('content')
|
|
@if($hasComposition)
|
|
{!! $contentRenderer->renderRegion($pageKey, 'body') !!}
|
|
@else
|
|
@include('stylist-theme-saasland::legacy-home-content')
|
|
@endif
|
|
@endsection
|