feat: implement dynamic favicon management with site settings support across all layouts

This commit is contained in:
Ümit Tunç
2026-05-20 06:13:19 +03:00
parent 4168e1c8d4
commit 51ae8fdd9c
5 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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') ?>