Last active
June 16, 2022 21:12
-
-
Save joshatxantie/8a5e3a600392b8c3a9a1a4e5dc488d6e to your computer and use it in GitHub Desktop.
Handlebars Email template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Sample</title> | |
</head> | |
<body> | |
<h1>Sample email with variable injection, utilizing handlebars library</h1> | |
<p>Hello {{name}}</p> | |
<p>This is a list of your friends:</p> | |
{{#each source.logs}} | |
<p>{{this.name}}</p> | |
{{/each}} | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment