File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
layouts/shortcodes/telegraf Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 6
6
7
7
{{ range (index .Site.Data.telegraf_plugins $type ) }}
8
8
{{ $pluginTags := delimit .tags " " }}
9
+ {{ $osTags := delimit .os_support " " }}
9
10
{{ $minorVer := replaceRE `\.[^.]*$` "" .introduced }}
10
-
11
- < div class ="plugin-card filter-item visible{{ if eq $minorVer $latestTelegrafVersion }} new{{ end }} " id ="{{ .id }} " data-tags ="{{ $type }} {{ lower $pluginTags }} {{ if eq $minorVer $latestTelegrafVersion }}new{{ end }} {{ if .deprecated }}deprecated{{ end }} ">
11
+
12
+ < div class ="plugin-card filter-item visible{{ if eq $minorVer $latestTelegrafVersion }} new{{ end }} " id ="{{ .id }} " data-tags ="{{ $type }} {{ lower $pluginTags }} {{ lower $osTags }} {{ if eq $minorVer $latestTelegrafVersion }}new{{ end }} {{ if .deprecated }}deprecated{{ end }} ">
12
13
< div class ="info ">
13
14
< h3 id ="{{ $type }}-{{ .id }} "> {{ .name }}</ h3 >
14
15
{{ if in .tags "external"}}
You can’t perform that action at this time.
0 commit comments