layouts/partials/article/special-state.html
{{ $productPathData := split .RelPermalink "/" }} {{ $product := index $productPathData 1 }} {{ $version := index $productPathData 2 }} {{ $isInfluxDB3 := eq $product "influxdb3" }} {{ $isTelegrafController := and (eq $product "telegraf") (eq $version "controller") }} {{ .Store.Set "productKey" $product }} {{ if $isInfluxDB3 }} {{ .Store.Set "productKey" (print "influxdb3_" (replaceRE "-" "_" $version)) }} {{ else if $isTelegrafController }} {{ .Store.Set "productKey" "telegraf_controller" }} {{ end }} {{ $productKey := .Store.Get "productKey" }} {{ $productData := index $.Site.Data.products $productKey }} {{ $displayName := $productData.name }} {{ $productPathWhitelist := slice "telegraf/controller" }} {{ if in $productPathWhitelist (print $product "/" $version )}}
{{ $displayName }} is in private alpha. If you are interested in being a part of the private alpha program, please sign up:
While in alpha, {{ $displayName }} is not meant for production use. The {{ $displayName}} documentation is a work in progress, and we are actively working to improve it. If you have any questions or suggestions, please submit an issue. We welcome any and all contributions.
Join our public channels
{{ end }}