Captures the current working tree after theme slots, ArticleAccess, and the payment / paid-content plugins so subsequent work has a reviewable git history.
32 lines
495 B
PHP
32 lines
495 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Settings;
|
|
|
|
use Spatie\LaravelSettings\Settings;
|
|
|
|
class BlogSettings extends Settings
|
|
{
|
|
public int $posts_per_page;
|
|
|
|
public bool $allow_comments;
|
|
|
|
public string $comment_order;
|
|
|
|
public bool $show_views;
|
|
|
|
public bool $show_author;
|
|
|
|
public string $date_format;
|
|
|
|
public bool $close_comments_on_old_posts;
|
|
|
|
public int $close_comments_days;
|
|
|
|
public static function group(): string
|
|
{
|
|
return 'blog';
|
|
}
|
|
}
|