updated telegraf plugins to address PR feedback, now auto-generate plugin links

pull/657/head
Scott Anderson 2019-12-09 09:56:59 -07:00
parent 918f14281f
commit 0a98668828
2 changed files with 19 additions and 233 deletions

File diff suppressed because it is too large Load Diff

View File

@ -13,6 +13,8 @@
</p>
<p>{{ .description | markdownify | safeHTML }}</p>
</div>
<a class="btn github-link" href="{{ .link }}" target="_blank"><span class="icon-github"></span> <span class="hide">View</span></a>
<a class="btn github-link" href="{{ if .link }}{{ .link }}{{ else }}https://github.com/influxdata/telegraf/blob/release-{{ $telegrafVersion }}/plugins/{{ $type }}s/{{ .id }}/README.md{{ end }}" target="_blank">
<span class="icon-github"></span> <span class="hide">View</span>
</a>
</div>
{{ end }}