Ghost/ghost/email-service
Ronald Langeveld fb465e4704
Added hasFeature email template helper (#20271)
refs
https://ghost.slack.com/archives/C06TQR9SHSM/p1716816764653789?thread_ts=1716795330.737919&cid=C06TQR9SHSM MOM-158

- adds a new `hasFeature` helper for adding content behind a flag within
Email Templates.
- Usage: `{{#hasFeature 'flagname'}} <p>html behind flag</p>
{{/hasFeature}}`
- Added additional testing for testing the helpers
2024-05-29 11:43:46 +07:00
..
lib Added hasFeature email template helper (#20271) 2024-05-29 11:43:46 +07:00
test Added hasFeature email template helper (#20271) 2024-05-29 11:43:46 +07:00
.eslintrc.js
index.js
package.json Update TryGhost packages 2024-05-27 16:58:32 +02:00
README.md

Email Service

Manages how posts are sent via email

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests