diff --git a/website/layouts/partials/data.html b/website/layouts/partials/data.html index 26f4232ce720f..41268850ad469 100644 --- a/website/layouts/partials/data.html +++ b/website/layouts/partials/data.html @@ -131,10 +131,18 @@ {{ partial "badge.html" (dict "word" $k "color" "gray") }} + {{ if $v.syntax }} {{ partial "badge.html" (dict "word" $v.syntax "color" "gray") }} + {{ end }} + {{ if eq $k "object" }} +
+ {{ template "config-object" (dict "name" $name "config" $v "level" 4) }} +
+ {{ end }} + {{ with $v.examples }} {{ template "config-array-examples" (dict "examples" .) }} {{ end }} @@ -1630,7 +1638,7 @@

{{ define "config-array-examples" }} {{ $json := .examples | jsonify (dict "indent" " ") }} -
+
Examples