/** * This will generate the html for Milestone 1 and Milestone 2 * @param {UserOptions} config - Configuration options * @returns {Promise} Customized HTML 5 Boiler template */ export async function generateHTML(config: UserOptions): Promise { const script = config.template.js ? ``: ''; const head = ` ${config.name} `; // prettier-ignore const extra = config.clean ? '' : `
Padwan tool

Thank you for using the Padwan tool to setup your ${config.name} Project

`; const html = `${head} ${extra} ${script} `; return html; }