pidgin/nest

a74b7c49795b
Merged in rw_grim/pidgin-nest (pull request #83)

A start to migrating the security stuff, it's mostly self explanatory but we'll need to document some of how this works
<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 }}