This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site.git
The following commit(s) were added to refs/heads/master by this push:
new e47d18d0 Load Fluido 2.2.0's separate Bootstrap files on the 404 page
e47d18d0 is described below
commit e47d18d01b4b46a0784949cf797d6e4e15f2e52b
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Sun Nov 8 00:52:11 2026 +0000
Load Fluido 2.2.0's separate Bootstrap files on the 404 page
From Fluido 2.2.0 the skin stylesheet no longer contains Bootstrap. Until
maven-site switches to 2.2.0 the two new URLs return 404 and the page renders
as before.
---
content/xdoc/errors/404.xml.vm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/content/xdoc/errors/404.xml.vm b/content/xdoc/errors/404.xml.vm
index 7306f701..8ec65ed5 100644
--- a/content/xdoc/errors/404.xml.vm
+++ b/content/xdoc/errors/404.xml.vm
@@ -30,9 +30,12 @@ under the License.
<head>
<base href="https://maven.apache.org/errors" />
<!-- need to import styles by hand since the generated html has them
relative and before the base tag -->
+ <!-- Fluido 2.2.0 and later ship Bootstrap separately: keep this version
in step with the skin's bootstrap.version -->
+ <link rel="stylesheet"
href="https://maven.apache.org/css/bootstrap-5.3.8.min.css" />
<link rel="stylesheet"
href="https://maven.apache.org/css/apache-maven-fluido-${context.get("version.maven-fluido-skin")}.min.css"
/>
<link rel="stylesheet" href="https://maven.apache.org/css/site.css" />
<link rel="stylesheet" href="https://maven.apache.org/css/print.css"
media="print" />
+ <script type="text/javascript"
src="https://maven.apache.org/js/bootstrap-5.3.8.bundle.min.js" defer="defer" />
<script type="text/javascript"
src="https://maven.apache.org/js/apache-maven-fluido-${context.get("version.maven-fluido-skin")}.min.js"
/>
</head>