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

@@ -0,0 +1,18 @@
namespace DysonNetwork.Zone.Customization;
// PostPage.Config -> filter
public class PostPageFilterConfig
{
public List<int> Types { get; set; }
public string? PubName { get; set; }
public string? OrderBy { get; set; }
public bool OrderDesc { get; set; } = true;
}
// PostPage.Config -> layout
public class PostPageLayoutConfig
{
public string? Title { get; set; }
public string? Description { get; set; }
public bool ShowPub { get; set; } = true;
}