@extends('layout') @section('body') @vite('resources/js/blog.js') @if(request()->user() && $blog->user->id == request()->user()->id)
@csrf
@include('blog.modal_update') @else @endif @csrf

{{ $blog->title }}

by {{ $blog->user->username }}

{{ $blog->epilog }}

Views : {{ $blog->views }}

Likes : {{ $blog->likes()->count() }}

@if($blog->containt)
{!! html_entity_decode(app(Spatie\LaravelMarkdown\MarkdownRenderer::class)->toHtml($blog->containt)) !!}
@endif @endsection