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

6 lines
188 B
Cheetah

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