Configurable post page

This commit is contained in:
2025-12-12 00:10:57 +08:00
parent 8181938aaf
commit 8642737a07
6 changed files with 87 additions and 38 deletions

View File

@@ -59,7 +59,11 @@ public enum PublicationPageType
/// The redirect mode allows user to create a shortcut for their own link.
/// such as example.solian.page/rickroll -- DyZ 301 -> youtube.com/...
/// </summary>
Redirect
Redirect,
/// <summary>
/// The Post Page type allows user render a list of posts based on the preconfigured filter.
/// </summary>
PostPage
}
public class SnPublicationPage : ModelBase
@@ -72,4 +76,4 @@ public class SnPublicationPage : ModelBase
public Guid SiteId { get; set; }
[JsonIgnore] public SnPublicationSite Site { get; set; } = null!;
}
}