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/
<ul>
{{ range .Params.replaces }}
<li>
<a href="https://{{- template "url-thing" . -}}" rel="nofollow">
{{ template "url-thing" . }}
</a>
</li>
{{ end }}
</ul>
{{ define "url-thing" }}
{{- if (hasPrefix . "pidgin.im") -}}
old.{{.}}
{{- else if (hasPrefix . "developer.pidgin.im") -}}
{{ . }}
{{- else -}}
{{ . }}
{{- end -}}
{{ end }}