@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')}}

{{$posts_data->links()}}
@endsection