mirror of
https://github.com/SaphireLattice/quest-reader.git
synced 2026-11-13 02:40:36 -07:00
Use completely standalone Razor template and compiler
This commit is contained in:
8 files changed
+299
-90
No files matched your search
@@ -17,6 +17,7 @@ public record ThreadPost
|
||||
[JsonIgnore]
|
||||
public bool IsChapterAnnounce { get; set; } = false;
|
||||
public ChapterMetadata? Chapter { get; set; }
|
||||
public List<int>? RepliesTo { get; set; }
|
||||
}
|
||||
|
||||
public record Metadata
|
||||
@@ -25,6 +26,7 @@ public record Metadata
|
||||
public string Author { get; set; }
|
||||
public Uri AuthorPage { get; set; }
|
||||
public string? AuthorTwitter { get; set; }
|
||||
public string? Description { get; set; }
|
||||
public Uri AssetsBaseUrl { get; set; }
|
||||
public string SocialPreview { get; set; }
|
||||
public List<int> Threads { get; set; }
|
||||
@@ -62,6 +64,7 @@ public class TemplateModel
|
||||
public Metadata Metadata { get; set; }
|
||||
public DateTime Now { get; set; }
|
||||
public List<ThreadPost> Posts { get; set; }
|
||||
public List<ThreadPost> AllPosts { get; set; }
|
||||
public string BaseUrl { get; set; }
|
||||
public string ToolVersion { get; set; }
|
||||
}
|
||||
Reference in new issue
Block a user