From 86fdfa556007198336be0c8b03f61cee7761ba86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Munsch?= Date: Fri, 3 Jul 2026 16:38:56 +0200 Subject: [PATCH] fix: not found page --- .../uwil-common/components/head/hreflang.blade.php | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 resources/views/vendor/uwil-common/components/head/hreflang.blade.php diff --git a/resources/views/vendor/uwil-common/components/head/hreflang.blade.php b/resources/views/vendor/uwil-common/components/head/hreflang.blade.php new file mode 100644 index 00000000..a4427f36 --- /dev/null +++ b/resources/views/vendor/uwil-common/components/head/hreflang.blade.php @@ -0,0 +1,9 @@ +@if (!is_null($currentRouteName) && $currentRouteName !== 'redirect.fallback' && count(config('laravellocalization.supportedLocales', [])) > 1) + + @foreach (array_keys(config('laravellocalization.supportedLocales', [])) as $lang) + @php + $url = LaravelLocalization::getLocalizedURL($lang, null, request()->route()->parameters()); + @endphp + + @endforeach +@endif