mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
refs https://github.com/TryGhost/Ghost/issues/9311
- match card names to the new generic Koenig card names introduced in 95a068615d
10 lines
248 B
JavaScript
10 lines
248 B
JavaScript
module.exports = {
|
|
name: 'image',
|
|
type: 'dom',
|
|
render(opts) {
|
|
var img = opts.env.dom.createElement('img');
|
|
img.className = 'kg-card-image';
|
|
img.setAttribute('src', opts.payload.img);
|
|
return img;
|
|
}
|
|
};
|