Add homepage language selector

This commit is contained in:
Miguel Nogueira 2020-09-02 19:04:25 +01:00
parent 4e1b4f5afd
commit d8dbb1a0a2
1 changed files with 5 additions and 0 deletions

View File

@ -54,6 +54,11 @@
<li class="nav-item"> <li class="nav-item">
<a class="nav-link " href="{{config('app.sitehomepage')}}">{{__('messages.homepagetxt')}}</a> <a class="nav-link " href="{{config('app.sitehomepage')}}">{{__('messages.homepagetxt')}}</a>
</li> </li>
<li class="nav-item">
<a rel="alternate" hreflang="{{ $localeCode }}" href="{{ LaravelLocalization::getLocalizedURL($localeCode, null, [], true) }}">
{{ $properties['native'] }}
</a>
</li>
</ul> </ul>
</div> </div>
<div class="collapse navbar-collapse" id="navbarSupportedContent"> <div class="collapse navbar-collapse" id="navbarSupportedContent">