yariplus/nodebb-plugin-newsletter

View on GitHub
public/templates/emails/newsletter.tpl

Summary

Maintainability
Test Coverage
{body}

<p>
    [[email:closing]]<br />
    <strong>{title}</strong>
</p>

<table role="presentation" cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 680px;">
  <tr>
    <td style="padding: 40px 10px;width: 100%;font-size: 12px; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol; line-height:18px; text-align: center; color: #888888;">
      <br><br>
<!-- IF override -->
        [[newsletter:unsub.override]]
<!-- ELSE -->
        [[newsletter:unsub.info]] <a href="{url}/uid/{uid}/settings">[[email:unsub.cta]]</a>.
        <br />[[email:notif.post.unsub.one-click]] <a href="{unsubUrl}">[[email:unsubscribe]]</a>.
<!-- ENDIF override -->
      <br><br>
    </td>
  </tr>
</table>