diff --git a/app/config/app.php b/app/config/app.php index c0d25a1..4034c56 100644 --- a/app/config/app.php +++ b/app/config/app.php @@ -24,6 +24,14 @@ return [ */ 'language' => Helpers::env('APP_LANGUAGE', 'en'), + /** + * Text of the 'home' link in the navigation breadcrumbs. If undefined or + * null will use the translated form of "home" from your selected language. + * + * Default value: null + */ + 'home_text' => Helpers::env('HOME_TEXT', null), + /** * Enable dark mode? * diff --git a/app/views/components/header.twig b/app/views/components/header.twig index 98708bf..34ba399 100644 --- a/app/views/components/header.twig +++ b/app/views/components/header.twig @@ -2,7 +2,7 @@
- {{ translate('home') }} + {{ config('home_text') | default(translate('home')) }} {% if path is not null %}