@extends('website.layout.layout') @section('title') {{$title}} - @endsection @section('content')

{{$title}}


@foreach($posts as $p)
{{$p->title}}

{{$p->title}}

{{$p->created_at->jdate('Y/m/d')}}

{{$p->subtitle}}

دیدگاه‌: {{$p->comments()->count()}}
@endforeach
واپسین مطالب
    @foreach(\Xmen\StarterKit\Models\Post::latest()->limit(10)->get() as $post)
  • {{$post->title}}
  • @endforeach
پر بازدید ترین مطالب
    @foreach(\Xmen\StarterKit\Models\Post::inRandomOrder()->limit(10)->get() as $post)
  • {{$post->title}}
    {{$post->title}}
  • @endforeach
{{$posts->links()}}
@endsection