diff --git a/antora-playbook.yml b/antora-playbook.yml index 0844c3ac0..232cc9777 100644 --- a/antora-playbook.yml +++ b/antora-playbook.yml @@ -37,6 +37,7 @@ urls: latest_version_segment: '' redirect_facility: httpd ui: + supplemental_files: ./supplemental-ui bundle: url: https://github.com/spring-io/antora-ui-spring/releases/download/v0.4.7/ui-bundle.zip snapshot: true diff --git a/supplemental-ui/partials/article-latest.hbs b/supplemental-ui/partials/article-latest.hbs new file mode 100644 index 000000000..3ade77a89 --- /dev/null +++ b/supplemental-ui/partials/article-latest.hbs @@ -0,0 +1,16 @@ +{{#if (and page.latest (ne page.url page.latest.url))}} +
+ + + + + +
+ + +
+

{{#if page.componentVersion.prerelease}}This version is still in development and is not considered stable yet.{{/if}} For the latest snapshot version, please use {{page.component.title}} {{page.latest.displayVersion}}!

+
+
+
+{{/if}}