{{ $post->title }}

@php $count = $limit = 0; @endphp @foreach ($post->layoutItems as $key => $item) @if ($count == 0)
@endif @if ($item->type == 'group_start') @if (!empty($item->data['groups_in_row'])) @php $limit = $item->data['groups_in_row']; @endphp @endif
@endif @if ($item->type == 'group_end')
@if ($count == $limit)
@php $count = 0; @endphp @endif @continue @endif @if ($item->type == 'title')

{{ $item->text }}

@continue @endif @if ($item->type == 'text_block') {!! $item->text !!} @continue @endif @if ($item->type== 'image') {{ $item->text }} @continue @endif @php $count++; @endphp @endforeach @if ($post->getExtraFieldByAlias('translations')) Translations: {{ $post->getExtraFieldByAlias('translations') }} @endif @if ($post->settings['show_categories'] && count($post->categories))

Categories
@foreach ($post->categories as $category) {{ $category->name }} @endforeach

@endif @if ($post->settings['allow_comments']) @include('themes.starter.partials.post.comments') @endif