Temporary change latest version message

This commit is contained in:
Janne Valkealahti
2024-05-29 11:59:23 +01:00
parent 18933f9e5c
commit 070e74315e
2 changed files with 17 additions and 0 deletions

View File

@@ -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

View File

@@ -0,0 +1,16 @@
{{#if (and page.latest (ne page.url page.latest.url))}}
<div class="admonitionblock important latest">
<table>
<tbody><tr>
<td class="icon">
<i class="fa icon-important" title="Important"></i>
</td>
<td class="content">
<div class="paragraph">
<p>{{#if page.componentVersion.prerelease}}This version is still in development and is not considered stable yet.{{/if}} For the latest snapshot version, please use <a href="{{{relativize ./page.latest.url}}}">{{page.component.title}} {{page.latest.displayVersion}}</a>!</p>
</div>
</td>
</tr></tbody>
</table>
</div>
{{/if}}