Skip to content

Commit 454bd5a

Browse files
committed
social media previews
1 parent b7b8150 commit 454bd5a

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

docs/.vitepress/config.mts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,17 @@ import { transformerTwoslash } from '@shikijs/vitepress-twoslash'
66
export default defineConfig({
77
title: "Butter Enums",
88
description: "Type-safe specialized enums for TypeScript",
9-
base: '/butter-enums/',
109
head: [
11-
['link', { rel: 'icon', href: 'favicon.ico', type: 'image/x-icon' }]
10+
['link', { rel: 'icon', href: 'favicon.ico', type: 'image/x-icon' }],
11+
['meta', { property: 'og:image', content: 'https://butter-enums.hunterwilhelm.com/og.jpg' }],
12+
['meta', { property: 'og:type', content: 'website' }],
13+
['meta', { property: 'og:title', content: 'Butter Enums' }],
14+
['meta', { property: 'og:description', content: 'Type-safe specialized enums for TypeScript' }],
15+
['meta', { property: 'og:url', content: 'https://butter-enums.hunterwilhelm.com' }],
16+
['meta', { property: 'twitter:card', content: 'summary_large_image' }],
17+
['meta', { property: 'twitter:title', content: 'Butter Enums' }],
18+
['meta', { property: 'twitter:description', content: 'Type-safe specialized enums for TypeScript' }],
19+
['meta', { property: 'twitter:image', content: 'https://butter-enums.hunterwilhelm.com/og.jpg' }],
1220
],
1321
themeConfig: {
1422

docs/public/og.png

63.5 KB
Loading

0 commit comments

Comments
 (0)