Commit 36715007 authored by Thomas Bouffard's avatar Thomas Bouffard
Browse files

chore: update the latest version property in ui-model.yml

In Antora 3, the model is `page.component.latest`. It was previously `page.component.latestVersion`
The hbs templates have been updated but the source preview model still refers to the old property.
So the links to the latest version in preview pages weren't resolved.
parent c9167305
......@@ -23,7 +23,7 @@ site:
- url: '#'
version: '1.0'
displayVersion: '1.0'
latestVersion: *latest_version_abc
latest: *latest_version_abc
- &component
name: bonita
title: Bonita Theme
......@@ -34,7 +34,7 @@ site:
version: '2021.1'
displayVersion: '2021.1'
- &component_version
url: '#'
url: *home_url
version: 'dev'
displayVersion: 'dev'
- url: '#'
......@@ -43,7 +43,7 @@ site:
- url: '#'
version: '0'
displayVersion: 'archives'
latestVersion: *latest_version_bonita
latest: *latest_version_bonita
- name: 123
title: Project 123
url: '#'
......@@ -58,7 +58,7 @@ site:
- url: '#'
version: '2.0'
displayVersion: '2.0'
latestVersion: *latest_version_123
latest: *latest_version_123
page:
url: *home_url
home: true
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment