From: Dan Allen Date: Fri, 26 Mar 2021 07:54:25 +0000 (-0600) Subject: document the page.latest property in the UI model [skip ci] X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=242896a7e68837c65192d94ebea009a7b9d75291;p=eg-antora.git document the page.latest property in the UI model [skip ci] --- diff --git a/docs/modules/ROOT/pages/templates.adoc b/docs/modules/ROOT/pages/templates.adoc index e58dfea..ebe2233 100644 --- a/docs/modules/ROOT/pages/templates.adoc +++ b/docs/modules/ROOT/pages/templates.adoc @@ -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.