Permalink
Browse files

feat(meta): ios launch icon title

  • Loading branch information...
pi0 committed Sep 21, 2017
1 parent 5bd9460 commit e94e011b292bb08287c2b664471de21a1b5f5f74
Showing with 6 additions and 0 deletions.
  1. +6 −0 modules/meta/index.js
@@ -65,6 +65,12 @@ module.exports = function nuxtMeta (_options) {
this.options.head.title = options.name
}
// IOS launch icon title
const title = options.name || this.options.head.title || false
if (title && !find(this.options.head.meta, 'name', 'apple-mobile-web-app-title')) {
this.options.head.meta.push({ name: 'apple-mobile-web-app-title', content: title })
}
// description meta
if (options.description && !find(this.options.head.meta, 'name', 'description')) {
this.options.head.meta.push({ hid: 'description', name: 'description', content: options.description })

0 comments on commit e94e011

Please sign in to comment.