diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-11-01 12:58:35 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <> | 2020-11-01 12:58:35 +0100 |
commit | ba3e58c04e918723233dcc66996399eeeff24007 (patch) | |
tree | ece716b5ff12e77ee2eaf0163912ebe49077f0e0 /src/main/resources/templates/NewsletterSender | |
parent | 8ae23a7fa6202377f957919d763c618859cb0d74 (diff) |
KB68 Implement newsletter sending.
Change-Id: I1d56e40d7f35d6be77fde1a1e8519a91bd2dc3b8
Diffstat (limited to 'src/main/resources/templates/NewsletterSender')
-rw-r--r-- | src/main/resources/templates/NewsletterSender/newsletter.txt | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/main/resources/templates/NewsletterSender/newsletter.txt b/src/main/resources/templates/NewsletterSender/newsletter.txt new file mode 100644 index 0000000..1c4228f --- /dev/null +++ b/src/main/resources/templates/NewsletterSender/newsletter.txt @@ -0,0 +1,38 @@ +{@int newsletterNumber} +{@java.time.LocalDate date} +{@java.util.List<eu.mulk.mulkcms2.benki.bookmarks.Bookmark> bookmarks} +{@java.util.List<eu.mulk.mulkcms2.benki.lazychat.LazychatMessage> lazychatMessages} +{@java.lang.String unsubscribeUri} +New Blog Posts +============== + +{#for post in lazychatMessages} +* {post.date.humanDate} <https://matthias.benkard.de/posts/{post.id}> +{post.text.content} + + +{/for} + + +New Bookmarks +============= + +{#for post in bookmarks} +* {post.date.humanDate} <https://matthias.benkard.de/posts/{post.id}> +* {post.title} +* <{post.uri}> + +{post.text.description} + + +{/for} + + + +Your Subscription +================= + +You are receiving this email because you are subscribed to the MulkCMS +newsletter. To unsubscribe, send an email to: + + <mulkcms+unsubscribe@benkard.de> |