Include templates in other templates
You can now include templates in other templates with our new feature, template partials. This allows you to reuse specific templates, like email signatures or contact details, and speed up responses.
Template partials allow you to include one template within another. This means you can create reusable components and include them in multiple templates with ease. No more repetitive copy-pasting!
Using partials involves a special syntax that references other templates using their shortcuts. This is the same shortcut text you use to insert templates with the Tab
key.
For instance, you can create an email signature template and use it as a partial in many other templates. If you update the signature template, all the templates that include it as a partial will automatically update as well. This is how you’d include the signature
template in another template:
{{> signature}}
Template partials also come with advanced features, including:
- Custom Context: Pass custom variables and contexts to your partials.
- Dynamic Expressions: Use variables and helpers to dynamically generate partial names.
- Complex Layouts: Design intricate email and message layouts with ease.
This new feature is perfect for creating consistent and maintainable templates. Imagine setting up a standard email signature and using it across all your email templates. Change the signature once, and it updates everywhere.
For detailed documentation on how to make the most of template partials, visit the Briskine Help Center.
Thoughts or questions about this post? Need some help?
Get in touch at support@briskine.com