feat: implement dynamic favicon management with site settings support across all layouts
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<meta name="description" content="@yield('meta_description', 'Trunçgil Teknoloji')">
|
||||
<meta name="author" content="Trunçgil Teknoloji">
|
||||
<title>@yield('title', 'Trunçgil Teknoloji')</title>
|
||||
<link rel="shortcut icon" href="{{ asset('html/assets/img/favicon.png') }}">
|
||||
<link rel="shortcut icon" href="{{ ($favicon_path = setting('site_favicon')) ? (str_starts_with($favicon_path, 'http') ? $favicon_path : asset($favicon_path)) : asset('assets/img/favicon.png') }}">
|
||||
<link rel="stylesheet" type="text/css" href="{{ asset('html/assets/fonts/unicons/unicons.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('html/assets/css/plugins.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('html/style.css') }}">
|
||||
|
||||
@@ -8,7 +8,7 @@ $favicon_path = setting('site_favicon');
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ setting('seo_meta_title') }} - {{ $meta['title'] ?? ($settings->default_meta_title ?? config('app.name')) }}</title>
|
||||
<meta name="description" content="{{ $meta['description'] ?? (setting('seo_meta_description') ?? '') }}">
|
||||
<link rel="icon" href="{{ asset('storage/' . $favicon_path) }}">
|
||||
<link rel="icon" href="{{ $favicon_path ? (str_starts_with($favicon_path, 'http') ? $favicon_path : asset($favicon_path)) : asset('assets/img/favicon.png') }}">
|
||||
|
||||
<style>
|
||||
<?php echo setting('custom_css') ?>
|
||||
|
||||
@@ -37,7 +37,7 @@ $favicon_path = setting('site_favicon');
|
||||
<meta name="twitter:image" content="{{ $seo_image }}">
|
||||
@endif
|
||||
|
||||
<link rel="icon" href="{{ asset('storage/' . $favicon_path) }}">
|
||||
<link rel="icon" href="{{ $favicon_path ? (str_starts_with($favicon_path, 'http') ? $favicon_path : asset($favicon_path)) : asset('assets/img/favicon.png') }}">
|
||||
<link rel="stylesheet" href="{{ asset('html/style.css') }}">
|
||||
<link rel="stylesheet" type="text/css" href="{{ asset('assets/fonts/unicons/unicons.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('assets/css/plugins.css') }}">
|
||||
|
||||
Reference in New Issue
Block a user