File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,6 @@ <h2>Kubernetes Training Partners</h2>
112
112
</ center >
113
113
</ div >
114
114
< div class ="main-section landscape-section ">
115
- < iframe src ="https://landscape.cncf.io/category=kubernetes-training-partner&format=logo-mode&grouping=category&embed=yes " frameborder ="0 " id ="landscape " scrolling ="no "> </ iframe >
116
- < script src ="https://landscape.cncf.io/iframeResizer.js "> </ script >
115
+ {{< cncf-landscape helpers =false category ="kubernetes-training-partner " > }}
117
116
</ div >
118
117
</ div >
Original file line number Diff line number Diff line change 57
57
</ script >
58
58
{{- end -}}
59
59
< div id ="frameHolder ">
60
- < iframe frameborder ="0 " id ="landscape " scrolling ="no " src ="" style ="width: 1px; min-width: 100% " title ="CNCF Landscape "> </ iframe >
60
+ {{ if ( .Get "category" ) }}
61
+ < iframe frameborder ="0 " id ="landscape " scrolling ="no " src ="https://landscape.cncf.io/category={{ .Get "category " }}&format=logo-mode&grouping =category&embed=yes"> </ iframe >
62
+ {{ else }}
63
+ < iframe frameborder ="0 " id ="landscape " scrolling ="no " src ="https://landscape.cncf.io/format=logo-mode;embed=yes " style ="width: 1px; min-width: 100% " title ="CNCF Landscape "> </ iframe >
64
+ {{ end }}
61
65
< script src ="https://landscape.cncf.io/iframeResizer.js "> </ script >
62
66
</ div >
63
67
{{- end -}}
You can’t perform that action at this time.
0 commit comments