// Webpack require:
var partial = require('./partial.html').default;
var universal = require('./universial.js');

// Export a function / promise / or a string:
// This function has to return a string or promised string:
module.exports = function (templateParams) {
  var html = '<html><head>' +
    '<title>' + templateParams.htmlWebpackPlugin.options.title + '</title>' +
    '</head><body>' + universal() + ' - ' + partial + '</body></html>';

  return html;
};
