Add Blog functionality: Created BlogController with index and show methods, added blog views, and integrated localization for meta tags. Updated routes to include blog paths.

This commit is contained in:
Ümit Tunç
2025-10-30 15:26:11 -03:00
parent 1cd55f4a1d
commit 08e07a9e63
21 changed files with 732 additions and 27 deletions
+21
View File
@@ -0,0 +1,21 @@
<!doctype html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ $meta['title'] ?? ($settings->default_meta_title ?? config('app.name')) }}</title>
<meta name="description" content="{{ $meta['description'] ?? ($settings->default_meta_description ?? '') }}">
<link rel="icon" href="{{ $settings?->favicon_path ? asset($settings->favicon_path) : asset('assets/img/favicon.ico') }}">
<link rel="stylesheet" href="{{ asset('html/style.css') }}">
</head>
<body>
@include('partials.navbar')
@yield('content')
@include('partials.footer')
{{-- İsteğe bağlı: tema JS dosyalarınız varsa buraya ekleyin --}}
{{-- <script src="{{ asset('assets/js/main.js') }}" defer></script> --}}
</body>
</html>