@if($notes->count() > 0)
@foreach($notes as $note)
{{-- Title + favorite --}}

{{ $note->title }}

{{-- Category + tags --}} @if($note->category || ($note->tags && count($note->tags)))
@if($note->category) {{ $note->category }} @endif @if($note->tags) @foreach(array_slice($note->tags, 0, 3) as $tag) {{ $tag }} @endforeach @if(count($note->tags) > 3) +{{ count($note->tags) - 3 }} @endif @endif
@endif {{-- Excerpt --}}
{{ $note->excerpt }}
{{-- Footer --}}
@endforeach
@else

No notes found. Create your first one!

New Note
@endif