add: table of contents

This commit is contained in:
2024-07-29 21:52:23 +08:00
parent 12777c227d
commit 91ae6d8ac1
7 changed files with 219 additions and 4 deletions

View File

@@ -0,0 +1,10 @@
namespace YaeBlog.Core.Models;
public class BlogHeadline(string title, string selectorId)
{
public string Title { get; } = title;
public string SelectorId { get; set; } = selectorId;
public List<BlogHeadline> Children { get; } = [];
}