mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 00:42:03 +08:00

* add .TemplateData property to data in order to populate template <title> tags with the compiled subject value * update all templates * re-enable integration test and update implementation to check changes * chore: fmt * add HiddenSubject template func and update text templates * slight performance improvement, only execute subject template once * update template I missed --------- Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
Prerequisites
- npm install
- gem install premailer
Tasks
- npm run build (default task will build new inlines email templates)
- npm start (builds on source HTML, text, or CSS change)
Result
Assembled email templates will be in dist/
and final
inlined templates will be in ../public/emails/