og img
This commit is contained in:
parent
a125241c77
commit
30fcf3025e
3
app.vue
3
app.vue
|
@ -5,6 +5,7 @@ const apiBase = config.public.apiBase
|
|||
import { marked } from 'marked';
|
||||
|
||||
import k_logo from '@/assets/icons/logo.svg'
|
||||
import og_img from '/og_img.png'
|
||||
import '@/assets/main.scss'
|
||||
|
||||
const { data: seoData } = await useFetch<ApiKpType>(`${apiBase}/kp/1`)
|
||||
|
@ -13,7 +14,7 @@ useSeoMeta({
|
|||
ogTitle: seoData.value?.title,
|
||||
description: seoData.value?.content,
|
||||
ogDescription: seoData.value?.content,
|
||||
// ogImage: 'https://example.com/image.png',
|
||||
ogImage: og_img,
|
||||
// twitterCard: 'summary_large_image',
|
||||
})
|
||||
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 317 KiB |
Loading…
Reference in New Issue