@if ($title = $shortcode->title)

{{ $title }}

@endif @if ($subtitle = $shortcode->subtitle)

{{ $subtitle }}

@endif
@if ($shortcode->button_url && $shortcode->button_label) {{ $shortcode->button_label }} @endif
@foreach($posts as $post) @if($loop->index < 2) @php($timeReading = number_format(strlen(strip_tags($post->content)) / 300))

{{ $post->name }}

{{ $post->created_at->translatedFormat('d M y') }} {{ __(':number mins read', ['number' => $timeReading]) }}

{!! BaseHelper::clean(Str::limit($post->description, 120)) !!}

@endif @endforeach
    @foreach($posts->skip(2) as $post) @php($timeReading = number_format(strlen(strip_tags($post->content)) / 300))
  • {{ $post->name }}
    {{ $post->created_at->translatedFormat('d M y') }} {{ __(':number mins read', ['number' => $timeReading]) }}
    {{ $post->name }}
  • @endforeach