From 2fdd492558b0d02b2f7e17263f4e88df32352d78 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Tue, 4 Aug 2020 22:34:06 +0200 Subject: Rename 'name' to 'propertry' --- nuxt.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nuxt.config.js') diff --git a/nuxt.config.js b/nuxt.config.js index 7c63f0c..012a8ec 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,7 +31,7 @@ export default { }, { hid: 'og:image', - name: 'og:image', + property: 'og:image', content: `${BASE_URL}/assets/og/default.jpg`, }, ], -- cgit 1.4.1 From 8f1a2fa503962ed61e192eb4c529d1b1a9136834 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Tue, 4 Aug 2020 22:39:49 +0200 Subject: Add og image size --- nuxt.config.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'nuxt.config.js') diff --git a/nuxt.config.js b/nuxt.config.js index 012a8ec..38bc72a 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -34,6 +34,16 @@ export default { 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' }, -- cgit 1.4.1