diff --git a/config/instance.php b/config/instance.php index f1945234..a5954246 100644 --- a/config/instance.php +++ b/config/instance.php @@ -30,6 +30,10 @@ return [ ], 'page' => [ + '404' => [ + 'header' => env('PAGE_404_HEADER', 'Sorry, this page isn\'t available.'), + 'body' => env('PAGE_404_BODY', 'The link you followed may be broken, or the page may have been removed. Go back to Pixelfed.') + ], '503' => [ 'header' => env('PAGE_503_HEADER', 'Service Unavailable'), 'body' => env('PAGE_503_BODY', 'Our service is in maintenance mode, please try again later.') diff --git a/resources/views/errors/404.blade.php b/resources/views/errors/404.blade.php index 68094ba2..9edb32b9 100644 --- a/resources/views/errors/404.blade.php +++ b/resources/views/errors/404.blade.php @@ -3,8 +3,8 @@ @section('content')
The link you followed may be broken, or the page may have been removed. Go back to Pixelfed.
+{!!config('instance.page.404.body')!!}
{{config('instance.page.503.body')}}
+{!!config('instance.page.503.body')!!}