@extends('components.layout') @section('title', 'Local News by Location | ' . ($settings['site_name'] ?? 'LOCAL PULSE')) @section('content')

Local News by Location

@foreach($states as $state)

{{ $state->name }}

@foreach($state->children->take(8) as $city) {{ $city->name }} {{ $city->articles_count ?? 0 }} articles @endforeach @if($state->children->count() > 8)

+{{ $state->children->count() - 8 }} more locations

@endif
@endforeach
@endsection