|
|
|
<section class='SimplePost content'>
|
|
|
|
<div class="{{gfx()['container']}}">
|
|
|
|
<div class="p-2">
|
|
|
|
<h1>
|
|
|
|
{{$post->title}}
|
|
|
|
<span class="float-end text-muted">
|
|
|
|
Time spend: {{$post->spendTime()}}
|
|
|
|
</span>
|
|
|
|
</h1>
|
|
|
|
<img src="{{$post->orgUrl()}}" alt="" class="img-fluid">
|
|
|
|
<p class="text-muted my-3">
|
|
|
|
{{$post->subtitle}}
|
|
|
|
</p>
|
|
|
|
<div class="row text-center">
|
|
|
|
<div class="col-md">
|
|
|
|
<i class="ri-calendar-line"></i>
|
|
|
|
{{$post->created_at->ldate('Y/m/d H:i')}}
|
|
|
|
</div>
|
|
|
|
<div class="col-md">
|
|
|
|
<i class="ri-message-line"></i>
|
|
|
|
{{number_format($post->approvedComments()->count())}}
|
|
|
|
</div>
|
|
|
|
<div class="col-md">
|
|
|
|
<i class="ri-eye-line"></i>
|
|
|
|
{{number_format($post->view)}}
|
|
|
|
</div>
|
|
|
|
@if($post->tags()->count() > 0)
|
|
|
|
<div class="col-md-6">
|
|
|
|
{{__("Tags")}}:
|
|
|
|
@foreach($post->tags as $tag)
|
|
|
|
<a href="{{tagUrl($tag->slug)}}" class="tag me-2">
|
|
|
|
<i class="ri-price-tag-line"></i>
|
|
|
|
{{$tag->name}}
|
|
|
|
</a>
|
|
|
|
@endforeach
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
{!! $post->body !!}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|