We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9862a6 commit 18c79b7Copy full SHA for 18c79b7
layouts/shortcodes/telegraf/plugins.html
@@ -7,7 +7,7 @@
7
{{ range (index .Site.Data.telegraf_plugins $type ) }}
8
{{ $pluginTags := delimit .tags " " }}
9
{{ $osTags := delimit .os_support " " }}
10
- {{ $minorVer := replaceRE `\.[^.]*$` "" .introduced }}
+ {{ $minorVer := replaceRE `v([0-9]+\.[0-9]+)\.[0-9]+$` "$1" .introduced }}
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 }} ">
13
<div class="info">
0 commit comments