@extends('layouts.blog') @section('title', 'Technoblog | Home') @section('blog_content')
@foreach ($latestPosts as $post)
image_link) }}">

strtolower($post->category->name), "slug" => $post->slug]) }}">{{ $post->title }}

{{ $post->ago() }}      {{ $post->total_likes }} Likes    {{ $post->comment->count() }} comments
@endforeach
@foreach ($blogCategories as $category)
{{ $category->name }} strtolower($category->name)]) }}">More
@foreach ($posts as $post) @if($post->category->name == $category->name)
image_link) }}" alt="Card image cap">
@endif @endforeach @endforeach
@endsection