email-template-rendering
Installation
SKILL.md
Email Template Rendering Fixes
Problem
Handlebars templates for email notifications fail to render correctly, showing raw variables, missing helpers, or escaped HTML.
Trigger Conditions
- Error:
Missing helper: "formatDate" - Variables showing as
{{variable}}in sent emails - Error:
The partial X could not be found - HTML appearing escaped (
<div>instead of<div>) - Working in
apps/notifications/directory
Solution
Issue 1: Missing Helpers
Register custom helpers before compiling templates: