var path = require('path');
module.exports = function jekyllTemplate(answers) {
  return [
    '---',
    'layout: post',
    'date: ' + answers.date,
    'duration: ' + answers.duration,
    'categories: ' + answers.categories,
    'img: ' + path.normalize( answers.imagePath ),
    'link: ' + answers.link,
    '---',
    ''
  ];
}

var path = require('path');
module.exports = function jekyllTemplate(answers) {
  return [
    '---',
    'layout: post',
    'date: ' + answers.date,
    'duration: ' + answers.duration,
    'categories: ' + answers.categories,
    'img: ' + path.normalize('./assets/image/speakers/' + answers.imagePath ),
    'link: ' + answers.link,
    '---',
    ''
  ];
}

Fix image path on jekyll template
Fix image path on jekyll template
