add: 博客脚注

This commit is contained in:
2024-01-21 22:46:12 +08:00
parent a7286c86e3
commit 6bbfd83ef3
5 changed files with 72 additions and 0 deletions

View File

@@ -4,11 +4,33 @@ public class BlogOptions
{
public const string OptionName = "Blog";
/// <summary>
/// 博客markdown文件的根目录
/// </summary>
public required string Root { get; set; }
/// <summary>
/// 博客作者
/// </summary>
public required string Author { get; set; }
/// <summary>
/// 博客的起始年份
/// </summary>
public required int StartYear { get; set; }
/// <summary>
/// 博客项目的名称
/// </summary>
public required string ProjectName { get; set; }
/// <summary>
/// 博客起始页面的背景图片
/// </summary>
public required string BannerImage { get; set; }
/// <summary>
/// 博客底部是否显示ICP备案信息
/// </summary>
public string? RegisterInformation { get; set; }
}