@extends('layouts.usermaster') @section('content') {{$category->name}} {{lang('Home', 'menu')}} {{lang('Category')}} @csrf {{$category->name}} @foreach ($categorys as $category) @foreach ($category->articles as $article) @if($article->status === 'Published') @if($article->articleslug != null) {{$article->title}} @else {{$article->title}} @endif @endif @endforeach @endforeach {{lang('Recent Articles')}} @foreach ($recentarticles as $recentarticle) @if($recentarticle->articleslug != null) @else @endif {{Str::limit($recentarticle->title, '70')}} {{$recentarticle->views}} @endforeach {{lang('Popular Articles')}} @foreach ($populararticles as $populararticle) @if($populararticle->articleslug != null) @else @endif {{Str::limit($populararticle->title, '70')}} {{$populararticle->views}} @endforeach @endsection @section('scripts') @endsection