Profile layout
The HTML frame that wraps every email of a profile.
Every profile has a layout: the HTML around the content of its templates, for example your logo at the top and a footer at the bottom. All templates of the profile use it.
Edit the layout
1. Open Profiles, click the cog on the profile card and choose Update template.
2. Edit the HTML on the left. The preview on the right updates as you type.
3. Click SUBMIT.

Where the template goes
The layout must contain this line where the template content goes:
{{ value | raw }}raw inserts the HTML of the template as it is. If you leave this line out, the emails contain only the layout.
Helpers for all templates
A <script> block at the end of the layout can define helpers, small functions that format values. The default layout defines amount:
<script>
// Custom helpers
Thelpers.amount = function(val) {
return val.format(2) + ' €';
};
</script>Every template of the profile can use them, for example {{ value.total | amount }} prints 120.00 €. See Template markup.
Good to know
Email programs support only part of HTML and CSS. Tables and inline style attributes, as in the default layout, give the most reliable result.