@extends('simple-layout') @section('content')

{{ $message ?? trans('errors.404_page_not_found') }}

{{ trans('errors.sorry_page_not_found') }}
@if (setting('app-public') || !user()->isDefault())

{{ trans('entities.pages_popular') }}

@include('partials.entity-list', ['entities' => Views::getPopular(10, 0, 'page'), 'style' => 'compact'])

{{ trans('entities.books_popular') }}

@include('partials.entity-list', ['entities' => Views::getPopular(10, 0, 'book'), 'style' => 'compact'])

{{ trans('entities.chapters_popular') }}

@include('partials.entity-list', ['entities' => Views::getPopular(10, 0, 'chapter'), 'style' => 'compact'])
@endif
@stop