Permalink
Browse files

fix: don't override title when titleTemplate is provided (#48)

  • Loading branch information...
ciscorn authored and pi0 committed Apr 2, 2018
1 parent 24d25bb commit 8c3f319a0ca3983535c88feff2c444d544d3dd45
Showing with 1 addition and 1 deletion.
  1. +1 −1 packages/meta/index.js
@@ -99,7 +99,7 @@ function generateMeta (_options) {
}
// Title
if (options.name && !this.options.head.title) {
if (options.name && !this.options.head.title && typeof(this.options.head.titleTemplate) !== 'function') {
this.options.head.title = options.name
}

0 comments on commit 8c3f319

Please sign in to comment.