Skip to content

Commit

Permalink
The Open Graph protocol
Browse files Browse the repository at this point in the history
Update config.mts
just a temporary scheme...
  • Loading branch information
lost0427 committed Aug 22, 2024
1 parent 0b83efa commit fb5a6ad
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ import { withMermaid } from "vitepress-plugin-mermaid";
export default withMermaid({
title: "NerChat!——开源IM",
description: "NerChat! 是一个部署在国内的即时聊天Matrix服务器。",
head: [
['meta', { property: 'og:title', content: 'NerChat!——开源IM' }],
['meta', { property: 'og:description', content: 'NerChat! 是一个部署在国内的即时聊天Matrix服务器。' }],
['meta', { property: 'og:image', content: 'http://www.neboer.site/nerchat/nerchat_logo.svg' }],
['meta', { property: 'og:url', content: 'https://www.neboer.site/nerchat/' }],
['meta', { property: 'og:type', content: 'website' }],
// more Open Graph tag...
],
lang: 'zh-CN',
markdown: {
config(md) {
Expand Down

0 comments on commit fb5a6ad

Please sign in to comment.