@if (is_admin() and (isset($display_content) and $display_content == false)) @elseif (isset($display_content) and $display_content == true )
@include('/gutenberg/base/common/title') @foreach ($cols as $col) @if( isset($col['type']) and !empty($col['type'])) @switch($col['type']) @case('texte')
@if( !empty($col['surtitle']) or !empty($col['title']) or !empty($col['subtitle'])) @include('/gutenberg/base/common/title', ['surtitle' => $col['surtitle'], 'title' => $col['title'], 'subtitle' => $col['subtitle'], 'classTitle' => 'Left']) @endif @if (isset($col['intro']) and $col['intro'] != "")
{!! $col['intro'] !!}
@endif @if (isset($col['text']) and $col['text'] != "")
{!! $col['text'] !!}
@endif
@break @case( 'image' ) @if ( isset($col['image']) and $col['image'] )
{{ $col['image']['alt'] }} @if ( isset($col['credit_photo']) and $col['credit_photo'] ) © {!! $col['credit_photo'] !!} @endif
@endif @break @case( 'video' ) @if ( isset($col['video']) and $col['video'] )
@if ( isset($col['preview']['url']) and !empty($col['preview']['url'])) {{ $col['preview']['alt'] }} @endif @if ($col['video']['format_video'] == 'video_in') @elseif ($col['video']['format_video'] == 'video_out')
{!! $col['video']['video_out'] !!}
@endif
@endif @break @default No result @break @endswitch @endif @endforeach
@endif