Skip to content

Commit ecd46f0

Browse files
committed
Add missing html lang attribute to all build websites
1 parent 3c6738b commit ecd46f0

File tree

8 files changed

+10
-9
lines changed

8 files changed

+10
-9
lines changed

JenkinsJobs/shared/utilities.groovy

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,12 @@ def copyStaticWebsiteFiles(String gitRoot, String website) {
124124
}
125125

126126
def redirectionPage(String redirectionTarget, String title, String targetName = null) {
127-
return """
127+
return """\
128128
<!DOCTYPE html>
129+
<html lang="en">
129130
<head>
130131
<title>${title}</title>
131-
<meta http-equiv="refresh" content="0;url=${redirectionTarget}">
132+
<meta http-equiv="refresh" content="0; url=${redirectionTarget}">
132133
</head>
133134
<body>
134135
Redirection to <a href="${redirectionTarget}">${targetName ?: title}</a>.

sites/eclipse/build/buildlogs/logs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en">
33

44
<head>
55
<title>RelEng Logs</title>

sites/eclipse/build/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en">
33

44
<head>
55
<title>Eclipse Project Downloads</title>

sites/eclipse/build/reports.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en">
33

44
<head>
55
<title>Reports</title>

sites/eclipse/build/testresults/logs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en">
33

44
<head>
55
<title>Test Logs</title>

sites/eclipse/overview/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en">
33

44
<head>
55
<title>Eclipse Project Downloads</title>

sites/equinox/build/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en">
33

44
<head>
55
<title>Equinox Build</title>

sites/equinox/overview/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en">
33

44
<head>
55
<title>Equinox Downloads</title>

0 commit comments

Comments
 (0)