Closed pivotal-give-lively closed 8 years ago
PR's are always welcome, especially for documentation.
Hi, I'm same user as above--posted under the wrong account. I'm happy to make a PR. Just wanted to verify first that I'm not misunderstanding anything. Looks like @genaromadrid added this functionality... any thoughts?
Hey @danenania, i'm using the gem for inserting *|variable|*
into mandrill templates and it works like a charm. Maybe you can use it either with mc:edit
or *|variable|*
.
It seems like if you're using handlebars for dynamic content, then template_content
is not working, and you should use merge_vars
or global_merge_vars
The ability to use Mandrill templates is excellent, but the Readme example seems to be a bit off-- specifically this bit:
The template_content key is used by editable content areas, which insert content into tags with an associated mc:edit property, while
*|variable|*
syntax is for merge variables, which can be specified either with theglobal_merge_vars
key (for all recipients) or themerge_vars
key (per recipient).