diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-08-05 08:48:45 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-08-05 08:48:45 +0200 |
commit | 47703a3de7beb20d258aa5a569713a8f7c7bca9a (patch) | |
tree | bd4b125a635fd256cf4ac5f5f70e1d0f8155519a | |
parent | 3c269a66cb85b839e0213cfb6a69a8ebff23d91f (diff) | |
parent | fb091ece62a2fb4189ec3661facab7bd8cf42c6e (diff) | |
download | puszcza-47703a3de7beb20d258aa5a569713a8f7c7bca9a.tar.gz puszcza-47703a3de7beb20d258aa5a569713a8f7c7bca9a.zip |
Merge branch 'new-og-image' of github.com:19pdh/puszcza into new-og-image
-rw-r--r-- | nuxt.config.js | 14 |
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' }, |