pidgin/nest

Merged in alanhoskins/nest/fix-plugin-search (pull request #82)

Fixed issue where search term wasn't found in info

Approved-by: Gary Kramlich
{{- 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 -}}