@extends('frontend.layouts.app') @section('title') {{ __($module_title) }} @endsection @section('content') {{ __($module_title) }} The list of {{ __($module_name) }}. @include('frontend.includes.messages') @foreach ($featured_data as $index => $featured) @php $detail_url = route("frontend.$module_name.show",[encode_id($featured->id), $featured->slug]); @endphp @if(count($featured->tags)) @foreach ($featured->tags as $tag) @endforeach @endif {{$featured->intro}} @endforeach @foreach ($posts_data as $post_singular) @php $detail_url = route("frontend.$module_name.show",[encode_id($post_singular->id), $post_singular->slug]); @endphp @if(count($post_singular->tags)) @foreach ($post_singular->tags as $tag) @endforeach @endif {{$post_singular->intro}} @endforeach @lang('Recent Posts') {{__('Recently published posts')}} @foreach ($recent_data as $row) @php $detail_url = route("frontend.posts.show",[encode_id($row->id), $row->slug]); @endphp @if($row->featured_image != "") @else @endif {{ $row->name }} {{ $row->category_name }} @endforeach {{$posts_data->links()}} @endsection
The list of {{ __($module_name) }}.
{{$featured->intro}}
{{$post_singular->intro}}
{{__('Recently published posts')}}