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
+7
View File
@@ -1,6 +1,13 @@
<?php
return [
// Navigation & list
'nav-blog' => 'Blog',
'meta-index-title' => 'Blog',
'meta-index-description' => 'Latest posts',
'empty' => 'No posts yet.',
// Module labels
'title' => 'Blog Posts',
'navigation_label' => 'Blog',
'model_label' => 'Blog Post',
+7 -9
View File
@@ -1,6 +1,13 @@
<?php
return [
// Navigation
'nav-home' => 'Home',
'nav-about' => 'About',
'nav-services' => 'Services',
'nav-contact' => 'Contact',
// Module labels
'title' => 'Pages',
'navigation_label' => 'Pages',
'model_label' => 'Page',
@@ -13,15 +20,6 @@ return [
'restore' => 'Restore Page',
'force_delete' => 'Force Delete',
// Form fields
'title_field' => 'Title',
'slug_field' => 'URL Slug',
'content_field' => 'Content',
'meta_title_field' => 'Meta Title',
'meta_description_field' => 'Meta Description',
'status_field' => 'Status',
'published_at_field' => 'Published At',
// Form sections
'form_section_content' => 'Content',
'form_section_page_settings' => 'Page Settings',