Skip to content

Commit

Permalink
docs: Add og:image
Browse files Browse the repository at this point in the history
  • Loading branch information
Pylogmon committed Nov 5, 2023
1 parent 4700d64 commit 75a409f
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions vitepress/.vitepress/config/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export const enConfig = {
description: META_DESCRIPTION,
head: [
['meta', { property: 'og:url', content: META_URL }],
['meta', { property: 'og:image', content: '/screenshots/dark_en.png' }],
['meta', { property: 'og:description', content: META_DESCRIPTION }],
['meta', { property: 'twitter:url', content: META_URL }],
['meta', { property: 'twitter:title', content: META_TITLE }],
Expand Down
1 change: 1 addition & 0 deletions vitepress/.vitepress/config/zh.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export const zhConfig = {
description: META_DESCRIPTION,
head: [
['meta', { property: 'og:url', content: META_URL }],
['meta', { property: 'og:image', content: '/screenshots/dark_zh.png' }],
['meta', { property: 'og:description', content: META_DESCRIPTION }],
['meta', { property: 'twitter:url', content: META_URL }],
['meta', { property: 'twitter:title', content: META_TITLE }],
Expand Down
Binary file removed vitepress/public/img/1.png
Binary file not shown.
Binary file removed vitepress/public/img/2.png
Binary file not shown.
Binary file removed vitepress/public/img/3.png
Binary file not shown.
Binary file removed vitepress/public/img/donate.png
Binary file not shown.

0 comments on commit 75a409f

Please sign in to comment.