From 2619734d9f213dbc40f6aac06bf6bbaa81a980e7 Mon Sep 17 00:00:00 2001 From: beerpiss Date: Mon, 22 Jan 2024 23:28:46 +0700 Subject: [PATCH] some discord embed meta tags --- website/.vitepress/config.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/website/.vitepress/config.ts b/website/.vitepress/config.ts index 1f3bdbf..0c867da 100644 --- a/website/.vitepress/config.ts +++ b/website/.vitepress/config.ts @@ -20,7 +20,13 @@ export default defineConfig({ description: "An unofficial repository of extensions for Tachiyomi and variants.", cleanUrls: true, transformHead: (context) => { - context.head.push(['meta', { name: 'robots', content: 'noindex, nofollow' }]); + context.head.push( + ['meta', { name: 'robots', content: 'noindex, nofollow' }], + ['meta', { property: 'og:title', content: 'Keiyoushi' }], + ['meta', { property: 'og:description', content: 'A repository of unofficial Tachiyomi extensions.' }], + ['meta', { property: 'og:image', content: '/android-chrome-192x192.png' }], + ['meta', { name: 'theme-color', content: '#2e84bf' }], + ); }, themeConfig: { // https://vitepress.dev/reference/default-theme-config