Skip to content

Commit

Permalink
chore: 更新封面图片链接
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin3go committed Jul 30, 2024
1 parent 1458990 commit f8f0353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/.vitepress/theme/utils/handleHeadMeta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export function handleHeadMeta(context: TransformContext) {
const { description, title, relativePath, frontmatter } = context.pageData;

const curDesc = description || context.description;
const cover = frontmatter.cover || 'https://justin3go.com/ava.jpg'
const cover = frontmatter.cover || 'https://justin3go.com/bg.jpg'
const cardType = frontmatter.cover ? 'summary_large_image' : 'summary'
// 增加Twitter卡片
const ogUrl: HeadConfig = ["meta", { property: "og:url", content: addBase(relativePath) }]
Expand Down

0 comments on commit f8f0353

Please sign in to comment.