@section('site_title', formatTitle([$website->domain, __('Pages'), config('settings.title')]))
{{ __('Pages') }}
@include('stats.filters', ['name' => __('URL'), 'count' => __('Pageviews')])
@if(count($pages) == 0) {{ __('No data') }}. @else
{{ __('URL') }}
{{ __('Pageviews') }}
{{ __('Total') }}
{{ number_format($total->count, 0, __('.'), __(',')) }}
{{ number_format((($total->count / $total->count) * 100), 1, __('.'), __(',')) }}%
@foreach($pages as $page)
{{ number_format($page->count, 0, __('.'), __(',')) }}
{{ number_format((($page->count / $total->count) * 100), 1, __('.'), __(',')) }}%
@endforeach
{{ __('Showing :from-:to of :total', ['from' => $pages->firstItem(), 'to' => $pages->lastItem(), 'total' => $pages->total()]) }}
{{ $pages->onEachSide(1)->links() }}
@endif