Blog Debug Page

Debug Info:

Artikel Count: {{ isset($artikels) ? $artikels->count() : 'Variable not set' }}

Kategori Count: {{ isset($kategoris) ? $kategoris->count() : 'Variable not set' }}

Current Time: {{ now() }}

@if(isset($artikels) && $artikels->count() > 0)

Articles Data:

@foreach($artikels as $artikel)

{{ $artikel->judul }}

Status: {{ $artikel->status }} | Aktif: {{ $artikel->aktif ? 'Yes' : 'No' }}

Created: {{ $artikel->created_at }}

{{ Str::limit(strip_tags($artikel->konten), 100) }}

@endforeach
@else
No articles found or variable not passed to view!
@endif