Files
remark42/docs/developers-guide/email-templates.md
T

14 lines
735 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
### Email templating
We use golang templates for email templating.
templates located in `backend/templates` and embeded into binary by statik
For getting access to files you can use package `templates` from `backend/app/templates`
Now we have following templates:
- `email_confirmation_login.html.tmpl` used for confirmation of login
- `email_confirmation_subscription.html.tmpl` used for confirmation of subscription
`email_reply.html.tmpl` used for sending replies to user comments (when user subscribed to it) and for noticing admins about new comments on a site
`email_unsubscribe.html.tmpl` used for notification about successful unsubscribe from replies
`error_response.html.tmpl` used for ...