From 23ae169e528dfe320a1bc66eb8d70c23a643e6d9 Mon Sep 17 00:00:00 2001 From: Chris Kankiewicz Date: Wed, 3 Jun 2020 14:55:16 -0700 Subject: [PATCH] Added configuration option for home link text --- app/config/app.php | 8 ++++++++ app/views/components/header.twig | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) 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 @@