@extends('layouts.mainlayout') @php $websitedata=get_website(); @endphp @section('title',$blog->metatitle??$websitedata->default_metatitle) @section('description',$blog->metadescription??$websitedata->default_metadescription) @section('keywords', $blog->metakeywords??$websitedata->default_metakeywords) @section('canonical', route('blog.detail',[$blog->slug])??url('/')) @section('og:type',$blog->metatitle??'article') @section('og:url',route('blog.detail',[$blog->slug])??url('/')) @section('og:title',$blog->metatitle ??$websitedata->default_metatitle) @section('og:description',$blog->metadescription ??$websitedata->default_metadescription) @section('twitter:card',$blog->metatitle??'article') @section('twitter:url',route('blog.detail',[$blog->slug])??url('/')) @section('twitter:title',$blog->metatitle ??$websitedata->default_metatitle) @section('twitter:description',$blog->metadescription ??$websitedata->default_metadescription) @section('content')

{{$blog->title}}

{{--Blog Detail--}} Blog Detail

{{$blog->title}}

  • {{$blog->created_by->fname.' '.$blog->created_by->lname}}
  • {{$blog->created_at->format('j F, Y')}}
  • 0
{!! $blog->contents !!}
@include('includes.latest_blogs')

Categories

    @if(isset($blogcats) && count($blogcats)>0) @foreach($blogcats as $cat)
  • {{$cat}}{{--4--}}
  • @endforeach @else No Categories Yet. @endif
@endsection