Renders the markdown documents in Content/Socialism: a landing overview at
/socialism and chapters at /socialism/{slug}, with a sectioned sidebar,
on-page table of contents, prev/next paging and cross-document links.
Pages are noindex and nothing on the site links to them. Underscore-prefixed
files (founding draft, progress log) are never served, deployed or committed.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
16 lines
552 B
C#
16 lines
552 B
C#
namespace JoshHeaps.Net.Models;
|
|
|
|
public class SocialismDoc
|
|
{
|
|
public string Slug { get; set; } = string.Empty;
|
|
public string Title { get; set; } = string.Empty;
|
|
public string Summary { get; set; } = string.Empty;
|
|
public string Section { get; set; } = string.Empty;
|
|
public int Order { get; set; }
|
|
public string HtmlContent { get; set; } = string.Empty;
|
|
public List<SocialismHeading> Headings { get; set; } = [];
|
|
public int ReadingMinutes { get; set; }
|
|
}
|
|
|
|
public record SocialismHeading(int Level, string Id, string Text);
|