{{ $tag := .File.BaseFileName }} {{ $type := .CurrentSection.Params.component_type }} {{ $docs := index (index site.Data.docs.components $type) $tag }} {{ $desc := .Description }} {{ $tags := slice }} {{ $tags = $tags | append $type }} {{ if $docs.input.logs }} {{ $tags = $tags | append "logs" }} {{ end }} {{ if $docs.input.metrics }} {{ $tags = $tags | append "metrics" }} {{ end }}
{{ .Title }} {{ .Params.kind }}
{{ with $desc }}

{{ . | markdownify | plainify }}

{{ end }}