misc(v2): misc fixes

This commit is contained in:
Yangshun Tay 2019-03-04 22:39:07 -08:00
parent 95b0cb942f
commit d64581f2b4
9 changed files with 27 additions and 34 deletions

View file

@ -50,8 +50,7 @@ export default function render(locals) {
const cssFiles = assets.filter(value => value.match(/\.css$/));
const {baseUrl} = locals;
const html = `
<!DOCTYPE html>
return `<!DOCTYPE html>
<html${htmlAttributes ? ` ${htmlAttributes}` : ''}>
<head>
${metaHtml}
@ -75,6 +74,5 @@ export default function render(locals) {
</body>
</html>
`;
return html;
});
}