From 2be63ef237f576ae618ecb09853ebeb3aba8e31b Mon Sep 17 00:00:00 2001 From: Asaf Gartner Date: Wed, 13 Sep 2023 00:30:27 +0300 Subject: [PATCH] Cleared up template usage in the instructions. --- README.md | 4 ++-- main.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 96dc9e9..13a1e15 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,8 @@ Sends out newsletters 2. Create an email file * Name it whatever you want. - * The first line of the file will be used as the subject. - * The rest of the file will be used as the body. + * The first line of the file will be used as {{ subject }} in the postmark template. + * The rest of the file will be used as {{{ content_body }}}. * Newlines between the subject and body will be removed. 3. Do a test run diff --git a/main.go b/main.go index 66a16e7..5d8db16 100644 --- a/main.go +++ b/main.go @@ -339,8 +339,8 @@ func main() { 2. Create an email file * Name it whatever you want. - * The first line of the file will be used as the subject. - * The rest of the file will be used as the body. + * The first line of the file will be used as {{ subject }} in the postmark template. + * The rest of the file will be used as {{{ content_body }}}. * Newlines between the subject and body will be removed. 3. Do a test run