@nuxtjs/meta
Advanced tools
Comparing version 1.2.1 to 1.3.0
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="1.3.0"></a> | ||
# [1.3.0](https://github.com/nuxt/modules/compare/@nuxtjs/meta@1.2.1...@nuxtjs/meta@1.3.0) (2017-07-20) | ||
### Features | ||
* **icon:** applefavicon option (#76) ([280b416](https://github.com/nuxt/modules/commit/280b416)) | ||
<a name="1.2.0"></a> | ||
@@ -8,0 +19,0 @@ # [1.2.0](https://github.com/nuxt/modules/compare/@nuxtjs/meta@1.1.0...@nuxtjs/meta@1.2.0) (2017-06-06) |
@@ -48,2 +48,3 @@ const path = require('path') | ||
options.favicon = options.icons && options.icons.length > 0 && options.icons[0].src | ||
options.applefavicon = options.icons && options.icons.length > 0 && options.icons[3].src | ||
} | ||
@@ -56,3 +57,3 @@ if (options.favicon) { | ||
if (!find(this.options.head.link, 'rel', 'apple-touch-icon')) { | ||
this.options.head.link.push({ rel: 'apple-touch-icon', href: options.favicon }) | ||
this.options.head.link.push({ rel: 'apple-touch-icon', href: options.applefavicon }) | ||
} | ||
@@ -59,0 +60,0 @@ } |
{ | ||
"name": "@nuxtjs/meta", | ||
"version": "1.2.1", | ||
"version": "1.3.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
7463
88