-
-
Notifications
You must be signed in to change notification settings - Fork 90
Expand file tree
/
Copy pathApplicationConfiguration.cs
More file actions
32 lines (18 loc) · 830 Bytes
/
ApplicationConfiguration.cs
File metadata and controls
32 lines (18 loc) · 830 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
namespace LinkDotNet.Blog.Web;
public sealed record ApplicationConfiguration
{
public required string BlogName { get; init; }
public string? BlogBrandUrl { get; init; }
public required string ConnectionString { get; init; }
public required string DatabaseName { get; init; }
public int BlogPostsPerPage { get; init; } = 10;
public int FirstPageCacheDurationInMinutes { get; init; } = 5;
public bool IsAboutMeEnabled { get; set; }
public bool IsGiscusEnabled { get; set; }
public bool IsDisqusEnabled { get; set; }
public bool ShowReadingIndicator { get; init; }
public bool ShowSimilarPosts { get; init; }
public bool ShowBuildInformation { get; init; } = true;
public bool UseMultiAuthorMode { get; init; }
public bool EnableTagDiscoveryPanel { get; set; }
}