Fix issue with API folder on /latest (#649)

This commit is contained in:
Pete Lumbis 2023-12-04 15:52:35 -05:00 committed by GitHub
parent bae668a3ed
commit 641241ee57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
<div id="crd-rows-container">
{{/* Each level is a map with the key being the directory name */}}
{{/* $Site.Data.crds /$version/crds/yaml */}}
{{ range index $.Site.Data.crds (printf "v%s" .Page.Params.version) "api" "yaml" }}
{{ range index $.Site.Data.crds .Section "api" "yaml" }}
{{ $kind := .spec.names.kind }}
{{ $group := .spec.group }}