Skip to content

Commit 16d8b3c

Browse files
committed
fix favicon and add telegram link
1 parent 944c883 commit 16d8b3c

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.vitepress/config.mts

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,21 @@ export default defineConfig({
66
title: "LaraGram",
77
description: "An advanced framework for Telegram Bot development.",
88
srcDir: './src',
9+
head: [
10+
['link', { rel: 'icon', href: '/assets/favicon.ico' }]
11+
],
912

1013
themeConfig: {
1114
siteTitle: 'LaraGram',
1215
logo: '/assets/LaraGram.svg',
1316
outline: 'deep',
14-
15-
head: [
16-
['link', {rel: 'icon', href: '/assets/favicon.ico'}]
17-
],
18-
1917
search: {
2018
provider: 'local'
2119
},
22-
23-
// https://vitepress.dev/reference/default-theme-config
2420
nav: [
2521
{text: 'Home', link: '/'},
2622
{text: 'Document', link: '/installation'}
2723
],
28-
2924
sidebar: [
3025
{
3126
text: 'Prologue',
@@ -138,11 +133,10 @@ export default defineConfig({
138133
]
139134
},
140135
],
141-
142136
socialLinks: [
143-
{icon: 'github', link: 'https://github.com/laraXgram/LaraGram'}
137+
{icon: 'github', link: 'https://github.com/laraXgram/LaraGram'},
138+
{icon: 'telegram', link: 'https://t.me/LaraXGram'},
144139
],
145-
146140
footer: {
147141
message: 'Released under the MIT License.',
148142
copyright: 'Copyright © 2023-present LaraXGram'

0 commit comments

Comments
 (0)