diff --git a/src/shared/getMetaInfo.js b/src/shared/getMetaInfo.js index da6405c6..0c1b7415 100644 --- a/src/shared/getMetaInfo.js +++ b/src/shared/getMetaInfo.js @@ -100,7 +100,7 @@ export default function _getMetaInfo (options = {}) { // replace title with populated template if (info.titleTemplate) { - info.title = applyTemplate(component)(info.titleTemplate)(info.titleChunk) + info.title = applyTemplate(component)(info.titleTemplate)(info.titleChunk || '') } // convert base tag to an array so it can be handled the same way