Add model alias for payload (#47)

- Update post/page canonical URLs for Fluid
This commit is contained in:
2025-07-05 16:48:15 -04:00
parent ba5e27e011
commit 1f7d415868
3 changed files with 16 additions and 10 deletions
+4
View File
@@ -97,6 +97,10 @@ type AppViewContext = {
/// <summary>The payload for this page as a <c>PostDisplay</c></summary>
member this.Posts =
this.Payload :?> PostDisplay
/// <summary>The model for this view (prior versions used <c>model</c> for the v3 <c>payload</c>)</summary>
member this.Model =
this.Payload
/// <summary>An empty view context</summary>
static member Empty =