File tree Expand file tree Collapse file tree 5 files changed +12
-3
lines changed Expand file tree Collapse file tree 5 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -477,7 +477,8 @@ section#cncf {
477
477
}
478
478
479
479
// OCEAN NODES
480
- #oceanNodes {
480
+ #oceanNodes , .td-home .k8s-overview {
481
+
481
482
padding-top : $ocean-nodes-padding-Y ;
482
483
padding-bottom : $ocean-nodes-padding-Y ;
483
484
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ $video-section-height: 550px;
23
23
}
24
24
}
25
25
26
- #oceanNodes {
26
+ #oceanNodes , .td-home .k8s-overview {
27
27
.main-section {
28
28
position : relative ;
29
29
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ $feature-box-div-width: 45%;
66
66
}
67
67
}
68
68
69
- #oceanNodes {
69
+ #oceanNodes , .td-home .k8s-overview {
70
70
h3 {
71
71
text-align : left ;
72
72
margin-bottom : 18px ;
Original file line number Diff line number Diff line change
1
+ < section id ="{{ .id }} "{{ with .class }} class ="{{ . }} "{{ end }} >
2
+ {{ .inner }}
3
+ </ section >
Original file line number Diff line number Diff line change 2
2
{{- $style := .Get "style" -}}
3
3
{{- $id := .Get "id" | default (printf "section-%d" .Ordinal) -}}
4
4
{{- $bg := .Get "background-image" -}}
5
+ {{/* special case Kubernetes overview */}}
6
+ {{- if eq $class "k8s-overview" -}}
7
+ {{- partial "kubernetes-overview.html" (dict "id" $id "class" $class "inner" $.Inner ) -}}
8
+ {{- else -}}
5
9
{{- if $bg -}}
6
10
{{ template "shortcodes-blocks_getimage" (dict "name" $bg "ctx" . "target" "bg") }}
7
11
{{- end -}}
8
12
{{- $image := $.Scratch.Get "bg" -}}
9
13
< section id ="{{ $id }} "{{ with $class }} class ="{{ . }} "{{ end }} style ="{{ with $image }}background-image: url({{ .Permalink }}); {{ end }}{{ with $style }}{{ . | safeCSS }}{{ end }} ">
10
14
{{ $.Inner }}
11
15
</ section >
16
+ {{- end -}}
You can’t perform that action at this time.
0 commit comments