campaign
Advanced tools
Comparing version 4.1.6 to 4.1.7
@@ -14,3 +14,3 @@ { | ||
}, | ||
"version": "4.1.6", | ||
"version": "4.1.7", | ||
"licenses": "MIT", | ||
@@ -17,0 +17,0 @@ "keywords": [ |
@@ -162,2 +162,3 @@ ![campaign.png][9] | ||
"images": "<empty>", | ||
"attachments": "<empty>", | ||
"social": { | ||
@@ -198,2 +199,12 @@ "twitter": "<not provided>", | ||
### `attachments` | ||
A list of files you'd like to attach to your emails. | ||
```js | ||
[ | ||
{ name: 'invoice', file: path.join(__dirname, 'invoice.png') } | ||
] | ||
``` | ||
### `images` | ||
@@ -200,0 +211,0 @@ |
@@ -26,3 +26,4 @@ 'use strict'; | ||
linkedData: model.linkedData, | ||
unsubscribe: model.provider && model.provider.merge ? '{{{unsubscribe_html}}}' : '' | ||
unsubscribe: model.provider && model.provider.merge ? '{{{unsubscribe_html}}}' : '', | ||
pixel: model.pixel | ||
}; | ||
@@ -29,0 +30,0 @@ options.templateEngine.render(model.layout || options.layout, layoutModel, done); |
33727
306
460