landscape/templates
2023-05-03 07:04:00 -07:00
..
landscape email: update templates, add README 2023-05-03 07:04:00 -07:00
base.html email: update templates, add README 2023-05-03 07:04:00 -07:00
README.md email: update templates, add README 2023-05-03 07:04:00 -07:00

Email Templates

This directory contains the email templates used by %bark.

Workflow

  1. Copy the base.html template to a new file and name it with a distinctive slug. e.g., landscape-weekly-digest.html.
  2. Edit the template to your liking, including adding hooks that will be used by Mailchimp to inject content. The syntax is available here: https://mailchimp.com/developer/transactional/docs/templates-dynamic-content/
  3. Use an inline CSS tool to inline the CSS.
  1. Copy the resulting HTML into Mailchimp and save it as a template.
  2. Send a test email using the send-template thread. The template name should be the slug you used in step 1.