{{- /* The plain-text counterpart of layout.html.tmpl. It defines the same helper names - p, lead, button, well, note, rows, chip - so a message's txt file reads as the same document as its html one, and a helper added on one side is obvious by its absence on the other. "subject" is defined here rather than in the HTML file: html/template would escape an ampersand in an instance name, and mail clients show subject lines verbatim. */ -}} {{- define "subject"}}Vantage{{end -}} {{- define "title"}}{{end -}} {{- define "pill"}}{{end -}} {{- define "body"}}{{end -}} {{- define "p"}}{{.}} {{end -}} {{- define "lead"}}{{.}} {{end -}} {{- define "button"}}{{.label}}: {{.url}} {{end -}} {{- define "well"}}{{.}} {{end -}} {{- define "note"}}{{.}} {{end -}} {{- define "rows"}}{{range .}}{{.k}}: {{.v}} {{end}} {{end -}} {{- define "chip"}}[{{upper .label}}] {{end -}} VANTAGE {{template "pill" .}} {{template "title" .}} {{template "body" .}} -- Sent by Vantage ยท infrastructure control plane