pidgin/nest

plugins: znc-helper: Update info text

2020-01-25, Konrad Gräfe
1776d9387f9a
plugins: znc-helper: Update info text
{{- if .IsNamedParams -}}
{{- $scheme := or (.Get "scheme") "https" -}}
{{- $repo := .Get "name" -}}
{{- if eq (.Get "link") "1" -}}<a href="{{print $scheme "://" (index .Site.Data.repos $repo) }}">{{- end -}}
{{- if eq (.Get "short") "1" -}}{{- .Get "name" -}}{{- else -}}{{- index .Site.Data.repos $repo -}}{{- end -}}
{{- if eq (.Get "link") "1" -}}</a>{{- end -}}
{{- else -}}
{{- index .Site.Data.repos (.Get 0) -}}
{{- end -}}