Added option to change text on "Home" link

This commit is contained in:
Julian Prieber 2022-06-09 17:41:44 +02:00
parent 09aea659c8
commit 76c484f018
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<div class="container">
<div class="footer fadein" style="margin:5% 0px 35px 0px;">
@if(env('DISPLAY_FOOTER') === true)
@if(Config::get('meta.display_link_home') != 'false')<a class="footer-hover spacing" @if(Config::get('meta.custom_link_home') != '')href="{{ Config::get('meta.custom_link_home') }}"@else href="{{ url('') }}/"@endif>Home</a>@endif
@if(Config::get('meta.display_link_home') != 'false')<a class="footer-hover spacing" @if(Config::get('meta.custom_link_home') != '')href="{{ Config::get('meta.custom_link_home') }}"@else href="{{ url('') }}/"@endif> @if(Config::get('meta.custom_text_home') != ''){{Config::get('meta.custom_text_home')}}@else Home @endif</a>@endif
@if(Config::get('meta.display_link_terms') != 'false')<a class="footer-hover spacing" href="{{ url('') }}/pages/terms">Terms</a>@endif
@if(Config::get('meta.display_link_privacy') != 'false')<a class="footer-hover spacing" href="{{ url('') }}/pages/privacy">Privacy</a>@endif
@if(Config::get('meta.display_link_contact') != 'false')<a class="footer-hover spacing" href="{{ url('') }}/pages/contact">Contact</a>@endif

View File

@ -127,8 +127,10 @@ return [
'display_link_privacy' => 'true',
'display_link_contact' => 'true',
// Enter a custom home link (for example, 'https://littlelink-custom.com').
'custom_link_home' => '', // Leave empty to use default value.
// Changes the text on the "Home" link.
'custom_text_home' => 'Home', // Leave empty to use default value.
/*
|--------------------------------------------------------------------------