From e4a06fb45743dbea048778fab2a95f274c3f81bb Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Sat, 28 Dec 2019 21:46:52 +0100 Subject: [PATCH] Header: Add external links --- config/config.default.php | 6 ++++++ resources/views/layouts/parts/navbar.twig | 12 ++++++++++++ 2 files changed, 18 insertions(+) diff --git a/config/config.default.php b/config/config.default.php index 9b93eb25..5b146553 100644 --- a/config/config.default.php +++ b/config/config.default.php @@ -23,6 +23,12 @@ return [ // Set to development to enable debugging messages 'environment' => env('ENVIRONMENT', 'production'), + // Header links + // Available link placeholders: %lang% + 'header_items' => [ + //'Foo' => 'https://foo.bar/batz-%lang%.html', + ], + // Footer links 'footer_items' => [ // URL to the angel faq and job description diff --git a/resources/views/layouts/parts/navbar.twig b/resources/views/layouts/parts/navbar.twig index 9045601b..d5bd4fec 100644 --- a/resources/views/layouts/parts/navbar.twig +++ b/resources/views/layouts/parts/navbar.twig @@ -28,6 +28,18 @@