Files
larablog/app/Settings/GeneralSettings.php
T
ak 263b98b218 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.
2026-08-12 01:15:38 +08:00

35 lines
764 B
PHP

<?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';
}
}