ghost
Version:
The professional publishing platform
14 lines (9 loc) • 615 B
JavaScript
module.exports = function (data, t) {
// Be careful when you indent the email, because whitespaces are visible in emails!
return `${t('Hey there,')}
${t('Someone just replied to your comment on {postTitle}.', {postTitle: data.postTitle, interpolation: {escapeValue: false}})}
${data.postUrl}#ghost-comments
---
${t('This message was sent from {siteDomain} to {email}.', {email: data.toEmail, siteDomain: data.siteDomain, interpolation: {escapeValue: false}})}
${t('You can unsubscribe from these notifications at {profileUrl}.', {profileUrl: data.profileUrl, interpolation: {escapeValue: false}})}`;
};