Skip to content

Commit 468c46c

Browse files
add favicon
1 parent 36901ad commit 468c46c

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.vitepress/config.mts

+10-1
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,17 @@ export default async () => {
1414
title: "Nvim Orgmode",
1515
description: "Documentation for Nvim Orgmode",
1616
srcDir: './docs_md',
17+
head: [
18+
['link', { rel: 'icon', href: '/favicon.ico' }],
19+
['meta', { name: 'og:title', content: 'Nvim Orgmode' }],
20+
['meta', { name: 'og:description', content: 'Documentation for Nvim Orgmode' }],
21+
['meta', { name: 'og:image', content: 'https://github.com/nvim-orgmode/orgmode/blob/master/assets/nvim-orgmode.svg' }],
22+
['meta', { name: 'og:url', content: 'https://nvim-orgmode.github.i' }],
23+
['meta', { name: 'twitter:title', content: 'Nvim Orgmode' }],
24+
['meta', { name: 'twitter:description', content: 'Documentation for Nvim Orgmode' }],
25+
['meta', { name: 'twitter:image', content: 'https://github.com/nvim-orgmode/orgmode/blob/master/assets/nvim-orgmode.svg' }],
26+
],
1727
themeConfig: {
18-
// https://vitepress.dev/reference/default-theme-config
1928
nav: [
2029
{ text: 'Home', link: '/' },
2130
],

public/favicon.ico

15 KB
Binary file not shown.

0 commit comments

Comments
 (0)