@extends($activeTemplate . 'layouts.frontend') @section('content') @include($activeTemplate . 'sections.banner') @if (@$sections->secs != null) @foreach (json_decode(@$sections->secs) as $sec) @includeif($activeTemplate . 'sections.' . $sec) @endforeach @endif @endsection