feat(v2): generate metadata via plugins (#1273)

This commit is contained in:
Yangshun Tay 2019-03-10 19:08:36 -07:00 committed by GitHub
parent cefee2dec1
commit 53a123cb55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 97 additions and 50 deletions

View file

@ -82,7 +82,7 @@ module.exports = async function start(siteDir, cliOptions = {}) {
{
inject: false,
hash: true,
template: path.resolve(__dirname, '../core/devTemplate.ejs'),
template: path.resolve(__dirname, '../core/index.html.template.ejs'),
filename: 'index.html',
title: siteConfig.title,
},