@include('htmlpage.frontent.layout.app')
{{ $blog->categoryModel->category }}

{{ $blog->title }}

{{-- Extract first paragraph and convert to list --}} @php $contentParts = explode("\n", $blog->content); $firstParagraph = isset($contentParts[0]) ? $contentParts[0] : ''; $remainingContent = implode("\n", array_slice($contentParts, 1)); // Remaining content after the first paragraph @endphp {{-- Display first paragraph as a list --}}
    @foreach (explode('.', $firstParagraph) as $item) @if (trim($item))
  • {!! trim($item) !!}.
  • @endif @endforeach
{{-- Display Image --}}
Blog Image
{{-- Display remaining content --}}

{!! $remainingContent !!}

{{-- Additional content (e.g. headers, lists) --}}
{{-- Tags and Social Share Section --}}
zillion

New Things Will Always
Update Regularly

zillion
@include('htmlpage.frontent.layout.footer')