@forelse($postPage['Page'] ?? [] as $post) @php if($post){ if(strpos($postType['C3'], 'youtube') !== false){ $url = $post['T1']; $parts = explode('embed/', $url); if(count($parts) == 2) { $href = $parts[0].'watch?v='.$parts[1]; } }else{ $href = $post['T1']; } } @endphp
@if ($postType['C5'] === 'gallery') {{--
--}} blog
@else @endif
  • {{ $post['C9'] }}
  • {{ $post['C4'] }}

{!! $post['Title'] !!}

@if ($postType['C5'] === 'gallery')

{{ $post['C7'] }}

@else @php if (isset($post['T1']) && strpos($post['T1'], 'embed') !== false) { $parts = explode('embed/', $post['T1']); if(count($parts) == 2) { $post['T1'] = $parts[0].'watch?v='.$parts[1]; } } @endphp
@endif
@empty
데이터가 존재하지 않습니다
@endforelse