document the page.latest property in the UI model [skip ci]
authorDan Allen <dan@opendevise.com>
Fri, 26 Mar 2021 07:54:25 +0000 (01:54 -0600)
committerDan Allen <dan@opendevise.com>
Fri, 26 Mar 2021 07:54:25 +0000 (01:54 -0600)
docs/modules/ROOT/pages/templates.adoc

index e58dfea..ebe2233 100644 (file)
@@ -112,6 +112,11 @@ Properties include name (since 2.3), version, displayVersion, prerelease (if set
 | All versions of the current page, including the current page.
 Each entry has the properties url, string, and missing.
 
+| page.latest
+| The entry from `page.versions` that corresponds to the latest version available of this page.
+The latest page may not come from the latest version of the component (if the page is missing in that version).
+This property is not set if this page is in a versionless component.
+
 | page.breadcrumbs
 | An array of breadcrumb items that represent the current selection in the navigation tree.
 Includes text-only and external items.