From 2473ae6821727f5003762069a95cc187bc6b4790 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Sch=C3=A4fer?= Date: Mon, 22 May 2023 14:40:59 +0200 Subject: [PATCH] Add some more OpenGraph metadata --- client/src/views/PostView.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/src/views/PostView.vue b/client/src/views/PostView.vue index 79319a3..3518992 100644 --- a/client/src/views/PostView.vue +++ b/client/src/views/PostView.vue @@ -113,6 +113,10 @@ onMounted(async () => { const id = route.params.id; useSeoMeta({ ogImage: `${window.location.protocol}//${window.location.hostname}/api/posts/${route.params.id}/og-image`, + ogImageAlt: "Ein anschauliches Bild für den Blogpost", + ogImageWidth: 1280, + ogImageHeight: 640, + ogSiteName: "fuBlog", ogType: "article", ogUrl: `${window.location.protocol}//${window.location.hostname}/posts/post/${route.params.id}`, });