pidgin/nest

c3b3dcf494c8
Add a bunch of shortcodes to make life easier.

These will need to be abstracted a bit to handle other stuff like libgnt,
gplugin, talkatu, etc, but this is way easier to deal with than it was.

Testing Done:
Ran locally and verified all of the Sourceforge links are working.

Reviewed at https://reviews.imfreedom.org/r/557/
{{- 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 -}}