about summary refs log tree commit diff
path: root/nuxt.config.js
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-08-05 08:43:07 +0200
committerGitHub <noreply@github.com>2020-08-05 08:43:07 +0200
commitfb091ece62a2fb4189ec3661facab7bd8cf42c6e (patch)
treea8c4eb445d7d66cad935410bb59e3dfdcdd47527 /nuxt.config.js
parentdee8eca27b8fb50cd0997e036fa64eae840adbbb (diff)
parentfba3429ef6e41b250c23c9152c56c59eababadfd (diff)
downloadpuszcza-fb091ece62a2fb4189ec3661facab7bd8cf42c6e.tar.gz
puszcza-fb091ece62a2fb4189ec3661facab7bd8cf42c6e.zip
Merge branch 'master' into new-og-image
Diffstat (limited to 'nuxt.config.js')
-rw-r--r--nuxt.config.js14
1 files changed, 12 insertions, 2 deletions
diff --git a/nuxt.config.js b/nuxt.config.js
index 80e2ea3..27c210e 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_tree.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' },