@php $canonicalPath = $canonicalPath ?? request()->getPathInfo(); $canonicalPath = $canonicalPath === '' ? '/' : $canonicalPath; if ($canonicalPath !== '/') { $canonicalPath = '/'.trim($canonicalPath, '/'); } $canonicalUrl = rtrim(config('app.url', request()->getSchemeAndHttpHost()), '/').$canonicalPath; @endphp @yield('title', 'Dewemoji') @stack('head')
@yield('content') @stack('scripts')