<main class="page flex-1 p-5">
    @if (isset($isBlog) && $isBlog)
        {!! $content[0] !!}
        @if ($posts && $posts->count())
            @include("frontend.common.posts", ["posts" => $posts])
        @endif

        @if (isset($content[1]))
            {!! $content[1] !!}
        @endif
    @else
        {!! $page->content !!}
    @endif
</main>
