Snapshot of main at 9f39a6e1e (2026-11-02)
This commit is contained in:
commit
6ccf1792d7
2580 files changed
+1040202
No files matched your search
@@ -0,0 +1,32 @@
|
||||
{{-- Icons and the preview for shared links, for every layout. Expects $pageTitle (the page's fallback title).
|
||||
Optional files (favicon.svg, favicon-96x96.png, site.webmanifest, the preview image) are linked only when
|
||||
they exist: in the platform folder, the theme's favicon_dir or public/. --}}
|
||||
@php
|
||||
// yieldContent() escapes a section given as a string and the default itself; only the app name is added here
|
||||
$brandTitle = trim($__env->yieldContent('title', $pageTitle ?? '')) . ' - ' . e(config('app.name'));
|
||||
@endphp
|
||||
<title>{!! $brandTitle !!}</title>
|
||||
<link rel="icon" type="image/x-icon" href="{{ theme_favicon('favicon.ico') }}">
|
||||
@if($svgIcon = theme_favicon_optional('favicon.svg'))
|
||||
<link rel="icon" type="image/svg+xml" href="{{ $svgIcon }}">
|
||||
@endif
|
||||
@if($icon96 = theme_favicon_optional('favicon-96x96.png'))
|
||||
<link rel="icon" type="image/png" sizes="96x96" href="{{ $icon96 }}">
|
||||
@endif
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="{{ theme_favicon('favicon-32x32.png') }}">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="{{ theme_favicon('favicon-16x16.png') }}">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="{{ theme_favicon('apple-touch-icon.png') }}">
|
||||
@if($manifest = theme_favicon_optional('site.webmanifest'))
|
||||
<link rel="manifest" href="{{ $manifest }}">
|
||||
@endif
|
||||
|
||||
{{-- Open Graph: property=, not name= (Facebook and LinkedIn only read property) --}}
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:site_name" content="{{ config('app.name') }}">
|
||||
<meta property="og:title" content="{!! $brandTitle !!}">
|
||||
<meta property="og:url" content="{{ url()->current() }}">
|
||||
<meta property="og:locale" content="{{ str_replace('-', '_', app()->getLocale()) }}">
|
||||
@if($ogImage = theme_og_image())
|
||||
<meta property="og:image" content="{{ $ogImage }}">
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
@endif
|
||||
Reference in new issue
Block a user