Add model alias for payload (#47)
- Update post/page canonical URLs for Fluid
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user