Initial baseline: LaraBlog core with plugin commerce surface.
Captures the current working tree after theme slots, ArticleAccess, and the payment / paid-content plugins so subsequent work has a reviewable git history.
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Settings;
|
||||
|
||||
use Spatie\LaravelSettings\Settings;
|
||||
|
||||
class GeneralSettings extends Settings
|
||||
{
|
||||
public string $site_name;
|
||||
|
||||
public string $site_url;
|
||||
|
||||
public ?string $site_description;
|
||||
|
||||
public string $active_theme;
|
||||
|
||||
public string $attachments_url_prefix;
|
||||
|
||||
/** @var 'html'|'markdown' Default format for newly created articles */
|
||||
public string $default_content_format;
|
||||
|
||||
/** @var 'html'|'markdown' Format written during sablog import when not converting */
|
||||
public string $import_content_format;
|
||||
|
||||
/** When true, import converts HTML bodies to Markdown */
|
||||
public bool $import_convert_html_to_markdown;
|
||||
|
||||
public static function group(): string
|
||||
{
|
||||
return 'general';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user