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
@@ -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') }}">