You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by gn...@apache.org on 2022/10/27 09:14:01 UTC
[maven-site] 01/02: Fix history to work with 4.0.0-alpha
This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site.git
commit dd8ee30f7399d37b3620337ee376311a3c9a9ab1
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Thu Oct 27 11:13:05 2022 +0200
Fix history to work with 4.0.0-alpha
---
content/markdown/docs/history.md.vm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/content/markdown/docs/history.md.vm b/content/markdown/docs/history.md.vm
index 4d20516f..b4d7115b 100644
--- a/content/markdown/docs/history.md.vm
+++ b/content/markdown/docs/history.md.vm
@@ -36,7 +36,7 @@
#end
<td>##
#if( !$announce.equals( "" ) )
-#if( !$announce.startsWith( "http://" ) )
+#if( !$announce.startsWith( "http://" ) && !$announce.startsWith( "https://" ) )
#set ( $announceLink = "$archive$announce" )
#else
#set ( $announceLink = $announce )
@@ -52,7 +52,7 @@ $b<a href="$announceLink">announce</a>##
$b<a href="./$version/release-notes.html">release notes</a>##
#end
#end
-#if( $version.startsWith( "3.5.0" ) || $version.equals( "2.0.11" ) || $version.equals( "2.2.1" ) || !( $version.contains( "-" ) || $version.startsWith( "2" ) ) )
+#if( $version.startsWith( "4.0.0-alpha" ) || $version.startsWith( "3.5.0" ) || $version.equals( "2.0.11" ) || $version.equals( "2.2.1" ) || !( $version.contains( "-" ) || $version.startsWith( "2" ) ) )
, <a href="/ref/$version/">reference documentation</a>##
#end##
$b_</td>