From 59cdc2aaecd306d0e4b523e2551a173418eef30f Mon Sep 17 00:00:00 2001 From: Arhell Date: Fri, 30 Oct 2020 02:07:55 +0200 Subject: [PATCH] add cncf-landscape shortcode for training page --- content/en/training/_index.html | 3 +-- layouts/shortcodes/cncf-landscape.html | 6 +++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/content/en/training/_index.html b/content/en/training/_index.html index 6dc509ff5bc..d7437a45de4 100644 --- a/content/en/training/_index.html +++ b/content/en/training/_index.html @@ -112,7 +112,6 @@ class: training
- - + {{< cncf-landscape helpers=false category="kubernetes-training-partner" >}}
diff --git a/layouts/shortcodes/cncf-landscape.html b/layouts/shortcodes/cncf-landscape.html index 5684dc05117..455f2b5658b 100644 --- a/layouts/shortcodes/cncf-landscape.html +++ b/layouts/shortcodes/cncf-landscape.html @@ -57,7 +57,11 @@ document.addEventListener("DOMContentLoaded", function () { {{- end -}}
- + {{ if ( .Get "category" ) }} + + {{ else }} + + {{ end }}
{{- end -}}