rushlink/assets/templates/txt/newRedirectPasteSuccess.txt.tmpl

6 lines
172 B
Cheetah

{{if .Request.PostForm.deleteToken -}}
{{.Request.Host}}/{{.Paste.Key}}?deleteToken={{.Paste.DeleteToken | urlquery}}
{{else -}}
{{.Request.Host}}/{{.Paste.Key}}
{{end -}}