2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-24 00:20:34 +03:00

Merge pull request #274 from issaTan/master

fixed issue #52
This commit is contained in:
Sébastien Chopin
2018-11-26 14:23:12 +01:00
committed by GitHub
+1 -1
View File
@@ -100,7 +100,7 @@ export default function _getMetaInfo (options = {}) {
// replace title with populated template // replace title with populated template
if (info.titleTemplate) { 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 // convert base tag to an array so it can be handled the same way