integration vom Blog-plugin, hübschere webseite,
This commit is contained in:
@@ -78,7 +78,7 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'locale' => env('APP_LOCALE', 'en'),
|
||||
'locale' => env('APP_LOCALE', 'de'),
|
||||
|
||||
'fallback_locale' => env('APP_FALLBACK_LOCALE', 'en'),
|
||||
|
||||
|
||||
81
config/filament-blog.php
Normal file
81
config/filament-blog.php
Normal file
@@ -0,0 +1,81 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'post_model' => \App\Models\BlogPost::class,
|
||||
'category_model' => \App\Models\BlogCategory::class,
|
||||
'tag_model' => \App\Models\BlogTag::class,
|
||||
'panels' => [
|
||||
'superadmin' => [
|
||||
'resources' => [
|
||||
\Stephenjude\FilamentBlog\Filament\Resources\PostResource::class,
|
||||
\Stephenjude\FilamentBlog\Filament\Resources\CategoryResource::class,
|
||||
\Stephenjude\FilamentBlog\Filament\Resources\TagResource::class,
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
/**
|
||||
* Supported content editors: richtext & markdown:
|
||||
* \Filament\Forms\Components\RichEditor::class
|
||||
* \Filament\Forms\Components\MarkdownEditor::class
|
||||
*/
|
||||
'editor' => \Filament\Forms\Components\RichEditor::class,
|
||||
|
||||
/**
|
||||
* Configs for Posts banner file that give you option to change
|
||||
* Disk,Directory name , maximum upload size and the
|
||||
* Crop aspect ratio of the Posts banner image.
|
||||
*/
|
||||
'banner' => [
|
||||
'disk' => 'public',
|
||||
'directory' => 'blog',
|
||||
'maxSize' => 5120,
|
||||
'cropAspectRatio' => '16:9',
|
||||
'visibility' => 'public',
|
||||
],
|
||||
|
||||
/**
|
||||
* Configs for Posts that give you option to change
|
||||
* the sort column and direction of the Posts.
|
||||
*/
|
||||
'sort' => [
|
||||
'column' => 'published_at',
|
||||
'direction' => 'desc',
|
||||
],
|
||||
|
||||
/**
|
||||
* Configs for Author Avatar file that give you option to change
|
||||
* Disk,Directory name , maximum upload size and the
|
||||
* Of the Author avatar image.
|
||||
*/
|
||||
'avatar' => [
|
||||
'disk' => 'public',
|
||||
'directory' => 'blog',
|
||||
'maxSize' => 5120,
|
||||
'visibility' => 'public',
|
||||
],
|
||||
|
||||
/**
|
||||
* Buttons for text editor toolbar.
|
||||
*/
|
||||
'toolbar_buttons' => [
|
||||
'attachFiles',
|
||||
'blockquote',
|
||||
'bold',
|
||||
'bulletList',
|
||||
'codeBlock',
|
||||
'h1',
|
||||
'h2',
|
||||
'h3',
|
||||
'hr',
|
||||
'image',
|
||||
'italic',
|
||||
'link',
|
||||
'orderedList',
|
||||
'redo',
|
||||
'strike',
|
||||
'table',
|
||||
'underline',
|
||||
'undo',
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user