Skip to content

Commit

Permalink
Add some more OpenGraph metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
floscher committed May 22, 2023
1 parent fbb6c41 commit 2473ae6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/src/views/PostView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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}`,
});
Expand Down

0 comments on commit 2473ae6

Please sign in to comment.