File tree Expand file tree Collapse file tree 3 files changed +21
-25
lines changed Expand file tree Collapse file tree 3 files changed +21
-25
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,14 @@ section {
53
53
}
54
54
}
55
55
56
+ body .td-404 main .error-details {
57
+ max-width : 1100px ;
58
+ margin-left : auto ;
59
+ margin-right : auto ;
60
+ margin-top : 4em ;
61
+ margin-bottom : 0 ;
62
+ }
63
+
56
64
/* HEADER */
57
65
58
66
.td-navbar {
Original file line number Diff line number Diff line change @@ -63,6 +63,9 @@ other = "Latest version"
63
63
[docs_version_other_heading ]
64
64
other = " Older versions"
65
65
66
+ [error_404_were_you_looking_for ]
67
+ other = " Were you looking for:"
68
+
66
69
[examples_heading ]
67
70
other = " Examples"
68
71
Original file line number Diff line number Diff line change 1
1
{{ define "main" }}
2
2
{{ partial "handle-version-switch-404.html" . }}
3
- < div class ="container-404 ">
4
- < h4 >
5
- Perhaps you were looking for:
6
- </ h4 >
7
-
8
- < br />
9
- < br />
10
-
11
- < ul >
12
- < li >
13
- < a href ="/docs ">
14
- The Kubernetes documentation
15
- </ a >
16
- </ li >
17
- < li >
18
- < a href ="/blog ">
19
- The Kubernetes blog
20
- </ a >
21
- </ li >
22
- < li >
23
- < a href ="/community ">
24
- The Kubernetes community
25
- </ a >
26
- </ li >
3
+ < section id ="error-404 " class ="error-details ">
4
+ < p >
5
+ {{ T "error_404_were_you_looking_for" }}
6
+ </ p >
7
+ < ul id ="error-sections ">
8
+ {{ $sections := slice "docs" "blog" "training" "partners" "community" "case-studies" }}
9
+ {{ range $sections }}
10
+ {{ with site.GetPage "section" . }}< li > < a href ="{{ .RelPermalink }} " data-proofer-ignore > {{ .Title }}</ a > </ li > {{ end }}
11
+ {{ end }}
27
12
</ ul >
28
- </ div >
13
+ </ section >
29
14
{{ end }}
You can’t perform that action at this time.
0 commit comments