Add homepage language selector

This commit is contained in:
Miguel Nogueira 2020-09-02 19:05:24 +01:00
parent d8dbb1a0a2
commit f001a16d4d

View File

@ -55,7 +55,7 @@
<a class="nav-link " href="{{config('app.sitehomepage')}}">{{__('messages.homepagetxt')}}</a>
</li>
<li class="nav-item">
<a rel="alternate" hreflang="{{ $localeCode }}" href="{{ LaravelLocalization::getLocalizedURL($localeCode, null, [], true) }}">
<a rel="alternate" hreflang="{{ $localeCode }}" href="{{ Mcamara\LaravelLocalization\Facades\LaravelLocalization::getLocalizedURL($localeCode, null, [], true) }}">
{{ $properties['native'] }}
</a>
</li>