got parser to work (mostly i think). it aint so pretty tho. ALSO BRO FUCKING CRLF
This commit is contained in:
parent
43779e110a
commit
cd07c310cb
7 changed files with 258 additions and 127 deletions
11
examples/data.html
Normal file
11
examples/data.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
Dear {{.Name}},
|
||||
{{if .Attended}}
|
||||
It was a pleasure to see you at the wedding.
|
||||
{{- else}}
|
||||
It is a shame you couldn't make it to the wedding.
|
||||
{{- end}}
|
||||
{{with .Gift -}}
|
||||
Thank you for the lovely {{.}}.
|
||||
{{end}}
|
||||
Best wishes,
|
||||
Josie
|
||||
Loading…
Add table
Add a link
Reference in a new issue