about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-08-04 22:41:24 +0200
committerGitHub <noreply@github.com>2020-08-04 22:41:24 +0200
commitfba3429ef6e41b250c23c9152c56c59eababadfd (patch)
treed2f7421b6a3fd834485fabc06a889cc0644456e7
parent163947f81a92682ae4ea2f485af612880edfbce6 (diff)
parent8f1a2fa503962ed61e192eb4c529d1b1a9136834 (diff)
downloadpuszcza-fba3429ef6e41b250c23c9152c56c59eababadfd.tar.gz
puszcza-fba3429ef6e41b250c23c9152c56c59eababadfd.zip
Merge pull request #42 from 19pdh/property-patch
Rename 'name' to 'property'
-rw-r--r--nuxt.config.js14
1 files changed, 12 insertions, 2 deletions
diff --git a/nuxt.config.js b/nuxt.config.js
index 7c63f0c..38bc72a 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -22,7 +22,7 @@ export default {
       { name: 'robots', content: 'all' },
       {
         hid: 'description',
-        name: 'description',
+        property: 'description',
         content: process.env.npm_package_description || '',
       },
       {
@@ -31,9 +31,19 @@ export default {
       },
       {
         hid: 'og:image',
-        name: 'og:image',
+        property: 'og:image',
         content: `${BASE_URL}/assets/og/default.jpg`,
       },
+      {
+        hid: 'og:image:width',
+        property: 'og:image:width',
+        content: `1200`,
+      },
+      {
+        hid: 'og:image:height',
+        property: 'og:image:height',
+        content: `916`,
+      },
     ],
     link: [
       { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },